home · contact · privacy
Fix bug sending THING_CARRYING to clients who don't know about the carrying Thing...
[plomrogue2] / plomrogue / things.py
index 895f5ce98938515e84670aa89b05694b01c6fbac..d348e8400df1239d0105995f1193689dd132cd09 100644 (file)
@@ -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):