X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/balance?a=blobdiff_plain;f=plomrogue%2Fthings.py;h=d348e8400df1239d0105995f1193689dd132cd09;hb=875642f0ff9420b94f6399b05bb849b12118f6e2;hp=895f5ce98938515e84670aa89b05694b01c6fbac;hpb=ba9a4a402779b49f3b960f937ca73565a4854e8d;p=plomrogue2 diff --git a/plomrogue/things.py b/plomrogue/things.py index 895f5ce..d348e84 100644 --- a/plomrogue/things.py +++ b/plomrogue/things.py @@ -128,17 +128,22 @@ class Thing_Door(Thing): symbol_hint = 'D' blocking = False portable = True + installable = True def open(self): self.blocking = False - self.portable = True del self.thing_char def close(self): self.blocking = True - self.portable = False self.thing_char = '#' + def install(self): + self.portable = False + + def uninstall(self): + self.portable = True + class Thing_Bottle(Thing):