spellbook: Add another alias to SkipMiniGolfHole
This commit is contained in:
parent
83c8ee19b7
commit
a36f07d111
1 changed files with 1 additions and 7 deletions
|
@ -176,7 +176,6 @@ class MagicWord(DirectObject):
|
||||||
def handleWord(self, invoker, avId, toon, *args):
|
def handleWord(self, invoker, avId, toon, *args):
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
|
|
||||||
class SetHP(MagicWord):
|
class SetHP(MagicWord):
|
||||||
aliases = ["hp", "setlaff", "laff"]
|
aliases = ["hp", "setlaff", "laff"]
|
||||||
desc = "Sets the target's current laff."
|
desc = "Sets the target's current laff."
|
||||||
|
@ -200,7 +199,6 @@ class SetHP(MagicWord):
|
||||||
toon.b_setHp(hp)
|
toon.b_setHp(hp)
|
||||||
return "{}'s laff has been set to {}.".format(toon.getName(), hp)
|
return "{}'s laff has been set to {}.".format(toon.getName(), hp)
|
||||||
|
|
||||||
|
|
||||||
class SetMaxHP(MagicWord):
|
class SetMaxHP(MagicWord):
|
||||||
aliases = ["maxhp", "setmaxlaff", "maxlaff"]
|
aliases = ["maxhp", "setmaxlaff", "maxlaff"]
|
||||||
desc = "Sets the target's max laff."
|
desc = "Sets the target's max laff."
|
||||||
|
@ -219,7 +217,6 @@ class SetMaxHP(MagicWord):
|
||||||
toon.toonUp(maxhp)
|
toon.toonUp(maxhp)
|
||||||
return "{}'s max laff has been set to {}.".format(toon.getName(), maxhp)
|
return "{}'s max laff has been set to {}.".format(toon.getName(), maxhp)
|
||||||
|
|
||||||
|
|
||||||
class ToggleOobe(MagicWord):
|
class ToggleOobe(MagicWord):
|
||||||
aliases = ["oobe"]
|
aliases = ["oobe"]
|
||||||
desc = "Toggles the out of body experience mode, which lets you move the camera freely."
|
desc = "Toggles the out of body experience mode, which lets you move the camera freely."
|
||||||
|
@ -232,7 +229,6 @@ class ToggleOobe(MagicWord):
|
||||||
base.oobe()
|
base.oobe()
|
||||||
return "Oobe mode has been toggled."
|
return "Oobe mode has been toggled."
|
||||||
|
|
||||||
|
|
||||||
class ToggleRun(MagicWord):
|
class ToggleRun(MagicWord):
|
||||||
aliases = ["run"]
|
aliases = ["run"]
|
||||||
desc = "Toggles run mode, which gives you a faster running speed."
|
desc = "Toggles run mode, which gives you a faster running speed."
|
||||||
|
@ -308,8 +304,6 @@ class Inventory(MagicWord):
|
||||||
toon.d_setInventory(toon.inventory.makeNetString())
|
toon.d_setInventory(toon.inventory.makeNetString())
|
||||||
return ("Zeroing inventory for " + toon.getName() + ".")
|
return ("Zeroing inventory for " + toon.getName() + ".")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class SetPinkSlips(MagicWord):
|
class SetPinkSlips(MagicWord):
|
||||||
# this command gives the target toon the specified amount of pink slips
|
# this command gives the target toon the specified amount of pink slips
|
||||||
# default is 255
|
# default is 255
|
||||||
|
@ -333,7 +327,7 @@ class AbortMinigame(MagicWord):
|
||||||
return "Requested minigame abort."
|
return "Requested minigame abort."
|
||||||
|
|
||||||
class SkipMiniGolfHole(MagicWord):
|
class SkipMiniGolfHole(MagicWord):
|
||||||
aliases = ["skipgolfhole", "skiphole"]
|
aliases = ["skipgolfhole", "skipgolf", "skiphole"]
|
||||||
desc = "Skips the current golf hole."
|
desc = "Skips the current golf hole."
|
||||||
execLocation = MagicWordConfig.EXEC_LOC_SERVER
|
execLocation = MagicWordConfig.EXEC_LOC_SERVER
|
||||||
arguments = []
|
arguments = []
|
||||||
|
|
Loading…
Reference in a new issue