Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
b59be9396d |
@ -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
4
mfile
@ -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"
|
||||||
}
|
}
|
@ -8,5 +8,10 @@
|
|||||||
"name": "showHelp",
|
"name": "showHelp",
|
||||||
"isActive": "yes",
|
"isActive": "yes",
|
||||||
"regex": "^fighthelp$"
|
"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")
|
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())
|
||||||
|
Loading…
Reference in New Issue
Block a user