home · contact · privacy
Make sign design sizes variable.
[plomrogue2] / plomrogue / game.py
index c560993e40b5da675b9b6d73f3fea82014b525ba..415c3e8002e7178d374c38efdf9c1bec843fc582 100755 (executable)
@@ -557,6 +557,9 @@ class Game(GameBase):
                 if hasattr(t, 'installable') and (not t.portable):
                     write(f, 'THING_INSTALLED %s' % t.id_)
                 if hasattr(t, 'design'):
+                    if t.type_ != 'Hat':
+                        write(f, 'GOD_THING_DESIGN_SIZE %s %s' % (t.id_,
+                                                                  t.design_size))
                     write(f, 'GOD_THING_DESIGN %s %s' % (t.id_, quote(t.design)))
                 if t.type_ == 'Door' and t.blocks_movement:
                     write(f, 'THING_DOOR_CLOSED %s %s' % (t.id_, int(t.locked)))