X-Git-Url: https://plomlompom.com/repos//%22https:/validator.w3.org/check?a=blobdiff_plain;f=plomrogue%2Fthings.py;h=98a5995cf5d46824d5f9fee9ebb2ff1a50cc1510;hb=2ce340a97606c970eb1d6dd8cccee7a2d12c6c05;hp=ecddc8767483dd8599b43a373de5392127fc260e;hpb=6cc83951670f2022bd22cbf0728ebb4c25479c4d;p=plomrogue2 diff --git a/plomrogue/things.py b/plomrogue/things.py index ecddc87..98a5995 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) @@ -105,4 +107,4 @@ class Thing_Player(ThingAnimate): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) - self.nickname = 'undefined' + self.carrying = None