1 <?xml version="1.0" standalone="no"?>
5 <!-- *** parameters *** -->
10 <max-hp value="600" regeneration="1"/>
13 <armor-type value="leather"/>
16 <multi-selection value="true"/>
17 <cellmap value="false"/>
23 <light enabled="false"/>
25 <upgrade-requirements/>
26 <resource-requirements>
27 <resource name="gold" amount="75"/>
28 <resource name="food" amount="1"/>
29 </resource-requirements>
31 <image path="images/worker.bmp"/>
32 <image-cancel path="../archer/images/tech_cancel.bmp"/>
33 <meeting-point value="false"/>
34 <selection-sounds enabled="true">
35 <sound path="$COMMONDATAPATH/sounds/worker_select1.wav"/>
36 <sound path="$COMMONDATAPATH/sounds/worker_select2.wav"/>
37 <sound path="$COMMONDATAPATH/sounds/worker_select3.wav"/>
38 <sound path="$COMMONDATAPATH/sounds/worker_select4.wav"/>
40 <command-sounds enabled="true">
41 <sound path="$COMMONDATAPATH/sounds/worker_ack1.wav"/>
42 <sound path="$COMMONDATAPATH/sounds/worker_ack2.wav"/>
43 <sound path="$COMMONDATAPATH/sounds/worker_ack3.wav"/>
44 <sound path="$COMMONDATAPATH/sounds/worker_ack4.wav"/>
45 <sound path="$COMMONDATAPATH/sounds/worker_ack5.wav"/>
46 <sound path="$COMMONDATAPATH/sounds/worker_ack6.wav"/>
47 <sound path="$COMMONDATAPATH/sounds/worker_ack7.wav"/>
51 <!-- *** skills *** -->
57 <name value="stop_skill"/>
60 <anim-speed value="55"/>
61 <animation path="models/worker_standing.g3d"/>
62 <sound enabled="false"/>
67 <name value="stop_loaded_skill"/>
70 <anim-speed value="70"/>
71 <animation path="models/worker_standing_loaded.g3d"/>
72 <sound enabled="false"/>
77 <name value="stop_loaded_wood_skill"/>
80 <anim-speed value="70"/>
81 <animation path="models/worker_standing_loaded_wood.g3d"/>
82 <sound enabled="false"/>
87 <name value="move_skill"/>
90 <anim-speed value="130"/>
91 <animation path="models/worker_walking.g3d"/>
92 <sound enabled="false"/>
97 <name value="move_wood_skill"/>
100 <anim-speed value="130"/>
101 <animation path="models/worker_walking_wood.g3d"/>
102 <sound enabled="false"/>
107 <name value="move_gold_skill"/>
110 <anim-speed value="130"/>
111 <animation path="models/worker_walking_gold.g3d"/>
112 <sound enabled="false"/>
117 <name value="move_loaded_skill"/>
120 <anim-speed value="100"/>
121 <animation path="models/worker_walking_loaded.g3d"/>
122 <sound enabled="false"/>
127 <name value="move_loaded_wood_skill"/>
130 <anim-speed value="100"/>
131 <animation path="models/worker_walking_loaded_wood.g3d"/>
132 <sound enabled="false"/>
136 <type value="build"/>
137 <name value="build_skill"/>
140 <anim-speed value="100"/>
141 <animation path="models/worker_building.g3d"/>
142 <sound enabled="true" start-time="0.5">
143 <sound-file path="$COMMONDATAPATH/sounds/worker_build1.wav"/>
144 <sound-file path="$COMMONDATAPATH/sounds/worker_build2.wav"/>
145 <sound-file path="$COMMONDATAPATH/sounds/worker_build3.wav"/>
150 <type value="harvest"/>
151 <name value="mine_skill"/>
154 <anim-speed value="90"/>
155 <animation path="models/worker_mining.g3d"/>
156 <sound enabled="true" start-time="0.5">
157 <sound-file path="$COMMONDATAPATH/sounds/worker_mine1.wav"/>
158 <sound-file path="$COMMONDATAPATH/sounds/worker_mine2.wav"/>
159 <sound-file path="$COMMONDATAPATH/sounds/worker_mine3.wav"/>
160 <sound-file path="$COMMONDATAPATH/sounds/worker_mine4.wav"/>
161 <sound-file path="$COMMONDATAPATH/sounds/worker_mine5.wav"/>
162 <sound-file path="$COMMONDATAPATH/sounds/worker_mine6.wav"/>
167 <type value="harvest"/>
168 <name value="harvest_wood_skill"/>
171 <anim-speed value="90"/>
172 <animation path="models/worker_harversting_wood.g3d"/>
173 <sound enabled="true" start-time="0.5">
174 <sound-file path="$COMMONDATAPATH/sounds/worker_harvest_wood1.wav"/>
175 <sound-file path="$COMMONDATAPATH/sounds/worker_harvest_wood2.wav"/>
176 <sound-file path="$COMMONDATAPATH/sounds/worker_harvest_wood3.wav"/>
181 <type value="repair"/>
182 <name value="repair_skill"/>
185 <anim-speed value="100"/>
186 <animation path="models/worker_building.g3d"/>
187 <sound enabled="true" start-time="0.5">
188 <sound-file path="$COMMONDATAPATH/sounds/worker_build1.wav"/>
189 <sound-file path="$COMMONDATAPATH/sounds/worker_build2.wav"/>
190 <sound-file path="$COMMONDATAPATH/sounds/worker_build3.wav"/>
196 <name value="die_skill"/>
199 <anim-speed value="90"/>
200 <animation path="models/worker_dying.g3d"/>
201 <sound enabled="true" start-time="0">
202 <sound-file path="$COMMONDATAPATH/sounds/worker_die1.wav"/>
203 <sound-file path="$COMMONDATAPATH/sounds/worker_die2.wav"/>
204 <sound-file path="$COMMONDATAPATH/sounds/worker_die3.wav"/>
206 <fade value="false"/>
211 <!-- *** commands *** -->
216 <type value= "stop"/>
218 <image path="../archer/images/tech_stop.bmp"/>
220 <upgrade-requirements/>
221 <stop-skill value="stop_skill"/>
225 <type value= "move"/>
227 <image path="../archer/images/tech_move.bmp"/>
229 <upgrade-requirements/>
230 <move-skill value="move_skill"/>
234 <type value= "build"/>
235 <name value="build"/>
236 <image path="images/worker_build.bmp"/>
238 <upgrade-requirements/>
239 <move-skill value="move_skill"/>
240 <build-skill value="build_skill"/>
242 <building name="farm"/>
243 <building name="barracks"/>
244 <building name="blacksmith"/>
245 <building name="technodrome"/>
246 <building name="defense_tower"/>
247 <building name="castle"/>
249 <start-sound enabled="false"/>
250 <built-sound enabled="true">
251 <sound-file path="$COMMONDATAPATH/sounds/worker_work_end1.wav"/>
252 <sound-file path="$COMMONDATAPATH/sounds/worker_work_end2.wav"/>
253 <sound-file path="$COMMONDATAPATH/sounds/worker_work_end3.wav"/>
258 <type value="harvest"/>
260 <image path="images/worker_mine.bmp"/>
262 <upgrade-requirements/>
263 <move-skill value="move_gold_skill"/>
264 <harvest-skill value="mine_skill"/>
265 <stop-loaded-skill value="stop_loaded_skill"/>
266 <move-loaded-skill value="move_loaded_skill"/>
267 <harvested-resources>
268 <resource name="gold"/>
269 <resource name="stone"/>
270 </harvested-resources>
271 <max-load value="25"/>
272 <hits-per-unit value="1"/>
276 <type value="harvest"/>
277 <name value="harvest_wood"/>
278 <image path="images/worker_harvest_wood.bmp"/>
280 <upgrade-requirements/>
281 <move-skill value="move_wood_skill"/>
282 <harvest-skill value="harvest_wood_skill"/>
283 <stop-loaded-skill value="stop_loaded_wood_skill"/>
284 <move-loaded-skill value="move_loaded_wood_skill"/>
285 <harvested-resources>
286 <resource name="wood"/>
287 </harvested-resources>
288 <max-load value="20"/>
289 <hits-per-unit value="1"/>
293 <type value="repair"/>
294 <name value="repair"/>
295 <image path="images/worker_repair.bmp"/>
297 <upgrade-requirements/>
298 <move-skill value="move_skill"/>
299 <repair-skill value="repair_skill"/>
302 <unit name="barracks"/>
303 <unit name="blacksmith"/>
304 <unit name="defense_tower"/>
305 <unit name="technodrome"/>
306 <unit name="castle"/>
307 <unit name="aerodrome"/>