Moved the object's 'description' into an attribute, as suggested in the code. This means that get_description() and set_description() should no longer be used; instead use set_attribute('desc',value) and get_attribute('desc') as you would any attribute. 'desc' is used by the default look command, but apart from that, desc has no special status anymore.
/Griatch
This commit is contained in:
parent
e7d7284d5c
commit
05554e290a
7 changed files with 45 additions and 49 deletions
|
|
@ -35,7 +35,6 @@ from src.statetable import GLOBAL_STATE_TABLE
|
|||
#the name of our state, to make sure it's the same everywhere
|
||||
STATENAME = 'menu'
|
||||
|
||||
|
||||
#
|
||||
# 'entry' command
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue