1
0
forked from mirrors/0ad

[Gameplay] Dog Kennel for Britons

Back by popular demand; patch requested by @borg-. This gives the "War
Dog" Kennel building back to the Britons. Previously removed in Alpha
24. Its removal widely lamented since then.

War Dogs removed from the Briton Stable as a consequence.

Patch by: @wowgetoffyourcellphone
Accepted by: @borg-, @real_tabasco_sauce
Differential revision: https://code.wildfiregames.com/D5153
This was SVN commit r27890.
This commit is contained in:
wowgetoffyourcellphone
2023-10-15 03:45:14 +00:00
parent 750d2d646c
commit 5025505918
5 changed files with 93 additions and 2 deletions
@@ -15,6 +15,7 @@
structures/{civ}/field
structures/{civ}/corral
structures/{civ}/dock
structures/{civ}/kennel
structures/{civ}/barracks
structures/{civ}/stable
structures/{civ}/elephant_stable
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military_kennel">
<Identity>
<Civ>brit</Civ>
<SpecificName>Cunattegia</SpecificName>
</Identity>
<VisualActor>
<Actor>structures/britons/kennel.xml</Actor>
</VisualActor>
</Entity>
@@ -24,6 +24,7 @@
<Gladiator>0</Gladiator>
<Hero>1</Hero>
<Juggernaut>1</Juggernaut>
<Kennel>2</Kennel>
<Library>1</Library>
<Lighthouse>1</Lighthouse>
<Monument>5</Monument>
@@ -34,7 +35,7 @@
<TempleOfVesta>1</TempleOfVesta>
<Theater>1</Theater>
<Yakhchal>5</Yakhchal>
<WarDog>20</WarDog>
<WarDog>0</WarDog>
<Centurion>8</Centurion>
<Wonder>1</Wonder>
</Limits>
@@ -48,6 +49,9 @@
<Pillar>
<Ashoka>5</Ashoka>
</Pillar>
<WarDog>
<Kennel>10</Kennel>
</WarDog>
</LimitChangers>
<LimitRemovers>
<CivilCentre>
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military">
<BuildRestrictions>
<Category>Kennel</Category>
</BuildRestrictions>
<Cost>
<BuildTime>50</BuildTime>
<Resources>
<wood>100</wood>
<stone>0</stone>
<food>0</food>
<metal>0</metal>
</Resources>
</Cost>
<Footprint>
<Square width="8.0" depth="7.0"/>
<Height>5.0</Height>
</Footprint>
<GarrisonHolder>
<Max>10</Max>
<List datatype="tokens">Dog</List>
</GarrisonHolder>
<Health>
<Max>500</Max>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_2x2</SpawnEntityOnDeath>
</Health>
<Identity>
<GenericName>Kennel</GenericName>
<SpecificName>Kennel</SpecificName>
<VisibleClasses datatype="tokens">
Village
Kennel
</VisibleClasses>
<Classes datatype="tokens">
ConquestCritical
CivSpecific
</Classes>
<Tooltip>Train War Dogs.</Tooltip>
<Icon>structures/kennel.png</Icon>
<Requirements>
<Techs datatype="tokens">
phase_village
</Techs>
</Requirements>
</Identity>
<Loot>
<wood>20</wood>
</Loot>
<Obstruction>
<Static width="7.5" depth="6.75"/>
</Obstruction>
<ProductionQueue/>
<Sound>
<SoundGroups>
<select>interface/select/building/sel_kennel.xml</select>
<constructed>interface/complete/building/complete_kennel.xml</constructed>
<death>attack/destruction/building_collapse_large.xml</death>
</SoundGroups>
</Sound>
<StatusBars>
<HeightOffset>8.0</HeightOffset>
</StatusBars>
<TerritoryInfluence>
<Root>false</Root>
<Radius>20</Radius>
<Weight>30000</Weight>
</TerritoryInfluence>
<Trainer>
<BatchTimeModifier>0.7</BatchTimeModifier>
<Entities datatype="tokens">
units/{civ}/war_dog
</Entities>
</Trainer>
<VisualActor>
<FoundationActor>structures/fndn_2x2.xml</FoundationActor>
</VisualActor>
</Entity>
@@ -70,7 +70,6 @@
units/{civ}/champion_cavalry_javelineer
units/{civ}/champion_cavalry_archer
units/{civ}/champion_chariot
units/{civ}/war_dog
</Entities>
</Trainer>
<Vision>