mirror of
https://github.com/evennia/evennia.git
synced 2026-04-04 15:07:16 +02:00
Run Migrate. Implemented @search functionality with limits as per MUX (as part of the @find command). Added some more channel-related commands and changed locks for channels to have a "control" lock type rather than "admin". The migration converts this in existing channels..
This commit is contained in:
parent
23462c626c
commit
7f7016ad7d
16 changed files with 324 additions and 515 deletions
|
|
@ -49,6 +49,7 @@ def debug_script(script_path, obj=None, auto_delete=True):
|
|||
try: scriptobj.delete()
|
||||
except: pass
|
||||
return string
|
||||
|
||||
string += "\nRunning syntax check ..."
|
||||
try:
|
||||
string += "\nTesting syntax of at_script_creation(self) ... "
|
||||
|
|
|
|||
|
|
@ -210,7 +210,7 @@ def dbref(dbref):
|
|||
(database reference number) are either a string '#N' or
|
||||
an integer N. Output is the integer part.
|
||||
"""
|
||||
if type(dbref) == str:
|
||||
if isinstance(dbref, basestring):
|
||||
dbref = dbref.lstrip('#')
|
||||
try:
|
||||
dbref = int(dbref)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue