Implement the Rotary Mill aura for Celtic factions. Patch by niektb, fixes #2900.

Also remove the placeholder technology and the rotary mill generic
Celtic template, and rename the rotary mill portrait. Refs #2619.

This was SVN commit r16174.
This commit is contained in:
Itms 2015-01-22 10:16:26 +00:00
parent 1857c33602
commit ad1adbe027
5 changed files with 28 additions and 85 deletions

View file

@ -1,13 +0,0 @@
{
"genericName": "Crop Rotation",
"description": "Crop rotation increases yield by preventing the depletion of vital nutrients and minerals from the soil.",
"cost": {"food": 300, "wood": 300, "stone": 0, "metal": 0},
"requirements": {"all": [{"tech": "phase_city"}, {"any": [{"civ": "celt"}, {"civ": "brit"}, {"civ": "gaul"}]}]},
"requirementsTooltip": "Unlocked in City Phase.",
"icon": "crop_rotation.png",
"researchTime": 40,
"tooltip": "Increase the yield of your farms. +25% farming rate.",
"modifications": [{"value": "ResourceGatherer/Rates/food.grain", "multiply": 1.25}],
"affects": ["Worker"],
"soundComplete": "interface/alarm/alarm_upgradearmory.xml"
}

View file

@ -10,6 +10,18 @@
<metal>0</metal>
</Resources>
</Cost>
<Auras>
<Aura1>
<Type>range</Type>
<Radius>60</Radius>
<Affects>Worker</Affects>
<Modifications>
<ResourceGatherer.Rates.food..grain> <Multiply>1.25</Multiply> </ResourceGatherer.Rates.food..grain>
</Modifications>
<AuraName>Farming bonus</AuraName>
<AuraDescription>Boosts nearby farming with +25%.</AuraDescription>
</Aura1>
</Auras>
<Footprint replace="">
<Circle radius="9.0"/>
<Height>6.0</Height>
@ -19,19 +31,13 @@
<Civ>Brit</Civ>
<GenericName>Rotary Mill</GenericName>
<SpecificName>Melonas</SpecificName>
<Tooltip>Increase nearby farming output +25%. (Currently, a special technology can be researched to serve this function)</Tooltip>
<Tooltip>Increase nearby farming output +25%.</Tooltip>
<History>The Celts developed the first rotary flour mill.</History>
<Icon>structures/sb1.png</Icon>
<Icon>structures/rotarymill.png</Icon>
</Identity>
<Obstruction>
<Static width="16.0" depth="16.0"/>
</Obstruction>
<ProductionQueue>
<BatchTimeModifier>0.8</BatchTimeModifier>
<Technologies datatype="tokens">
celts/special_gather_crop_rotation
</Technologies>
</ProductionQueue>
<RallyPoint disable=""/>
<Sound>
<SoundGroups>

View file

@ -1,56 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_special">
<Cost>
<BuildTime>100</BuildTime>
<PopulationBonus>2</PopulationBonus>
<Resources>
<food>0</food>
<wood>200</wood>
<stone>100</stone>
<metal>0</metal>
</Resources>
</Cost>
<Footprint replace="">
<Circle radius="9.0"/>
<Height>6.0</Height>
</Footprint>
<GarrisonHolder disable=""/>
<Health>
<SpawnEntityOnDeath>rubble/rubble_stone_4x4</SpawnEntityOnDeath>
</Health>
<Identity>
<Civ>celt</Civ>
<GenericName>Rotary Mill</GenericName>
<SpecificName>Melonas</SpecificName>
<Tooltip>Increase nearby farming output +25%. (Currently, a special technology can be researched to serve this function)</Tooltip>
<History>The Celts developed the first rotary flour mill.</History>
<Icon>structures/sb1.png</Icon>
</Identity>
<Obstruction>
<Static width="16.0" depth="16.0"/>
</Obstruction>
<ProductionQueue>
<BatchTimeModifier>0.8</BatchTimeModifier>
<Technologies datatype="tokens">
celts/special_gather_crop_rotation
</Technologies>
</ProductionQueue>
<RallyPoint disable=""/>
<Sound>
<SoundGroups>
<select>interface/select/building/sel_ffactri.xml</select>
<constructed>interface/complete/building/complete_ffactri.xml</constructed>
<death>attack/destruction/building_collapse_large.xml</death>
</SoundGroups>
</Sound>
<StatusBars>
<HeightOffset>8.0</HeightOffset>
</StatusBars>
<TerritoryInfluence>
<Radius>32</Radius>
</TerritoryInfluence>
<VisualActor>
<Actor>structures/celts/special.xml</Actor>
<FoundationActor>structures/fndn_4x4.xml</FoundationActor>
</VisualActor>
</Entity>

View file

@ -10,6 +10,18 @@
<metal>0</metal>
</Resources>
</Cost>
<Auras>
<Aura1>
<Type>range</Type>
<Radius>60</Radius>
<Affects>Worker</Affects>
<Modifications>
<ResourceGatherer.Rates.food..grain> <Multiply>1.25</Multiply> </ResourceGatherer.Rates.food..grain>
</Modifications>
<AuraName>Farming bonus</AuraName>
<AuraDescription>Boosts nearby farming with +25%.</AuraDescription>
</Aura1>
</Auras>
<Footprint replace="">
<Circle radius="9.0"/>
<Height>6.0</Height>
@ -19,19 +31,13 @@
<Civ>gaul</Civ>
<GenericName>Rotary Mill</GenericName>
<SpecificName>Melonas</SpecificName>
<Tooltip>Increase nearby farming output +25%. (Currently, a special technology can be researched to serve this function)</Tooltip>
<Tooltip>Increase nearby farming output +25%.</Tooltip>
<History>The Celts developed the first rotary flour mill.</History>
<Icon>structures/sb1.png</Icon>
<Icon>structures/rotarymill.png</Icon>
</Identity>
<Obstruction>
<Static width="16.0" depth="16.0"/>
</Obstruction>
<ProductionQueue>
<BatchTimeModifier>0.8</BatchTimeModifier>
<Technologies datatype="tokens">
celts/special_gather_crop_rotation
</Technologies>
</ProductionQueue>
<RallyPoint disable=""/>
<Sound>
<SoundGroups>