tech worker:remove "build advanced" from menu
[megaglest-data.git] / techs / megapack / factions / tech / units / worker / worker.xml
blobedbd2369cfb1efa42c271bdefea5cc5dabff2821
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="600" 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.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"/>
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                         <sound enabled="false"/>
63                 </skill>
65                 <skill>
66                         <type value="stop"/>
67                         <name value="stop_loaded_skill"/>
68                         <ep-cost value="0"/>
69                         <speed value="75"/>
70                         <anim-speed value="70"/>
71                         <animation path="models/worker_standing_loaded.g3d"/>
72                         <sound enabled="false"/>
73                 </skill>
75                 <skill>
76                         <type value="stop"/>
77                         <name value="stop_loaded_wood_skill"/>
78                         <ep-cost value="0"/>
79                         <speed value="75"/>
80                         <anim-speed value="70"/>
81                         <animation path="models/worker_standing_loaded_wood.g3d"/>
82                         <sound enabled="false"/>
83                 </skill>
85                 <skill>
86                         <type value="move"/>
87                         <name value="move_skill"/>
88                         <ep-cost value="0"/>
89                         <speed value="190"/>
90                         <anim-speed value="130"/>
91                         <animation path="models/worker_walking.g3d"/>
92                         <sound enabled="false"/>
93                 </skill>
95                 <skill>
96                         <type value="move"/>
97                         <name value="move_wood_skill"/>
98                         <ep-cost value="0"/>
99                         <speed value="210"/>
100                         <anim-speed value="130"/>
101                         <animation path="models/worker_walking_wood.g3d"/>
102                         <sound enabled="false"/>
103                 </skill>
105                 <skill>
106                         <type value="move"/>
107                         <name value="move_gold_skill"/>
108                         <ep-cost value="0"/>
109                         <speed value="210"/>
110                         <anim-speed value="130"/>
111                         <animation path="models/worker_walking_gold.g3d"/>
112                         <sound enabled="false"/>
113                 </skill>
115                 <skill>
116                         <type value="move"/>
117                         <name value="move_loaded_skill"/>
118                         <ep-cost value="0"/>
119                         <speed value="190"/>
120                         <anim-speed value="100"/>
121                         <animation path="models/worker_walking_loaded.g3d"/>
122                         <sound enabled="false"/>
123                 </skill>
125                 <skill>
126                         <type value="move"/>
127                         <name value="move_loaded_wood_skill"/>
128                         <ep-cost value="0"/>
129                         <speed value="190"/>
130                         <anim-speed value="100"/>
131                         <animation path="models/worker_walking_loaded_wood.g3d"/>
132                         <sound enabled="false"/>
133                 </skill>
135                 <skill>
136                         <type value="build"/>
137                         <name value="build_skill"/>
138                         <ep-cost value="0"/>
139                         <speed value="105"/>
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"/>
146                         </sound>
147                 </skill>
149                 <skill>
150                         <type value="harvest"/>
151                         <name value="mine_skill"/>
152                         <ep-cost value="0"/>
153                         <speed value="225"/>
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"/>
163                         </sound>
164                 </skill>
166                 <skill>
167                         <type value="harvest"/>
168                         <name value="harvest_wood_skill"/>
169                         <ep-cost value="0"/>
170                         <speed value="150"/>
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"/>
177                         </sound>
178                 </skill>
180                 <skill>
181                         <type value="repair"/>
182                         <name value="repair_skill"/>
183                         <ep-cost value="0"/>
184                         <speed value="40"/>
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"/>
191                         </sound>
192                 </skill>
194                 <skill>
195                         <type value="die"/>
196                         <name value="die_skill"/>
197                         <ep-cost value="0"/>
198                         <speed value="90"/>
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"/>
205                         </sound>
206                         <fade value="false"/>
207                 </skill>
209         </skills>
211         <!-- *** commands *** -->
213         <commands>
215                 <command>
216                         <type value= "stop"/>
217                         <name value="stop"/>
218                         <image path="../archer/images/tech_stop.bmp"/>
219                         <unit-requirements/>
220                         <upgrade-requirements/>
221                         <stop-skill value="stop_skill"/>
222                 </command>
224                 <command>
225                         <type value= "move"/>
226                         <name value="move"/>
227                         <image path="../archer/images/tech_move.bmp"/>
228                         <unit-requirements/>
229                         <upgrade-requirements/>
230                         <move-skill value="move_skill"/>
231                 </command>
233                 <command>
234                         <type value= "build"/>
235                         <name value="build"/>
236                         <image path="images/worker_build.bmp"/>
237                         <unit-requirements/>
238                         <upgrade-requirements/>
239                         <move-skill value="move_skill"/>
240                         <build-skill value="build_skill"/>
241                         <buildings>
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"/>
248                         </buildings>
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"/>
254                         </built-sound>
255                 </command>
257                 <command>
258                         <type value="harvest"/>
259                         <name value="mine"/>
260                         <image path="images/worker_mine.bmp"/>
261                         <unit-requirements/>
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"/>
273                 </command>
275                 <command>
276                         <type value="harvest"/>
277                         <name value="harvest_wood"/>
278                         <image path="images/worker_harvest_wood.bmp"/>
279                         <unit-requirements/>
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"/>
290                 </command>
292                 <command>
293                         <type value="repair"/>
294                         <name value="repair"/>
295                         <image path="images/worker_repair.bmp"/>
296                         <unit-requirements/>
297                         <upgrade-requirements/>
298                         <move-skill value="move_skill"/>
299                         <repair-skill value="repair_skill"/>
300                         <repaired-units>
301                                 <unit name="farm"/>
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"/>
308                         </repaired-units>
309                 </command>
311         </commands>
312 </unit>