Added state persistence to commands. For commands that want to, their state will be saved for the next command to access through the self.caller.ndb.last_cmd variable. The state only persists one command before it is cleared or replaced.
This commit is contained in:
parent
a6f3e1f47f
commit
6e53e6a1fd
4 changed files with 14 additions and 3 deletions
|
|
@ -614,7 +614,7 @@ class CmdOOCLook(CmdLook):
|
|||
key = "look"
|
||||
aliases = ["l", "ls"]
|
||||
locks = "cmd:all()"
|
||||
help_cateogory = "General"
|
||||
help_category = "General"
|
||||
|
||||
def func(self):
|
||||
"implement the ooc look command"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue