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:
GITEATKN:
from_secret: GITEA_TOKEN
VERSION: 1.1
VERSION: 1.1.1
commands:
- apk add tea
- java -jar /muddle/muddle.jar

4
mfile
View File

@ -1,5 +1,5 @@
{
"package": "Fighter",
"description": "A simple, modular, alias based pvp engine written in Lua for Achaea.",
"version": "1.1"
"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.1"
}

View File

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