mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 03:57:17 +02:00
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
|
|
@ -1,7 +1,7 @@
|
|||
"""
|
||||
CmdSethandler
|
||||
|
||||
The Cmdhandler tracks an object's 'Current CmdSet', which is the
|
||||
The Cmdsethandler tracks an object's 'Current CmdSet', which is the
|
||||
current merged sum of all CmdSets added to it.
|
||||
|
||||
A CmdSet constitues a set of commands. The CmdSet works as a special
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue