Ticket #4021: militarycolony.diff

File militarycolony.diff, 10.5 KB (added by fatherbushido, 8 years ago)

merge military colonies (sele and ptol)

  • binaries/data/mods/public/simulation/templates/structures/ptol_military_colony.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    2 <Entity parent="template_structure_civic_civil_centre">
    3   <Attack>
    4     <Ranged>
    5       <Hack>0.0</Hack>
    6       <Pierce>15.0</Pierce>
    7       <Crush>0.0</Crush>
    8       <MaxRange>72.0</MaxRange>
    9       <MinRange>10.0</MinRange>
    10       <ProjectileSpeed>75.0</ProjectileSpeed>
    11       <PrepareTime>1200</PrepareTime>
    12       <RepeatTime>2000</RepeatTime>
    13       <Spread>1.5</Spread>
    14     </Ranged>
    15   </Attack>
    16   <BuildingAI>
    17     <DefaultArrowCount>1</DefaultArrowCount>
    18     <MaxArrowCount>15</MaxArrowCount>
    19     <GarrisonArrowMultiplier>1</GarrisonArrowMultiplier>
    20   </BuildingAI>
    21   <BuildRestrictions>
    22     <Territory>own neutral</Territory>
    23     <Category>Colony</Category>
    24     <Distance>
    25       <FromClass>Colony</FromClass>
    26       <MinDistance>120</MinDistance>
    27     </Distance>
    28   </BuildRestrictions>
    29   <Cost>
    30     <BuildTime>300</BuildTime>
    31     <Resources>
    32       <wood>200</wood>
    33       <stone>200</stone>
    34       <metal>200</metal>
    35     </Resources>
    36   </Cost>
    37   <Footprint>
    38     <Square width="25.0" depth="25.0"/>
    39     <Height>12.0</Height>
    40   </Footprint>
    41   <Health>
    42     <Max>2000</Max>
    43     <SpawnEntityOnDeath>rubble/rubble_stone_5x5</SpawnEntityOnDeath>
    44   </Health>
     2<Entity parent="template_structure_civic_civil_centre_military_colony">
    453  <Identity>
    464    <Civ>ptol</Civ>
    47     <GenericName>Military Colony</GenericName>
    48     <SpecificName>Klēroukhía</SpecificName>
    49     <Classes datatype="tokens">Town Colony</Classes>
    505    <History>The Ptolemaic kings invited Greeks, Macedonians, Galatians (Gauls), Cretans, and Thracians alike to settle within Egypt in military colonies called cleruchies (klēroukhia). Under this arrangement, the settlers were given a plot of land, or a kleros, and in return were required to serve in the great king's army when called to duty. This created a upper-middle class of military settlers who owed their livelihoods and fortunes to the Ptolemaic kings and helped grow the available manpower for the imperial Ptolemaic army. A side effect of this system was that it drained the Greek homeland of military-aged men, a contributing factor to Greece's eventual conquest by Rome.</History>
    516    <Tooltip>This is the Ptolemaic expansion building, similar to Civic Centers for other factions. It is weaker and carries a smaller territory influence, but is cheaper and built faster.
    527- Train settler-soldiers of various nationalities.
    538- Min. distance from other Military Colonies: 120 meters.</Tooltip>
    54     <Icon>structures/military_settlement.png</Icon>
    55     <RequiredTechnology>phase_town</RequiredTechnology>
    569  </Identity>
    57   <Obstruction>
    58     <Static width="23.0" depth="23.0"/>
    59   </Obstruction>
    6010  <ProductionQueue>
    6111    <Entities datatype="tokens">
    6212      units/{civ}_infantry_spearman_merc_b
    6313      units/{civ}_infantry_swordsman_merc_b
    6414      units/{civ}_cavalry_spearman_merc_b
    6515      units/{civ}_cavalry_javelinist_merc_b
    6616    </Entities>
    67     <Technologies datatype="tokens">
    68       -phase_town
    69       -phase_city
    70     </Technologies>
    7117  </ProductionQueue>
    72   <Sound>
    73     <SoundGroups>
    74       <select>interface/select/building/sel_gymnasium.xml</select>
    75       <constructed>interface/complete/building/complete_gymnasium.xml</constructed>
    76       <death>attack/destruction/building_collapse_large.xml</death>
    77     </SoundGroups>
    78   </Sound>
    79   <TerritoryDecay>
    80     <DecayRate>1</DecayRate>
    81   </TerritoryDecay>
    82   <TerritoryInfluence>
    83     <Radius>80</Radius>
    84   </TerritoryInfluence>
    8518  <VisualActor>
    8619    <Actor>structures/ptolemies/settlement.xml</Actor>
    8720    <FoundationActor>structures/fndn_5x5.xml</FoundationActor>
    8821  </VisualActor>
    8922</Entity>
  • binaries/data/mods/public/simulation/templates/structures/sele_military_colony.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    2 <Entity parent="template_structure_civic_civil_centre">
    3   <Attack>
    4     <Ranged>
    5       <Hack>0.0</Hack>
    6       <Pierce>15.0</Pierce>
    7       <Crush>0.0</Crush>
    8       <MaxRange>72.0</MaxRange>
    9       <MinRange>10.0</MinRange>
    10       <ProjectileSpeed>75.0</ProjectileSpeed>
    11       <PrepareTime>1200</PrepareTime>
    12       <RepeatTime>2000</RepeatTime>
    13       <Spread>1.5</Spread>
    14     </Ranged>
    15   </Attack>
    16   <BuildingAI>
    17     <DefaultArrowCount>1</DefaultArrowCount>
    18     <MaxArrowCount>15</MaxArrowCount>
    19     <GarrisonArrowMultiplier>1</GarrisonArrowMultiplier>
    20   </BuildingAI>
    21   <BuildRestrictions>
    22     <Territory>own neutral</Territory>
    23     <Category>Colony</Category>
    24     <Distance>
    25       <FromClass>Colony</FromClass>
    26       <MinDistance>120</MinDistance>
    27     </Distance>
    28   </BuildRestrictions>
    29   <Cost>
    30     <BuildTime>300</BuildTime>
    31     <Resources>
    32       <wood>200</wood>
    33       <stone>200</stone>
    34       <metal>200</metal>
    35     </Resources>
    36   </Cost>
    37   <Footprint>
    38     <Square width="25.5" depth="25.5"/>
    39     <Height>12.0</Height>
    40   </Footprint>
    41   <Health>
    42     <Max>2000</Max>
    43     <SpawnEntityOnDeath>rubble/rubble_stone_5x5</SpawnEntityOnDeath>
    44   </Health>
     2<Entity parent="template_structure_civic_civil_centre_military_colony">
    453  <Identity>
    464    <Civ>sele</Civ>
    47     <GenericName>Military Colony</GenericName>
    48     <SpecificName>Klēroukhia</SpecificName>
    49     <Classes datatype="tokens">Town Colony</Classes>
    505    <History>The Seleucid kings invited Greeks, Macedonians, Galatians (Gauls), Cretans, and Thracians alike to settle in within the vast territories of the empire. They settled in military colonies called cleruchies (klēroukhia). Under this arrangement, the settlers were given a plot of land, or a kleros, and in return were required to serve in the great king's army when called to duty. This created a upper-middle class of military settlers who owed their livelihoods and fortunes to the Syrian kings and helped grow the available manpower for the imperial Seleucid army. A side effect of this system was that it drained the Greek homeland of military-aged men, a contributing factor to Greece's eventual conquest by Rome.</History>
    516    <Tooltip>This is the Seleucid expansion building, similar to Civic Centers for other factions. It is weaker and carries a smaller territory influence, but is cheaper and built faster.
    527- Train settler-soldiers of various nationalities.
    538- Min. distance from other Military Colonies: 120 meters.</Tooltip>
    54     <Icon>structures/military_settlement.png</Icon>
    55     <RequiredTechnology>phase_town</RequiredTechnology>
    569  </Identity>
    57   <Obstruction>
    58     <Static width="23.0" depth="23.0"/>
    59   </Obstruction>
    6010  <ProductionQueue>
    6111    <Entities datatype="tokens">
    6212      units/{civ}_infantry_swordsman_merc_b
    6313      units/{civ}_infantry_archer_merc_b
    6414      units/{civ}_cavalry_spearman_merc_b
    6515    </Entities>
    66     <Technologies datatype="tokens">
    67       -phase_town
    68       -phase_city
    69     </Technologies>
    7016  </ProductionQueue>
    71   <Sound>
    72     <SoundGroups>
    73       <select>interface/select/building/sel_gymnasium.xml</select>
    74       <constructed>interface/complete/building/complete_gymnasium.xml</constructed>
    75       <death>attack/destruction/building_collapse_large.xml</death>
    76     </SoundGroups>
    77   </Sound>
    78   <TerritoryDecay>
    79     <DecayRate>1</DecayRate>
    80   </TerritoryDecay>
    81   <TerritoryInfluence>
    82     <Radius>80</Radius>
    83   </TerritoryInfluence>
    8417  <VisualActor>
    8518    <Actor>structures/ptolemies/settlement.xml</Actor>
    8619    <FoundationActor>structures/fndn_5x5.xml</FoundationActor>
    8720  </VisualActor>
    8821</Entity>
  • binaries/data/mods/public/simulation/templates/template_structure_civic_civil_centre_military_colony.xml

     
     1<?xml version="1.0" encoding="utf-8"?>
     2<Entity parent="template_structure_civic_civil_centre">
     3  <Attack>
     4    <Ranged>
     5      <Hack>0.0</Hack>
     6      <Pierce>15.0</Pierce>
     7      <Crush>0.0</Crush>
     8      <MaxRange>72.0</MaxRange>
     9      <MinRange>10.0</MinRange>
     10      <ProjectileSpeed>75.0</ProjectileSpeed>
     11      <PrepareTime>1200</PrepareTime>
     12      <RepeatTime>2000</RepeatTime>
     13      <Spread>1.5</Spread>
     14    </Ranged>
     15  </Attack>
     16  <BuildingAI>
     17    <DefaultArrowCount>1</DefaultArrowCount>
     18    <MaxArrowCount>15</MaxArrowCount>
     19    <GarrisonArrowMultiplier>1</GarrisonArrowMultiplier>
     20  </BuildingAI>
     21  <BuildRestrictions>
     22    <Territory>own neutral</Territory>
     23    <Category>Colony</Category>
     24    <Distance>
     25      <FromClass>Colony</FromClass>
     26      <MinDistance>120</MinDistance>
     27    </Distance>
     28  </BuildRestrictions>
     29  <Cost>
     30    <BuildTime>300</BuildTime>
     31    <Resources>
     32      <wood>200</wood>
     33      <stone>200</stone>
     34      <metal>200</metal>
     35    </Resources>
     36  </Cost>
     37  <Footprint>
     38    <Square width="25.0" depth="25.0"/>
     39    <Height>12.0</Height>
     40  </Footprint>
     41  <Health>
     42    <Max>2000</Max>
     43    <SpawnEntityOnDeath>rubble/rubble_stone_5x5</SpawnEntityOnDeath>
     44  </Health>
     45  <Identity>
     46    <GenericName>Military Colony</GenericName>
     47    <SpecificName>Klēroukhía</SpecificName>
     48    <Classes datatype="tokens">Town Colony</Classes>
     49    <Icon>structures/military_settlement.png</Icon>
     50    <RequiredTechnology>phase_town</RequiredTechnology>
     51  </Identity>
     52  <Obstruction>
     53    <Static width="23.0" depth="23.0"/>
     54  </Obstruction>
     55  <ProductionQueue>
     56    <Technologies datatype="tokens">
     57      -phase_town
     58      -phase_city
     59    </Technologies>
     60  </ProductionQueue>
     61  <Sound>
     62    <SoundGroups>
     63      <select>interface/select/building/sel_gymnasium.xml</select>
     64      <constructed>interface/complete/building/complete_gymnasium.xml</constructed>
     65      <death>attack/destruction/building_collapse_large.xml</death>
     66    </SoundGroups>
     67  </Sound>
     68  <TerritoryDecay>
     69    <DecayRate>1</DecayRate>
     70  </TerritoryDecay>
     71  <TerritoryInfluence>
     72    <Radius>80</Radius>
     73  </TerritoryInfluence>
     74</Entity>