Compare commits
No commits in common. "legacy" and "1.1" have entirely different histories.
@ -8,7 +8,7 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
GITEATKN:
|
GITEATKN:
|
||||||
from_secret: GITEA_TOKEN
|
from_secret: GITEA_TOKEN
|
||||||
VERSION: 1.1.1
|
VERSION: 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.\nFind us at https://git.vertinext.com/roryejinn/Fighter",
|
"description": "A simple, modular, alias based pvp engine written in Lua for Achaea.",
|
||||||
"version": "1.1.1"
|
"version": "1.1"
|
||||||
}
|
}
|
@ -8,10 +8,5 @@
|
|||||||
"name": "showHelp",
|
"name": "showHelp",
|
||||||
"isActive": "yes",
|
"isActive": "yes",
|
||||||
"regex": "^fighthelp$"
|
"regex": "^fighthelp$"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "fightReset",
|
|
||||||
"isActive": "yes",
|
|
||||||
"regex": "^fightreset$"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
@ -1,2 +0,0 @@
|
|||||||
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,21 +112,16 @@ function fighter.generateHelp()
|
|||||||
width = 50,
|
width = 50,
|
||||||
textColor = "<DarkSlateGrey>"
|
textColor = "<DarkSlateGrey>"
|
||||||
})
|
})
|
||||||
--fight
|
--pvp
|
||||||
helpTable:addRow({
|
helpTable:addRow({
|
||||||
"fight",
|
"fight",
|
||||||
"Generate your next pvp action."
|
"Generate your next pvp action."
|
||||||
})
|
})
|
||||||
--fighthelp
|
--pvpnt
|
||||||
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