Bump minimum cmake
[megaglest-data.git] / techs / megapack / factions / romans / units / slave / slave.xml
blobaf492e3a2b528bc5ac385d6ff24ef330c7ad5de9
1 <?xml version="1.0" standalone="no"?>
3 <unit>
5         <!-- *** parameters *** -->
7         <parameters>
8                 <size value="1"/>
9                 <height value="2"/>
10                 <max-hp value="650" regeneration="1"/>
11                 <max-ep value="0"/>
12                 <armor value="0"/>
13                 <armor-type value="leather"/>
14                 <sight value="9"/>
15                 <time value="40"/>
16                 <multi-selection value="true"/>
17                 <cellmap value="false"/>
18                 <levels/>
19                 <fields>
20                         <field value="land"/>
21                 </fields>
22                 <properties/>
23                 <light enabled="false"/>
24                 <unit-requirements/>
25                 <upgrade-requirements/>
26                 <resource-requirements>
27                         <resource name="gold" amount="75"/>
28                         <resource name="food" amount="1"/>
29                 </resource-requirements>
30                 <resources-stored/>
31                 <image path="images/worker.jpg"/>
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"/>
39                 </selection-sounds>
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"/>
48                 </command-sounds>
49         </parameters>
51         <!-- *** skills *** -->
53         <skills>
55                 <skill>
56                         <type value="stop"/>
57                         <name value="stop_skill"/>
58                         <ep-cost value="0"/>
59                         <speed value="1000"/>
60                         <anim-speed value="55"/>
61                         <animation path="models/worker_standing.g3d"/>
62                         <animation path="models/worker_head.g3d"/>
63                         <animation path="models/worker_standing.g3d"/>
64                         <animation path="models/worker_look.g3d"/>
65                         <animation path="models/worker_standing.g3d"/>
66                         <animation path="models/worker_look.g3d"/>
67                         <animation path="models/worker_standing.g3d"/>
68                         <sound enabled="false"/>
69                 </skill>
71                 <skill>
72                         <type value="stop"/>
73                         <name value="stop_loaded_skill"/>
74                         <ep-cost value="0"/>
75                         <speed value="75"/>
76                         <anim-speed value="70"/>
77                         <animation path="models/worker_standing_loaded.g3d"/>
78                         <sound enabled="false"/>
79                 </skill>
81                 <skill>
82                         <type value="stop"/>
83                         <name value="stop_loaded_wood_skill"/>
84                         <ep-cost value="0"/>
85                         <speed value="75"/>
86                         <anim-speed value="70"/>
87                         <animation path="models/worker_standing_loaded_wood.g3d"/>
88                         <sound enabled="false"/>
89                 </skill>
91                 <skill>
92                         <type value="move"/>
93                         <name value="move_skill"/>
94                         <ep-cost value="0"/>
95                         <speed value="190"/>
96                         <anim-speed value="130"/>
97                         <animation path="models/worker_walking.g3d"/>
98                         <sound enabled="false"/>
99                 </skill>
101                 <skill>
102                         <type value="move"/>
103                         <name value="move_wood_skill"/>
104                         <ep-cost value="0"/>
105                         <speed value="210"/>
106                         <anim-speed value="130"/>
107                         <animation path="models/worker_walking_wood.g3d"/>
108                         <sound enabled="false"/>
109                 </skill>
111                 <skill>
112                         <type value="move"/>
113                         <name value="move_gold_skill"/>
114                         <ep-cost value="0"/>
115                         <speed value="210"/>
116                         <anim-speed value="130"/>
117                         <animation path="models/worker_walking_gold.g3d"/>
118                         <sound enabled="false"/>
119                 </skill>
121                 <skill>
122                         <type value="move"/>
123                         <name value="move_loaded_skill"/>
124                         <ep-cost value="0"/>
125                         <speed value="180"/>
126                         <anim-speed value="90"/>
127                         <animation path="models/worker_walking_loaded.g3d"/>
128                         <sound enabled="false"/>
129                 </skill>
131                 <skill>
132                         <type value="move"/>
133                         <name value="move_loaded_wood_skill"/>
134                         <ep-cost value="0"/>
135                         <speed value="180"/>
136                         <anim-speed value="90"/>
137                         <animation path="models/worker_walking_loaded_wood.g3d"/>
138                         <sound enabled="false"/>
139                 </skill>
141                 <skill>
142                         <type value="build"/>
143                         <name value="build_skill"/>
144                         <ep-cost value="0"/>
145                         <speed value="120"/>
146                         <anim-speed value="100"/>
147                         <animation path="models/worker_building.g3d"/>
148                         <sound enabled="true" start-time="0.5">
149                                 <sound-file path="$COMMONDATAPATH/sounds/worker_build1.wav"/>
150                                 <sound-file path="$COMMONDATAPATH/sounds/worker_build2.wav"/>
151                                 <sound-file path="$COMMONDATAPATH/sounds/worker_build3.wav"/>
152                         </sound>
153                 </skill>
155                 <skill>
156                         <type value="harvest"/>
157                         <name value="mine_skill"/>
158                         <ep-cost value="0"/>
159                         <speed value="225"/>
160                         <anim-speed value="90"/>
161                         <animation path="models/worker_mining.g3d"/>
162                         <sound enabled="true" start-time="0.5">
163                                 <sound-file path="$COMMONDATAPATH/sounds/worker_mine1.wav"/>
164                                 <sound-file path="$COMMONDATAPATH/sounds/worker_mine2.wav"/>
165                                 <sound-file path="$COMMONDATAPATH/sounds/worker_mine3.wav"/>
166                                 <sound-file path="$COMMONDATAPATH/sounds/worker_mine4.wav"/>
167                                 <sound-file path="$COMMONDATAPATH/sounds/worker_mine5.wav"/>
168                                 <sound-file path="$COMMONDATAPATH/sounds/worker_mine6.wav"/>
169                         </sound>
170                 </skill>
172                 <skill>
173                         <type value="harvest"/>
174                         <name value="harvest_wood_skill"/>
175                         <ep-cost value="0"/>
176                         <speed value="175"/>
177                         <anim-speed value="90"/>
178                         <animation path="models/worker_harversting_wood.g3d"/>
179                         <sound enabled="true" start-time="0.5">
180                                 <sound-file path="$COMMONDATAPATH/sounds/worker_harvest_wood1.wav"/>
181                                 <sound-file path="$COMMONDATAPATH/sounds/worker_harvest_wood2.wav"/>
182                                 <sound-file path="$COMMONDATAPATH/sounds/worker_harvest_wood3.wav"/>
183                         </sound>
184                 </skill>
186                 <skill>
187                         <type value="repair"/>
188                         <name value="repair_skill"/>
189                         <ep-cost value="0"/>
190                         <speed value="50"/>
191                         <anim-speed value="100"/>
192                         <animation path="models/worker_building.g3d"/>
193                         <sound enabled="true" start-time="0.5">
194                                 <sound-file path="$COMMONDATAPATH/sounds/worker_build1.wav"/>
195                                 <sound-file path="$COMMONDATAPATH/sounds/worker_build2.wav"/>
196                                 <sound-file path="$COMMONDATAPATH/sounds/worker_build3.wav"/>
197                         </sound>
198                 </skill>
200                 <skill>
201                         <type value="die"/>
202                         <name value="die_skill"/>
203                         <ep-cost value="0"/>
204                         <speed value="90"/>
205                         <anim-speed value="90"/>
206                         <animation-random-cycle-maxcount value="1" />
207                         <animation path="models/worker_dying.g3d"/>
208                         <animation path="models/worker_die2.g3d"/>
209                         <animation path="models/worker_die3.g3d"/>
210                         <sound enabled="true" start-time="0">
211                                 <sound-file path="$COMMONDATAPATH/sounds/worker_die1.wav"/>
212                                 <sound-file path="$COMMONDATAPATH/sounds/worker_die2.wav"/>
213                                 <sound-file path="$COMMONDATAPATH/sounds/worker_die3.wav"/>
214                         </sound>
215                         <fade value="false"/>
216                 </skill>
218         </skills>
220         <!-- *** commands *** -->
222         <commands>
224                 <command>
225                         <type value= "stop"/>
226                         <name value="stop"/>
227                         <image path="../archer/images/tech_stop.bmp"/>
228                         <unit-requirements/>
229                         <upgrade-requirements/>
230                         <stop-skill value="stop_skill"/>
231                 </command>
233                 <command>
234                         <type value= "move"/>
235                         <name value="move"/>
236                         <image path="../archer/images/tech_move.bmp"/>
237                         <unit-requirements/>
238                         <upgrade-requirements/>
239                         <move-skill value="move_skill"/>
240                 </command>
242                 <command>
243                         <type value= "build"/>
244                         <name value="build"/>
245                         <image path="images/worker_build_basic.bmp"/>
246                         <unit-requirements/>
247                         <upgrade-requirements/>
248                         <move-skill value="move_skill"/>
249                         <build-skill value="build_skill"/>
250                         <buildings>
251                                 <building name="training_camp"/>
252                                 <building name="blacksmith_shop"/>
253                                 <building name="military_camp"/>
254                                 <building name="eagle_pillar"/>
255                                 <building name="temple"/>
256                                 <building name="gladiator_school"/>
257                                 <building name="guard_tower"/>
258                                 <building name="forum"/>
259                         </buildings>
260                         <start-sound enabled="false"/>
261                         <built-sound enabled="true">
262                                 <sound-file path="$COMMONDATAPATH/sounds/worker_work_end1.wav"/>
263                                 <sound-file path="$COMMONDATAPATH/sounds/worker_work_end2.wav"/>
264                                 <sound-file path="$COMMONDATAPATH/sounds/worker_work_end3.wav"/>
265                         </built-sound>
266                 </command>
268                 <command>
269                         <type value="harvest"/>
270                         <name value="mine"/>
271                         <image path="images/worker_mine.bmp"/>
272                         <unit-requirements/>
273                         <upgrade-requirements/>
274                         <move-skill value="move_gold_skill"/>
275                         <harvest-skill value="mine_skill"/>
276                         <stop-loaded-skill value="stop_loaded_skill"/>
277                         <move-loaded-skill value="move_loaded_skill"/>
278                         <harvested-resources>
279                                 <resource name="gold"/>
280                                 <resource name="stone"/>
281                         </harvested-resources>
282                         <max-load value="25"/>
283                         <hits-per-unit value="1"/>
284                 </command>
286                 <command>
287                         <type value="harvest"/>
288                         <name value="harvest_wood"/>
289                         <image path="images/worker_harvest_wood.bmp"/>
290                         <unit-requirements/>
291                         <upgrade-requirements/>
292                         <move-skill value="move_wood_skill"/>
293                         <harvest-skill value="harvest_wood_skill"/>
294                         <stop-loaded-skill value="stop_loaded_wood_skill"/>
295                         <move-loaded-skill value="move_loaded_wood_skill"/>
296                         <harvested-resources>
297                                 <resource name="wood"/>
298                         </harvested-resources>
299                         <max-load value="25"/>
300                         <hits-per-unit value="1"/>
301                 </command>
303                 <command>
304                         <type value="repair"/>
305                         <name value="repair"/>
306                         <image path="images/worker_repair.bmp"/>
307                         <unit-requirements/>
308                         <upgrade-requirements/>
309                         <move-skill value="move_skill"/>
310                         <repair-skill value="repair_skill"/>
311                         <repaired-units>
312                                 <unit name="forum"/>
313                                 <unit name="training_camp"/>
314                                 <unit name="blacksmith_shop"/>
315                                 <unit name="temple"/>
316                                 <unit name="military_camp"/>
317                                 <unit name="guard_tower"/>
318                                 <!--unit name="eagle_statue"/-->
319                                 <unit name="gladiator_school"/>
320                                 <unit name="eagle_pillar"/>
321                         </repaired-units>
322                 </command>
324         </commands>
325 </unit>