home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add chairs.
[plomrogue2]
/
plomrogue
/
things.py
diff --git
a/plomrogue/things.py
b/plomrogue/things.py
index 3a72ca31728dfd72ebeb8e6cd8b23510db34615c..ad87ebd90c52bd65c3b44615b89a971e1144d00c 100644
(file)
--- a/
plomrogue/things.py
+++ b/
plomrogue/things.py
@@
-29,6
+29,7
@@
class Thing(ThingBase):
cookable = False
carried = False
consumable = False
cookable = False
carried = False
consumable = False
+ sittable = False
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
@@
-482,6
+483,19
@@
class Thing_StimulantSpawner(ThingSpawner):
+class Thing_Chair(Thing):
+ symbol_hint = 'h'
+ portable = True
+ sittable = True
+
+
+
+class Thing_ChairSpawner(ThingSpawner):
+ symbol_hint = 'e'
+ child_type = 'Chair'
+
+
+
class Thing_Cookie(Thing):
symbol_hint = 'c'
portable = True
class Thing_Cookie(Thing):
symbol_hint = 'c'
portable = True