mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 03:57:17 +02:00
Merge pull request #7 from evennia/master
Some minor changes before merging
This commit is contained in:
commit
ff20072bea
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
|
||||
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:
|
||||
self.caller.msg("The maximum roll allowed is %sd%s." % (ndicelimit, nsidelimit))
|
||||
return
|
||||
|
|
|
|||
|
|
@ -362,4 +362,4 @@ class CmdUnloggedinLook(Command):
|
|||
menu = MenuTree(self.caller, nodes=(START, node1a, node1b,
|
||||
node2a, node2b, node3),
|
||||
exec_end=None)
|
||||
menu.start()
|
||||
menu.start()
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ FORMCHAR = "x"
|
|||
TABLECHAR = "c"
|
||||
|
||||
FORM = """
|
||||
{c.------------------------------------------------.
|
||||
.------------------------------------------------.
|
||||
| |
|
||||
| Name: xxxxx1xxxxx Player: xxxxxxx2xxxxxxx |
|
||||
| xxxxxxxxxxx |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue