Jobs turned into <Job /> tags (by Japa)

develop
Petr Mrázek 2010-09-08 18:03:24 +02:00
parent 53930c673b
commit d041ed21f7
1 changed files with 210 additions and 357 deletions

@ -144,363 +144,216 @@
<Profession name="None" id="90" military="false" can_assign_labors="true" />
</Professions>
<Jobs>
TODO: Parse this and turn it into Job tags
<!--
[dwarf_jobs]
size=212
0/name = "Carve Fortification"
0/type = DIG
1/name = "Detail Wall"
1/type = TROWEL
2/name = "Detail Floor"
2/type = TROWEL
3/name = "Dig"
3/type = DIG
4/name = "Carve Upward Staircase"
4/type = DIG
5/name = "Carve Downward Staircase"
5/type = DIG
6/name = "Carve Up/Down Staircase"
6/type = DIG
7/name = "Carve Ramp"
7/type = DIG
8/name = "Dig Channel"
8/type = DIG
9/name = "Fell Tree"
9/type = CUT
10/name = "Gather Plants"
11/name = "Remove Construction"
11/type = BUILD
12/name = "Collect Webs"
12/type = HAUL
13/name = "Bring Item to Depot"
13/type = HAUL
14/name = "Bring Item to Shop"
14/type = HAUL
15/name = "Eat"
15/type = FOOD
16/name = "Get Provisions"
16/type = FOOD
17/name = "Drink"
17/type = DRINK
18/name = "Drink"
18/type = DRINK
19/name = "Fill Waterskin"
19/type = DRINK
20/name = "Fill Waterskin"
20/type = DRINK
21/name = "Sleep"
21/type = REST
22/name = "Collect Sand"
22/type = HAUL
23/name = "Fish"
24/name = "Hunt"
25/name = "Hunt for Small Creature"
26/name = "Kidnap"
26/type = FIGHT
27/name = "Beat Criminal"
27/type = FIGHT
28/name = "Starting Fist Fight"
28/type = FIGHT
29/name = "Collect Taxes"
30/name = "Guard Tax Collector"
30/type = FIGHT
31/name = "Catch Live Land Animal"
32/name = "Catch Live Fish"
33/name = "Return Kill"
33/type = HAUL
34/name = "Check Chesk"
34/type = SEEK
35/name = "Store Owned Item"
35/type = HAUL
36/name = "Place Item in Tomb"
36/type = HAUL
37/name = "Store Item in Stockpile"
37/type = HAUL
38/name = "Store Item in Bag"
38/type = HAUL
39/name = "Store Item in Hospital"
39/type = HAUL
40/name = "Store Item in Chest"
40/type = HAUL
41/name = "Store Item in Cabinet"
41/type = HAUL
42/name = "Store Weapon"
42/type = HAUL
43/name = "Store Armor"
43/type = HAUL
44/name = "Store Item in Barrel"
44/type = HAUL
45/name = "Store Item in Bin"
45/type = HAUL
46/name = "Seek Artifact"
46/type = SEEK
47/name = "Seek Infant"
47/type = SEEK
48/name = "Attend Party"
48/type = DRINK
49/name = "Go Shopping"
50/name = "Go Shopping"
51/name = "Clean"
52/name = "Rest"
52/type = REST
53/name = "Pickup Equipment"
53/type = SEEK
54/name = "Dump Item"
54/type = HAUL
55/name = "Strange Mood Crafter"
55/type = MOOD
56/name = "Strange Mood Jeweller"
56/type = MOOD
57/name = "Strange Mood Forge"
57/type = MOOD
58/name = "Strange Mood Magma Forge"
58/type = MOOD
59/name = "Strange Mood Brooding"
59/type = MOOD
60/name = "Strange Mood Fell"
60/type = MOOD
61/name = "Strange Mood Carpenter"
61/type = MOOD
62/name = "Strange Mood Mason"
62/type = MOOD
63/name = "Strange Mood Bowyer"
63/type = MOOD
64/name = "Strange Mood Tanner"
64/type = MOOD
65/name = "Strange Mood Weaver"
65/type = MOOD
66/name = "Strange Mood Glassmaker"
66/type = MOOD
67/name = "Strange Mood Mechanics"
67/type = MOOD
68/name = "Construct Building"
68/type = BUILD
69/name = "Construct Door"
68/type = BUILD
70/name = "Construct Floodgate"
70/type = BUILD
71/name = "Construct ?? Bed"
71/type = BUILD
72/name = "Construct ?? Chair/Throne"
72/type = BUILD
73/name = "Construct ?? Casket/Sarcophagus/Coffin"
73/type = BUILD
74/name = "Construct ?? Table"
74/type = BUILD
75/name = "Construct ?? Box/Chest/Bag/Coffer"
75/type = BUILD
76/name = "Construct ?? Bin"
76/type = BUILD
77/name = "Construct ?? Armor Stand"
77/type = BUILD
78/name = "Construct ?? Weapon Rack"
78/type = BUILD
79/name = "Construct ?? Cabinet"
79/type = BUILD
80/name = "Construct ?? Statue"
80/type = BUILD
81/name = "Construct ?? Blocks"
81/type = BUILD
82/name = "Make Raw ??"
83/name = "Make ?? Crafts"
84/name = "Mint ?? Coins"
85/name = "Cut ?A?"
86/name = "Cut ?B?"
87/name = "Encrust ?something? with ?somethings?"
88/name = "Encrust ?something? with ?somethings?"
89/name = "Destroy Building"
89/type = BUILD
90/name = "Smelt Ore"
90/type = FURNACE
91/name = "Melt a Metal Object"
91/type = FORGE
92/name = "Extract Metal Strands"
92/type = FORGE
93/name = "Plant Seeds"
94/name = "Harvest Plants"
95/name = "Train Hunting Animal"
95/type = ANIMAL
96/name = "Train War Animal"
96/type = ANIMAL
99/name = "Construct Catapult Parts"
100/name = "Forge ?? Anvil"
100/type = FORGE
101/name = "Construct Catapult Parts"
102/name = "Construct Ballista Parts"
103/name = "Forge/Make A"
103/type = FORGE
104/name = "Stud with ?something?"
105/name = "Butcher an Animal"
106/name = "Prepare a Raw Fish"
107/name = "Mill Plants"
108/name = "Bait Trap with Meat/Gem/Fish"
109/name = "Milk Creature"
110/name = "Make Cheese"
111/name = "Process Plants"
112/name = "Process Plants (Bag)"
113/name = "Process Plants (Vial)"
114/name = "Process Plants (Barrel)"
115/name = "Prepare ?? Meal"
116/name = "Weave ?? into ??"
117/name = "Forge/Make ?? something"
117/type = BUILD
118/name = "Weave Thread"
119/name = "Forge/Make D"
119/type = FORGE
120/name = "Forge/Make E"
120/type = FORGE
121/name = "Forge/Make F"
121/type = FORGE
122/name = "Forge/Make Waterskin/Vial/Flask"
122/type = FORGE
123/name = "Forge Rope"
123/type = FORGE
124/name = "Forge Flask"
124/type = FORGE
125/name = "Forge Goblet"
125/type = FORGE
126/name = "Forge Instrument"
126/type = FORGE
127/name = "Forge Toy"
127/type = FORGE
128/name = "Forge Animal Trap"
128/type = FORGE
129/name = "Forge Barrel"
129/type = FORGE
130/name = "Make Totel"
130/type = FORGE
131/name = "Forge Bolts"
131/type = FORGE
132/name = "Decorate With ?something?"
133/name = "Forge/Make G"
133/type = FORGE
134/name = "Decorate With Bone"
135/name = "Make Backpack"
136/name = "Make Quiver"
137/name = "Load Catapult"
138/name = "Load Ballista"
139/name = "Fire Catapult"
140/name = "Fire Ballista"
141/name = "Construct Mechanisms"
141/type = BUILD
142/name = "Fire Ballista"
143/name = "Load Cage Trap"
144/name = "Load Stone Trap"
145/name = "Load Weapon Trap"
146/name = "Clean Trap"
147/name = "Cast Spell"
148/name = "Link a Building to Trigger"
149/name = "Pull the Lever"
150/name = "Brew Drink"
150/type = DRINK
151/name = "Extract from Plants"
152/name = "Extract from Raw Fish"
153/name = "Extract from Land Animal"
154/name = "Tame Small Animal"
154/type = ANIMAL
155/name = "Tame ?something?"
155/type = ANIMAL
156/name = "Chain Animal"
156/type = ANIMAL
157/name = "Unchain Animal"
157/type = ANIMAL
158/name = "Unchain Pet"
158/type = ANIMAL
159/name = "Release Large Creature"
159/type = ANIMAL
160/name = "Release Pet"
160/type = ANIMAL
161/name = "Release Small Creature"
161/type = ANIMAL
162/name = "Handle Small Creature"
162/type = ANIMAL
163/name = "Handle Large Creature"
163/type = ANIMAL
164/name = "Cage Large Creature"
164/type = ANIMAL
165/name = "Cage Small Creature"
165/type = ANIMAL
166/name = "Recover Wounded"
166/type = MEDICAL
167/name = "Diagnose Patient"
167/type = MEDICAL
168/name = "Immobilize Break"
168/type = MEDICAL
169/name = "Dress Wound"
169/type = MEDICAL
170/name = "Clean Patient"
170/type = MEDICAL
171/name = "Surgery"
171/type = MEDICAL
172/name = "Suture"
172/type = MEDICAL
173/name = "Set Bone"
173/type = MEDICAL
174/name = "Place In Traction"
174/type = MEDICAL
175/name = "Drain Aquarium"
176/name = "Fill Aquarium"
177/name = "Fill Pond"
178/name = "Give Water"
178/type = MEDICAL
179/name = "Give Food"
179/type = MEDICAL
180/name = "Give Water"
180/type = MEDICAL
181/name = "Give Food"
181/type = MEDICAL
182/name = "Recover Pet"
183/name = "Pit/Pond Large Animal"
183/type = ANIMAL
184/name = "Pit/Pond Small Animal"
184/type = ANIMAL
185/name = "Slaughter Animal"
185/type = ANIMAL
186/name = "Make Charcoal"
186/type = FURNACE
187/name = "Make Ash"
187/type = FURNACE
188/name = "Make Lye"
189/name = "Make Potash From Lye"
190/name = "Fertilize Field"
191/name = "Make Potash From Ash"
192/name = "Dye Thread"
193/name = "Dye Cloth"
194/name = "Sew ?? Image"
195/name = "Manage Work Orders"
195/type = ADMIN
196/name = "Operate Pump"
197/name = "Manage Work Orders"
197/type = ADMIN
198/name = "Update Stockpile Records"
198/type = ADMIN
199/name = "Trade at Depot"
199/type = ADMIN
200/name = "Construct ?? Hatch Cover"
200/type = BUILD
201/name = "Construct ?? Grate"
201/type = BUILD
202/name = "Remove Stairs/Ramps"
202/type = DIG
203/name = "Construct ?? Quern"
203/type = BUILD
205/name = "Upgrade Squad Equipment"
205/type = HAUL
206/name = "Prepare Equipment Manifests"
206/type = ADMIN
207/name = "Construct ?? Splint"
207/type = BUILD
208/name = "Construct ?? Crutch"
208/type = BUILD
209/name = "Construct Traction Bench"
209/type = BUILD
210/name = "Clean Self"
211/name = "Bring Crutch"
211/type = MEDICAL
212/name = "Apply Cast"
212/type = MEDICAL
-->
<Job id="0" name = "Carve Fortification" />
<Job id="1" name = "Detail Wall" />
<Job id="2" name = "Detail Floor" />
<Job id="3" name = "Dig" />
<Job id="4" name = "Carve Upward Staircase" />
<Job id="5" name = "Carve Downward Staircase" />
<Job id="6" name = "Carve Up/Down Staircase" />
<Job id="7" name = "Carve Ramp" />
<Job id="8" name = "Dig Channel" />
<Job id="9" name = "Fell Tree" />
<Job id="10" name = "Gather Plants" />
<Job id="11" name = "Remove Construction" />
<Job id="12" name = "Collect Webs" />
<Job id="13" name = "Bring Item to Depot" />
<Job id="14" name = "Bring Item to Shop" />
<Job id="15" name = "Eat" />
<Job id="16" name = "Get Provisions" />
<Job id="17" name = "Drink" />
<Job id="18" name = "Drink" />
<Job id="19" name = "Fill Waterskin" />
<Job id="20" name = "Fill Waterskin" />
<Job id="21" name = "Sleep" />
<Job id="22" name = "Collect Sand" />
<Job id="23" name = "Fish" />
<Job id="24" name = "Hunt" />
<Job id="25" name = "Hunt for Small Creature" />
<Job id="26" name = "Kidnap" />
<Job id="27" name = "Beat Criminal" />
<Job id="28" name = "Starting Fist Fight" />
<Job id="29" name = "Collect Taxes" />
<Job id="30" name = "Guard Tax Collector" />
<Job id="31" name = "Catch Live Land Animal" />
<Job id="32" name = "Catch Live Fish" />
<Job id="33" name = "Return Kill" />
<Job id="34" name = "Check Chesk" />
<Job id="35" name = "Store Owned Item" />
<Job id="36" name = "Place Item in Tomb" />
<Job id="37" name = "Store Item in Stockpile" />
<Job id="38" name = "Store Item in Bag" />
<Job id="39" name = "Store Item in Hospital" />
<Job id="40" name = "Store Item in Chest" />
<Job id="41" name = "Store Item in Cabinet" />
<Job id="42" name = "Store Weapon" />
<Job id="43" name = "Store Armor" />
<Job id="44" name = "Store Item in Barrel" />
<Job id="45" name = "Store Item in Bin" />
<Job id="46" name = "Seek Artifact" />
<Job id="47" name = "Seek Infant" />
<Job id="48" name = "Attend Party" />
<Job id="49" name = "Go Shopping" />
<Job id="50" name = "Go Shopping" />
<Job id="51" name = "Clean" />
<Job id="52" name = "Rest" />
<Job id="53" name = "Pickup Equipment" />
<Job id="54" name = "Dump Item" />
<Job id="55" name = "Strange Mood Crafter" />
<Job id="56" name = "Strange Mood Jeweller" />
<Job id="57" name = "Strange Mood Forge" />
<Job id="58" name = "Strange Mood Magma Forge" />
<Job id="59" name = "Strange Mood Brooding" />
<Job id="60" name = "Strange Mood Fell" />
<Job id="61" name = "Strange Mood Carpenter" />
<Job id="62" name = "Strange Mood Mason" />
<Job id="63" name = "Strange Mood Bowyer" />
<Job id="64" name = "Strange Mood Tanner" />
<Job id="65" name = "Strange Mood Weaver" />
<Job id="66" name = "Strange Mood Glassmaker" />
<Job id="67" name = "Strange Mood Mechanics" />
<Job id="68" name = "Construct Building" />
<Job id="69" name = "Construct Door" />
<Job id="70" name = "Construct Floodgate" />
<Job id="71" name = "Construct ?? Bed" />
<Job id="72" name = "Construct ?? Chair/Throne" />
<Job id="73" name = "Construct ?? Casket/Sarcophagus/Coffin" />
<Job id="74" name = "Construct ?? Table" />
<Job id="75" name = "Construct ?? Box/Chest/Bag/Coffer" />
<Job id="76" name = "Construct ?? Bin" />
<Job id="77" name = "Construct ?? Armor Stand" />
<Job id="78" name = "Construct ?? Weapon Rack" />
<Job id="79" name = "Construct ?? Cabinet" />
<Job id="80" name = "Construct ?? Statue" />
<Job id="81" name = "Construct ?? Blocks" />
<Job id="82" name = "Make Raw ??" />
<Job id="83" name = "Make ?? Crafts" />
<Job id="84" name = "Mint ?? Coins" />
<Job id="85" name = "Cut ?A?" />
<Job id="86" name = "Cut ?B?" />
<Job id="87" name = "Encrust ?something? with ?somethings?" />
<Job id="88" name = "Encrust ?something? with ?somethings?" />
<Job id="89" name = "Destroy Building" />
<Job id="90" name = "Smelt Ore" />
<Job id="91" name = "Melt a Metal Object" />
<Job id="92" name = "Extract Metal Strands" />
<Job id="93" name = "Plant Seeds" />
<Job id="94" name = "Harvest Plants" />
<Job id="95" name = "Train Hunting Animal" />
<Job id="96" name = "Train War Animal" />
<Job id="99" name = "Construct Catapult Parts" />
<Job id="100" name = "Forge ?? Anvil" />
<Job id="101" name = "Construct Catapult Parts" />
<Job id="102" name = "Construct Ballista Parts" />
<Job id="103" name = "Forge/Make A" />
<Job id="104" name = "Stud with ?something?" />
<Job id="105" name = "Butcher an Animal" />
<Job id="106" name = "Prepare a Raw Fish" />
<Job id="107" name = "Mill Plants" />
<Job id="108" name = "Bait Trap with Meat/Gem/Fish" />
<Job id="109" name = "Milk Creature" />
<Job id="110" name = "Make Cheese" />
<Job id="111" name = "Process Plants" />
<Job id="112" name = "Process Plants (Bag)" />
<Job id="113" name = "Process Plants (Vial)" />
<Job id="114" name = "Process Plants (Barrel)" />
<Job id="115" name = "Prepare ?? Meal" />
<Job id="116" name = "Weave ?? into ??" />
<Job id="117" name = "Forge/Make ?? something" />
<Job id="118" name = "Weave Thread" />
<Job id="119" name = "Forge/Make D" />
<Job id="120" name = "Forge/Make E" />
<Job id="121" name = "Forge/Make F" />
<Job id="122" name = "Forge/Make Waterskin/Vial/Flask" />
<Job id="123" name = "Forge Rope" />
<Job id="124" name = "Forge Flask" />
<Job id="125" name = "Forge Goblet" />
<Job id="126" name = "Forge Instrument" />
<Job id="127" name = "Forge Toy" />
<Job id="128" name = "Forge Animal Trap" />
<Job id="129" name = "Forge Barrel" />
<Job id="130" name = "Make Totel" />
<Job id="131" name = "Forge Bolts" />
<Job id="132" name = "Decorate With ?something?" />
<Job id="133" name = "Forge/Make G" />
<Job id="134" name = "Decorate With Bone" />
<Job id="135" name = "Make Backpack" />
<Job id="136" name = "Make Quiver" />
<Job id="137" name = "Load Catapult" />
<Job id="138" name = "Load Ballista" />
<Job id="139" name = "Fire Catapult" />
<Job id="140" name = "Fire Ballista" />
<Job id="141" name = "Construct Mechanisms" />
<Job id="142" name = "Fire Ballista" />
<Job id="143" name = "Load Cage Trap" />
<Job id="144" name = "Load Stone Trap" />
<Job id="145" name = "Load Weapon Trap" />
<Job id="146" name = "Clean Trap" />
<Job id="147" name = "Cast Spell" />
<Job id="148" name = "Link a Building to Trigger" />
<Job id="149" name = "Pull the Lever" />
<Job id="150" name = "Brew Drink" />
<Job id="151" name = "Extract from Plants" />
<Job id="152" name = "Extract from Raw Fish" />
<Job id="153" name = "Extract from Land Animal" />
<Job id="154" name = "Tame Small Animal" />
<Job id="155" name = "Tame ?something?" />
<Job id="156" name = "Chain Animal" />
<Job id="157" name = "Unchain Animal" />
<Job id="158" name = "Unchain Pet" />
<Job id="159" name = "Release Large Creature" />
<Job id="160" name = "Release Pet" />
<Job id="161" name = "Release Small Creature" />
<Job id="162" name = "Handle Small Creature" />
<Job id="163" name = "Handle Large Creature" />
<Job id="164" name = "Cage Large Creature" />
<Job id="165" name = "Cage Small Creature" />
<Job id="166" name = "Recover Wounded" />
<Job id="167" name = "Diagnose Patient" />
<Job id="168" name = "Immobilize Break" />
<Job id="169" name = "Dress Wound" />
<Job id="170" name = "Clean Patient" />
<Job id="171" name = "Surgery" />
<Job id="172" name = "Suture" />
<Job id="173" name = "Set Bone" />
<Job id="174" name = "Place In Traction" />
<Job id="175" name = "Drain Aquarium" />
<Job id="176" name = "Fill Aquarium" />
<Job id="177" name = "Fill Pond" />
<Job id="178" name = "Give Water" />
<Job id="179" name = "Give Food" />
<Job id="180" name = "Give Water" />
<Job id="181" name = "Give Food" />
<Job id="182" name = "Recover Pet" />
<Job id="183" name = "Pit/Pond Large Animal" />
<Job id="184" name = "Pit/Pond Small Animal" />
<Job id="185" name = "Slaughter Animal" />
<Job id="186" name = "Make Charcoal" />
<Job id="187" name = "Make Ash" />
<Job id="188" name = "Make Lye" />
<Job id="189" name = "Make Potash From Lye" />
<Job id="190" name = "Fertilize Field" />
<Job id="191" name = "Make Potash From Ash" />
<Job id="192" name = "Dye Thread" />
<Job id="193" name = "Dye Cloth" />
<Job id="194" name = "Sew ?? Image" />
<Job id="195" name = "Manage Work Orders" />
<Job id="196" name = "Operate Pump" />
<Job id="197" name = "Manage Work Orders" />
<Job id="198" name = "Update Stockpile Records" />
<Job id="199" name = "Trade at Depot" />
<Job id="200" name = "Construct ?? Hatch Cover" />
<Job id="201" name = "Construct ?? Grate" />
<Job id="202" name = "Remove Stairs/Ramps" />
<Job id="203" name = "Construct ?? Quern" />
<Job id="205" name = "Upgrade Squad Equipment" />
<Job id="206" name = "Prepare Equipment Manifests" />
<Job id="207" name = "Construct ?? Splint" />
<Job id="208" name = "Construct ?? Crutch" />
<Job id="209" name = "Construct Traction Bench" />
<Job id="210" name = "Clean Self" />
<Job id="211" name = "Bring Crutch" />
<Job id="212" name = "Apply Cast" />
</Jobs>
<Skills>
<Skill name="Mining" id="0" />