X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;ds=sidebyside;f=plomrogue%2Fthings.py;h=b6fe5e15e5e919483962b87f63fdfa4a99a380e5;hb=7abc6dcdbe60dce9b8efad07917fb274da06687a;hp=ecddc8767483dd8599b43a373de5392127fc260e;hpb=6cc83951670f2022bd22cbf0728ebb4c25479c4d;p=plomrogue2 diff --git a/plomrogue/things.py b/plomrogue/things.py index ecddc87..b6fe5e1 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) @@ -39,6 +40,7 @@ class Thing_Stone(Thing): class ThingAnimate(Thing): + blocking = True def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -106,3 +108,4 @@ class Thing_Player(ThingAnimate): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.nickname = 'undefined' + self.carrying = None