{
  "format": "hellarena.project/1",
  "name": "Side Tower",
  "description": "A side-view map: three screens, a talker, a save room, stairs, a diving flyer and a boss room.",
  "license": "hellarena-credito",
  "assets": [
    {
      "kind": "creature",
      "key": "ghoul",
      "name": "Hungry Ghoul",
      "draft": {
        "v": 1,
        "name": "Hungry Ghoul",
        "family": "oco",
        "look": "oco",
        "level": 6,
        "rank": "normal",
        "role": "balanced",
        "temper": "faminto",
        "abilities": [],
        "powers": []
      }
    },
    {
      "kind": "creature",
      "key": "vulture",
      "name": "Tower Vulture",
      "draft": {
        "v": 1,
        "name": "Tower Vulture",
        "family": "urubu",
        "look": "beast_vulture",
        "level": 6,
        "rank": "normal",
        "role": "swift",
        "temper": "faminto",
        "abilities": [
          "dive"
        ],
        "powers": []
      }
    },
    {
      "kind": "creature",
      "key": "knight",
      "name": "Hall Knight",
      "draft": {
        "v": 1,
        "name": "Hall Knight",
        "family": "desertor_cavaleiro",
        "look": "desertor_cavaleiro",
        "level": 9,
        "rank": "elite",
        "role": "tank",
        "temper": "guerreiro",
        "abilities": [
          "heavy",
          "shield_up"
        ],
        "powers": []
      }
    },
    {
      "kind": "map",
      "key": "tower",
      "name": "Side Tower",
      "draft": {
        "v": 1,
        "name": "Side Tower",
        "view": "side",
        "camera": {
          "height": 11
        },
        "bg": "salao",
        "legend": {
          "g": {
            "creature": "creature:ghoul@1.0.0"
          },
          "v": {
            "creature": "creature:vulture@1.0.0",
            "fly": "dive"
          },
          "p": {
            "grantMove": "phase",
            "name": "Mist Veil"
          },
          "x": {
            "barrier": "phase"
          },
          "f": {
            "companion": {
              "name": "Wisp",
              "look": "mist_spirit",
              "role": "fighter"
            }
          },
          "b": {
            "creature": "creature:knight@1.0.0",
            "scale": 2,
            "boss": true
          },
          "c": {
            "breakable": "candle"
          },
          "k": {
            "checkpoint": true
          },
          "t": {
            "talk": {
              "name": "Old Keeper",
              "look": "coveiro",
              "lines": [
                "The tower is not empty.",
                "Rest by the light on the floor: you will wake there if you fall."
              ]
            }
          }
        },
        "screens": [
          {
            "id": "entrance",
            "name": "Entrance",
            "theme": "masmorra",
            "rows": [
              "################################",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#.....c...............c........#",
              "#...............................",
              "#...............................",
              "#..@.....k....t.................",
              "################################",
              "################################"
            ],
            "intro": {
              "name": "Old Keeper",
              "look": "coveiro",
              "lines": [
                "You came. Walk right, and mind the stairs."
              ]
            }
          },
          {
            "id": "hall",
            "name": "Hall",
            "theme": "masmorra",
            "rows": [
              "################################",
              "#..............................#",
              "#.....................v........#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#.....................p.f......#",
              "#................./######......#",
              "#................/.............#",
              "................/...............",
              ".............../................",
              "........g...../.................",
              "################################",
              "################################"
            ]
          },
          {
            "id": "throne",
            "name": "Throne",
            "theme": "construcao",
            "rows": [
              "################################",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "#..............................#",
              "..x............................#",
              "..x............................#",
              "..x.................b..........#",
              "################################",
              "################################"
            ],
            "mechanics": {
              "lock": "clear"
            },
            "bg": "torre"
          }
        ],
        "rules": {
          "rules": [
            {
              "id": "throne_in",
              "on": {
                "kind": "enterScreen",
                "arg": "throne"
              },
              "once": true,
              "do": [
                {
                  "kind": "showText",
                  "text": "The doors seal behind you."
                }
              ]
            },
            {
              "id": "throne_won",
              "on": {
                "kind": "screenCleared",
                "arg": "throne"
              },
              "once": true,
              "do": [
                {
                  "kind": "endSession",
                  "result": "win",
                  "text": "The tower is yours."
                }
              ]
            }
          ]
        }
      }
    }
  ]
}
