X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=plomrogue%2Fthings.py;h=0a06601e8a3836a77cd05602ff010467c2560e92;hb=63170d5dd0c58026021d5fb747c596bead34417d;hp=ecddc8767483dd8599b43a373de5392127fc260e;hpb=6cc83951670f2022bd22cbf0728ebb4c25479c4d;p=plomrogue2 diff --git a/plomrogue/things.py b/plomrogue/things.py index ecddc87..0a06601 100644 --- a/plomrogue/things.py +++ b/plomrogue/things.py @@ -17,6 +17,7 @@ class ThingBase: class Thing(ThingBase): + blocking = False def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -34,11 +35,18 @@ class Thing(ThingBase): -class Thing_Stone(Thing): - symbol_hint = 'o' +class Thing_Item(Thing): + symbol_hint = 'i' + + + +class Thing_Furniture(Thing): + symbol_hint = 'h' + class ThingAnimate(Thing): + blocking = True def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -105,4 +113,4 @@ class Thing_Player(ThingAnimate): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) - self.nickname = 'undefined' + self.carrying = None