Compare commits

..

1 Commits
1.1 ... legacy

Author SHA1 Message Date
b59be9396d
1.1.1 - Some minor fixes
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
ci/woodpecker/release/woodpecker Pipeline was successful
2024-10-20 15:47:24 -04:00
5 changed files with 19 additions and 7 deletions

View File

@ -8,7 +8,7 @@ steps:
environment: environment:
GITEATKN: GITEATKN:
from_secret: GITEA_TOKEN from_secret: GITEA_TOKEN
VERSION: 1.1 VERSION: 1.1.1
commands: commands:
- apk add tea - apk add tea
- java -jar /muddle/muddle.jar - java -jar /muddle/muddle.jar

4
mfile
View File

@ -1,5 +1,5 @@
{ {
"package": "Fighter", "package": "Fighter",
"description": "A simple, modular, alias based pvp engine written in Lua for Achaea.", "description": "A simple, modular, alias based pvp engine written in Lua for Achaea.\nFind us at https://git.vertinext.com/roryejinn/Fighter",
"version": "1.1" "version": "1.1.1"
} }

View File

@ -8,5 +8,10 @@
"name": "showHelp", "name": "showHelp",
"isActive": "yes", "isActive": "yes",
"regex": "^fighthelp$" "regex": "^fighthelp$"
},
{
"name": "fightReset",
"isActive": "yes",
"regex": "^fightreset$"
} }
] ]

View File

@ -0,0 +1,2 @@
cecho("\n<firebrick>COMBAT NOTICE: Hot Reloading the Fighter Engine.")
fighter.Setup()

View File

@ -65,13 +65,13 @@ end
registerAnonymousEventHandler("sysLoadEvent", "fighter.Setup") registerAnonymousEventHandler("sysLoadEvent", "fighter.Setup")
function fighter.verifyInstall(_, name) function fighter.verifyInstall(_, name)
if name ~= "fighter" then return end if name ~= "Fighter" then return end
fighter.Setup() fighter.Setup()
end end
registerAnonymousEventHandler("sysInstall", "fighter.verifyInstall") registerAnonymousEventHandler("sysInstall", "fighter.verifyInstall")
function fighter.verifyUninstall(_, name) function fighter.verifyUninstall(_, name)
if name ~= "fighter" then return end if name ~= "Fighter" then return end
fighter = nil fighter = nil
alchemist = nil alchemist = nil
psion = nil psion = nil
@ -112,16 +112,21 @@ function fighter.generateHelp()
width = 50, width = 50,
textColor = "<DarkSlateGrey>" textColor = "<DarkSlateGrey>"
}) })
--pvp --fight
helpTable:addRow({ helpTable:addRow({
"fight", "fight",
"Generate your next pvp action." "Generate your next pvp action."
}) })
--pvpnt --fighthelp
helpTable:addRow({ helpTable:addRow({
"<LightSlateBlue>fighthelp", "<LightSlateBlue>fighthelp",
"<LightSlateGrey>Display this menu." "<LightSlateGrey>Display this menu."
}) })
--fightreset
helpTable:addRow({
"fightreset",
"Reload the Fighter Engine to pickup changes."
})
cecho(headerFormat:format("Fighter Help Docs")) cecho(headerFormat:format("Fighter Help Docs"))
cecho(helpTable:assemble()) cecho(helpTable:assemble())