<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive_wall">
  <Auras datatype="tokens">
    structures/wall_garrisoned
  </Auras>
  <Cost>
    <BuildTime>36</BuildTime>
    <Resources>
      <stone>36</stone>
    </Resources>
  </Cost>
  <Health>
    <Max>3000</Max>
    <SpawnEntityOnDeath>decay|rubble/rubble_stone_wall_long</SpawnEntityOnDeath>
  </Health>
  <Identity>
    <Tooltip>Can be converted into a Gate.</Tooltip>
    <Classes datatype="tokens">WallLong</Classes>
  </Identity>
  <Loot>
    <stone>7</stone>
  </Loot>
  <Upgrade>
    <Gate>
      <Entity>structures/{civ}/wall_gate</Entity>
      <Tooltip>Allow units access through Walls. Can be locked to prevent access.</Tooltip>
      <Cost>
        <wood>20</wood>
      </Cost>
      <Time>12</Time>
      <Variant>upgrading</Variant>
    </Gate>
  </Upgrade>
  <VisualActor>
    <FoundationActor>structures/fndn_9x3_wall.xml</FoundationActor>
  </VisualActor>
  <WallPiece>
    <Length>36</Length>
  </WallPiece>
</Entity>
