Differential D3303 Diff 16165 binaries/data/mods/public/simulation/templates/template_unit_support_slave.xml
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/templates/template_unit_support_slave.xml
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | <Identity> | ||||
<SelectionGroupName>template_unit_support_slave</SelectionGroupName> | <SelectionGroupName>template_unit_support_slave</SelectionGroupName> | ||||
<Tooltip>Gatherer with a finite life span. Bonused at mining and lumbering.</Tooltip> | <Tooltip>Gatherer with a finite life span. Bonused at mining and lumbering.</Tooltip> | ||||
</Identity> | </Identity> | ||||
<Loot> | <Loot> | ||||
<xp>10</xp> | <xp>10</xp> | ||||
<metal>5</metal> | <metal>5</metal> | ||||
</Loot> | </Loot> | ||||
<ResourceGatherer> | <ResourceGatherer> | ||||
<MaxDistance>2.0</MaxDistance> | |||||
<BaseSpeed>1.0</BaseSpeed> | <BaseSpeed>1.0</BaseSpeed> | ||||
<Rates> | <Rates> | ||||
Nescio: `simulation/components/ResourceGatherer.js` schema says <MaxDistance> should be listed first… | |||||
<food.fish>0.5</food.fish> | <food.fish>0.5</food.fish> | ||||
<food.fruit>0.5</food.fruit> | <food.fruit>0.5</food.fruit> | ||||
<food.grain>0.35</food.grain> | <food.grain>0.35</food.grain> | ||||
<food.meat>1</food.meat> | <food.meat>1</food.meat> | ||||
<wood.tree>1.0</wood.tree> | <wood.tree>1.0</wood.tree> | ||||
<wood.ruins>5</wood.ruins> | <wood.ruins>5</wood.ruins> | ||||
<stone.rock>1.0</stone.rock> | <stone.rock>1.0</stone.rock> | ||||
<stone.ruins>5</stone.ruins> | <stone.ruins>5</stone.ruins> | ||||
<metal.ore>1.0</metal.ore> | <metal.ore>1.0</metal.ore> | ||||
<treasure disable=""/> | |||||
</Rates> | </Rates> | ||||
<Capacities> | |||||
<food>10</food> | |||||
<wood>10</wood> | |||||
<stone>10</stone> | |||||
<metal>10</metal> | |||||
</Capacities> | |||||
</ResourceGatherer> | </ResourceGatherer> | ||||
<TreasureCollecter disable=""/> | |||||
<Sound> | <Sound> | ||||
<SoundGroups> | <SoundGroups> | ||||
<build>resource/construction/con_wood.xml</build> | <build>resource/construction/con_wood.xml</build> | ||||
<gather_fruit>resource/foraging/forage_leaves.xml</gather_fruit> | <gather_fruit>resource/foraging/forage_leaves.xml</gather_fruit> | ||||
<gather_grain>resource/farming/farm.xml</gather_grain> | <gather_grain>resource/farming/farm.xml</gather_grain> | ||||
<gather_wood>resource/lumbering/lumbering.xml</gather_wood> | <gather_wood>resource/lumbering/lumbering.xml</gather_wood> | ||||
<gather_stone>resource/mining/pickaxe.xml</gather_stone> | <gather_stone>resource/mining/pickaxe.xml</gather_stone> | ||||
<gather_metal>resource/mining/mining.xml</gather_metal> | <gather_metal>resource/mining/mining.xml</gather_metal> | ||||
<invalid_building_placement>interface/alarm/alarm_invalid_building_placement.xml</invalid_building_placement> | <invalid_building_placement>interface/alarm/alarm_invalid_building_placement.xml</invalid_building_placement> | ||||
<order_build>voice/{lang}/civ/civ_{phenotype}_build.xml</order_build> | <order_build>voice/{lang}/civ/civ_{phenotype}_build.xml</order_build> | ||||
<order_repair>voice/{lang}/civ/civ_{phenotype}_repair.xml</order_repair> | <order_repair>voice/{lang}/civ/civ_{phenotype}_repair.xml</order_repair> | ||||
<trained>actor/singlesteps/steps_gravel_trained.xml</trained> | <trained>actor/singlesteps/steps_gravel_trained.xml</trained> | ||||
</SoundGroups> | </SoundGroups> | ||||
</Sound> | </Sound> | ||||
</Entity> | </Entity> |
Wildfire Games · Phabricator
simulation/components/ResourceGatherer.js schema says <MaxDistance> should be listed first, above <BaseSpeed>.