X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=plomrogue%2Fthings.py;fp=plomrogue%2Fthings.py;h=ad87ebd90c52bd65c3b44615b89a971e1144d00c;hb=2df42b53c56bd32dc445df532b4c42c53d97b767;hp=3a72ca31728dfd72ebeb8e6cd8b23510db34615c;hpb=8aad5c25535b1570ff7a59c170cfec677b9f74c7;p=plomrogue2 diff --git a/plomrogue/things.py b/plomrogue/things.py index 3a72ca3..ad87ebd 100644 --- a/plomrogue/things.py +++ b/plomrogue/things.py @@ -29,6 +29,7 @@ class Thing(ThingBase): cookable = False carried = False consumable = False + sittable = False 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