diff nagslang/game_object.py @ 319:01e98732de46

Open bulkheads are no longer opaque to furniture
author Stefano Rivera <stefano@rivera.za.net>
date Fri, 06 Sep 2013 02:01:30 +0200
parents 26d1978fa1da
children 5030ef2718ae
line wrap: on
line diff
--- a/nagslang/game_object.py	Fri Sep 06 01:48:59 2013 +0200
+++ b/nagslang/game_object.py	Fri Sep 06 02:01:30 2013 +0200
@@ -162,6 +162,9 @@
         """
         return True
 
+    def collide_with_furniture(self, furniture):
+        return True
+
     @classmethod
     def requires(cls):
         """Hints for the level editor"""
@@ -309,6 +312,8 @@
             return False
         return True
 
+    collide_with_furniture = collide_with_protagonist
+
     @classmethod
     def requires(cls):
         return [("name", "string"), ("end1", "coordinates"),