Skip to content

BuildingAI

XML Elements

The following elements can be used within this component:

BuildingAI

DefaultArrowCount

Type: non-negative integer (e.g. 0 or 5)

Path: BuildingAI/DefaultArrowCount

MaxArrowCount

Limit the number of arrows to a certain amount

Type: non-negative integer (e.g. 0 or 5)

Path: BuildingAI/MaxArrowCount

GarrisonArrowMultiplier

Type: non-negative decimal

Path: BuildingAI/GarrisonArrowMultiplier

GarrisonArrowClasses

Add extra arrows for this class list

Type: text

Path: BuildingAI/GarrisonArrowClasses

RELAX NG Grammar

<define name="component.BuildingAI">
  <element name="BuildingAI">
    <interleave>
      <element name="DefaultArrowCount">
        <data type="nonNegativeInteger"/>
      </element>
      <optional>
        <element name="MaxArrowCount">
          <data type="nonNegativeInteger"/>
        </element>
      </optional>
      <element name="GarrisonArrowMultiplier">
        <ref name="nonNegativeDecimal"/>
      </element>
      <element name="GarrisonArrowClasses"/>
    </interleave>
  </element>
</define>