Added another error message to initial_setup.py.
This commit is contained in:
parent
aee147102b
commit
ef84d3790b
1 changed files with 5 additions and 1 deletions
|
|
@ -57,7 +57,11 @@ def create_objects():
|
||||||
user=god_user,
|
user=god_user,
|
||||||
create_character=True,
|
create_character=True,
|
||||||
character_typeclass=character_typeclass)
|
character_typeclass=character_typeclass)
|
||||||
|
|
||||||
|
if not god_character:
|
||||||
|
print _("#1 could not be created. Check the Player/Character typeclass for bugs.")
|
||||||
|
raise Exception
|
||||||
|
|
||||||
god_character.id = 1
|
god_character.id = 1
|
||||||
god_character.db.desc = _('This is User #1.')
|
god_character.db.desc = _('This is User #1.')
|
||||||
god_character.locks.add("examine:perm(Immortals);edit:false();delete:false();boot:false();msg:all();puppet:false()")
|
god_character.locks.add("examine:perm(Immortals);edit:false();delete:false();boot:false();msg:all();puppet:false()")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue