X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/git-logo.png?a=blobdiff_plain;ds=sidebyside;f=plomrogue%2Fgame.py;h=5e206b9c8c289155a59aa7700dd9306ea4e05e79;hb=4d2cf315344ec4a376ffb3f49f02674e4b5facb6;hp=0fc486796232a1e5c95f102847e5ea59147eb2ba;hpb=ed297e4e19f8a83872d6345b86321e10aec019d4;p=plomrogue2 diff --git a/plomrogue/game.py b/plomrogue/game.py index 0fc4867..5e206b9 100755 --- a/plomrogue/game.py +++ b/plomrogue/game.py @@ -403,6 +403,9 @@ class Game(GameBase): write(f, 'THING_INSTALLED %s' % t.id_) if t.type_ == 'Door' and t.blocking: write(f, 'THING_DOOR_CLOSED %s' % t.id_) + elif t.type_ == 'Hat': + write(f, 'THING_HAT_DESIGN %s %s' % (t.id_, + quote(t.design))) elif t.type_ == 'MusicPlayer': write(f, 'THING_MUSICPLAYER_SETTINGS %s %s %s %s' % (t.id_, int(t.playing), t.playlist_index, int(t.repeat)))