home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make fullness/emptiness of bottles visible via .thing_char.
[plomrogue2]
/
plomrogue
/
things.py
diff --git
a/plomrogue/things.py
b/plomrogue/things.py
index 30cd2bfe104fdd2a36836b87a401f6d33cc555f2..1c99737c039390938804d467d8e9a490e2dc2a67 100644
(file)
--- a/
plomrogue/things.py
+++ b/
plomrogue/things.py
@@
-145,6
+145,11
@@
class Thing_Bottle(Thing):
symbol_hint = 'B'
portable = True
full = True
+ thing_char = '~'
+
+ def empty(self):
+ self.thing_char = '_'
+ self.full = False