propack/factions/egypt/units/farm/farm.xml

125 lines
3.4 KiB
XML

<?xml version="1.0" standalone="no" ?>
<unit>
<parameters>
<size value="4" />
<height value="2" />
<max-hp value="3000" regeneration="0"/>
<max-ep value="0" />
<armor value="0" />
<armor-type value="wood"/>
<sight value="5" />
<time value="50" />
<multi-selection value="true"/>
<uniform-selection value="true"/>
<max-unit-count value="5"/>
<cellmap value="true">
<row value="0111" />
<row value="0111" />
<row value="0111" />
<row value="0011" />
</cellmap>
<levels/>
<fields>
<field value="land" />
</fields>
<properties>
<property value="burnable"/>
</properties>
<light enabled="false" />
<unit-requirements>
<unit name="pyramid" />
</unit-requirements>
<upgrade-requirements />
<resource-requirements>
<resource name="gold" amount="100"/>
<resource name="wood" amount="150"/>
<resource name="stone" amount="50"/>
<resource name="food" amount="-10"/>
</resource-requirements>
<resources-stored>
<resource name="food" amount="20"/>
</resources-stored>
<image path="images/farm.bmp"/>
<image-cancel path="../spearman/images/tech_cancel.bmp"/>
<meeting-point value="true" image-path="../desert_camp/images/meeting_point.bmp"/>
<selection-sounds enabled="true">
<sound path="$COMMONDATAPATH/sounds/tech_click.wav"/>
</selection-sounds>
<command-sounds enabled="true">
<sound path="$COMMONDATAPATH/sounds/tech_click.wav"/>
</command-sounds>
</parameters>
<skills>
<skill>
<type value="be_built" />
<name value="be_built_skill"/>
<ep-cost value="0" />
<speed value="120"/>
<speed value="120"/>
<anim-speed value="50" />
<animation path="models/chickenfarm_contruction.g3d" />
<sound enabled="false" />
</skill>
<skill>
<type value="stop" />
<name value="stop_skill"/>
<ep-cost value="0" />
<speed value="300" />
<anim-speed value="50" />
<animation path="models/chickenfarm.g3d" />
<sound enabled="false" />
</skill>
<skill>
<type value="produce" />
<name value="produce_skill"/>
<ep-cost value="0" />
<speed value="300" />
<anim-speed value="50" />
<animation path="models/chickenfarm.g3d" />
<sound enabled="false" />
</skill>
<skill>
<type value="produce" />
<name value="produce_fast_skill"/>
<ep-cost value="0" />
<speed value="400" />
<!-- faster production, because chicken is giving less food -->
<anim-speed value="50" />
<animation path="models/chickenfarm.g3d" />
<sound enabled="false" />
</skill>
<skill>
<type value="die" />
<name value="die_skill"/>
<ep-cost value="0" />
<speed value="300" />
<anim-speed value="300" />
<animation path="../pyramid/destruction_models/farm_destruction.g3d" />
<sound enabled="true" start-time="0">
<sound-file path="$COMMONDATAPATH/sounds/tech_building_fall3.wav"/>
</sound>
<fade value="false"/>
</skill>
<skill>
<type value="upgrade"/>
<name value="upgrade_skill"/>
<ep-cost value="0"/>
<speed value="300"/>
<anim-speed value="300"/>
<animation path="models/chickenfarm.g3d"/>
<sound enabled="false"/>
</skill>
</skills>
<commands>
<command>
<type value="produce"/>
<name value="produce_chicken" />
<image path="../chicken/images/chicken.bmp" />
<unit-requirements />
<upgrade-requirements />
<produce-skill value="produce_fast_skill"/>
<produced-unit name="chicken"/>
</command>
</commands>
</unit>