1.1.1 - Some minor fixes
This commit is contained in:
parent
e37d63e207
commit
b59be9396d
@ -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
4
mfile
@ -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"
|
||||
}
|
@ -8,5 +8,10 @@
|
||||
"name": "showHelp",
|
||||
"isActive": "yes",
|
||||
"regex": "^fighthelp$"
|
||||
},
|
||||
{
|
||||
"name": "fightReset",
|
||||
"isActive": "yes",
|
||||
"regex": "^fightreset$"
|
||||
}
|
||||
]
|
2
src/aliases/Fighter/fightReset.lua
Normal file
2
src/aliases/Fighter/fightReset.lua
Normal file
@ -0,0 +1,2 @@
|
||||
cecho("\n<firebrick>COMBAT NOTICE: Hot Reloading the Fighter Engine.")
|
||||
fighter.Setup()
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user