GAE/Self building
Self building is a method of letting a building construct itself, once its foundations are laid, without the need for a worker-style unit to repair or build.
Contents
XML
<skill>
<type value="build_self"/>
<name value="build_self_skill" />
<ep-cost value="0"/>
<speed value="300"/>
<anim-speed value="300"/>
<animation path="models/defense_tower_construction.g3d"/>
<sound enabled="false"/>
</skill>
<command>
<type value="build-self"/>
<name value="build_self" tip="under_construction"/>
<[[#display|display]] value="false"/>
<image path="images/none.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<build-self-skill value="build_self_skill"/>
</command>Elements
Build self skills and commands work largely like the regular be-built skill and generic commands. However, note the type elements as well as the difference between the type value attributes ("build_self" in the skill, "build-self" in the command).
display
Whether or not to display an button to perform this self building. If false, it will be done automatically, but always last priority (bottom of the queue).