Some minor changes before merging
This commit is contained in:
parent
45ebc2c1ad
commit
985055d64d
3 changed files with 3 additions and 3 deletions
|
|
@ -150,7 +150,7 @@ class CmdDice(default_cmds.MuxCommand):
|
||||||
|
|
||||||
# Limit the number of dice and sides a character can roll to prevent server slow down and crashes
|
# Limit the number of dice and sides a character can roll to prevent server slow down and crashes
|
||||||
ndicelimit = 10000 # Maximum number of dice
|
ndicelimit = 10000 # Maximum number of dice
|
||||||
nsidelimit = 100000000000 # Maximum number of sides
|
nsidelimit = 10000 # Maximum number of sides
|
||||||
if int(parts[0]) > ndicelimit or int(parts[2]) > nsidelimit:
|
if int(parts[0]) > ndicelimit or int(parts[2]) > nsidelimit:
|
||||||
self.caller.msg("The maximum roll allowed is %sd%s." % (ndicelimit, nsidelimit))
|
self.caller.msg("The maximum roll allowed is %sd%s." % (ndicelimit, nsidelimit))
|
||||||
return
|
return
|
||||||
|
|
|
||||||
|
|
@ -362,4 +362,4 @@ class CmdUnloggedinLook(Command):
|
||||||
menu = MenuTree(self.caller, nodes=(START, node1a, node1b,
|
menu = MenuTree(self.caller, nodes=(START, node1a, node1b,
|
||||||
node2a, node2b, node3),
|
node2a, node2b, node3),
|
||||||
exec_end=None)
|
exec_end=None)
|
||||||
menu.start()
|
menu.start()
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ FORMCHAR = "x"
|
||||||
TABLECHAR = "c"
|
TABLECHAR = "c"
|
||||||
|
|
||||||
FORM = """
|
FORM = """
|
||||||
{c.------------------------------------------------.
|
.------------------------------------------------.
|
||||||
| |
|
| |
|
||||||
| Name: xxxxx1xxxxx Player: xxxxxxx2xxxxxxx |
|
| Name: xxxxx1xxxxx Player: xxxxxxx2xxxxxxx |
|
||||||
| xxxxxxxxxxx |
|
| xxxxxxxxxxx |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue