Ticket #1487: restrictedclassesanimal.2.diff

File restrictedclassesanimal.2.diff, 17.5 KB (added by fatherbushido, 8 years ago)

merge some elephant templates in the same move

  • binaries/data/mods/public/simulation/templates/gaia/fauna_elephant_african_bush.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    2 <Entity parent="template_unit_fauna_hunt_defensive">
    3   <Armour>
    4     <Hack>3</Hack>
    5     <Pierce>4</Pierce>
    6     <Crush>5</Crush>
    7   </Armour>
    8   <Attack>
    9     <Melee>
    10       <Hack>25.0</Hack>
    11       <Pierce>10.0</Pierce>
    12       <Crush>20.0</Crush>
    13       <MaxRange>6.0</MaxRange>
    14       <RepeatTime>1000</RepeatTime>
    15       <Bonuses>
    16         <BonusCav>
    17           <Classes>Cavalry</Classes>
    18           <Multiplier>1.5</Multiplier>
    19         </BonusCav>
    20       </Bonuses>
    21     </Melee>
    22   </Attack>
     2<Entity parent="template_unit_fauna_hunt_defensive_elephant">
    233  <Footprint>
    244    <Square width="4.6" depth="9.2"/>
    255    <Height>4.0</Height>
    266  </Footprint>
    277  <Health>
    288    <Max>300</Max>
    299  </Health>
    3010  <Identity>
    31     <Civ>gaia</Civ>
    32     <Classes datatype="tokens">Elephant</Classes>
    3311    <SpecificName>African Bush Elephant</SpecificName>
    3412    <Icon>gaia/fauna_elephant_african_bush.png</Icon>
    3513  </Identity>
    36   <Loot>
    37     <xp>75</xp>
    38   </Loot>
    39   <Position>
    40     <Anchor>pitch</Anchor>
    41   </Position>
    4214  <ResourceSupply>
    4315    <Amount>800</Amount>
    4416    <Type>food.meat</Type>
    4517  </ResourceSupply>
    46   <Selectable>
    47     <Overlay>
    48       <Texture>
    49         <MainTexture>circle/256x256.png</MainTexture>
    50         <MainTextureMask>circle/256x256_mask.png</MainTextureMask>
    51       </Texture>
    52     </Overlay>
    53   </Selectable>
    54   <Sound>
    55     <SoundGroups>
    56       <select>actor/fauna/animal/elephant_select.xml</select>
    57       <order_walk>actor/fauna/animal/elephant_order.xml</order_walk>
    58       <order_attack>actor/fauna/animal/elephant_attack.xml</order_attack>
    59       <attack>actor/fauna/animal/elephant_attack.xml</attack>
    60       <death>actor/fauna/animal/elephant_death.xml</death>
    61       <trained>actor/fauna/animal/elephant_trained.xml</trained>
    62     </SoundGroups>
    63   </Sound>
    64   <UnitMotion>
    65     <PassabilityClass>large</PassabilityClass>
    66   </UnitMotion>
    6718  <VisualActor>
    6819    <Actor>fauna/elephant_african_bush.xml</Actor>
    6920  </VisualActor>
    7021</Entity>
  • binaries/data/mods/public/simulation/templates/gaia/fauna_elephant_asian.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    2 <Entity parent="template_unit_fauna_hunt_defensive">
    3   <Armour>
    4     <Hack>3</Hack>
    5     <Pierce>4</Pierce>
    6     <Crush>5</Crush>
    7   </Armour>
    8   <Attack>
    9     <Melee>
    10       <Hack>22.0</Hack>
    11       <Pierce>10.0</Pierce>
    12       <Crush>18.0</Crush>
    13       <MaxRange>6.0</MaxRange>
    14       <RepeatTime>1000</RepeatTime>
    15       <Bonuses>
    16         <BonusCav>
    17           <Classes>Cavalry</Classes>
    18           <Multiplier>1.5</Multiplier>
    19         </BonusCav>
    20       </Bonuses>
    21     </Melee>
    22   </Attack>
     2<Entity parent="template_unit_fauna_hunt_defensive_elephant">
    233  <Footprint>
    244    <Square width="4.0" depth="8.0"/>
    255    <Height>3.5</Height>
    266  </Footprint>
    277  <Health>
    288    <Max>250</Max>
    299  </Health>
    3010  <Identity>
    31     <Civ>gaia</Civ>
    32     <Classes datatype="tokens">Elephant</Classes>
    3311    <SpecificName>Asian Elephant</SpecificName>
    3412    <Icon>gaia/fauna_elephant_asian.png</Icon>
    3513  </Identity>
    3614  <Loot>
    3715    <xp>60</xp>
    3816  </Loot>
    39   <Position>
    40     <Anchor>pitch</Anchor>
    41   </Position>
    4217  <ResourceSupply>
    4318    <Amount>650</Amount>
    4419    <Type>food.meat</Type>
    4520  </ResourceSupply>
    46   <Selectable>
    47     <Overlay>
    48       <Texture>
    49         <MainTexture>circle/256x256.png</MainTexture>
    50         <MainTextureMask>circle/256x256_mask.png</MainTextureMask>
    51       </Texture>
    52     </Overlay>
    53   </Selectable>
    54   <Sound>
    55     <SoundGroups>
    56       <select>actor/fauna/animal/elephant_select.xml</select>
    57       <order_walk>actor/fauna/animal/elephant_order.xml</order_walk>
    58       <order_attack>actor/fauna/animal/elephant_attack.xml</order_attack>
    59       <attack>actor/fauna/animal/elephant_attack.xml</attack>
    60       <death>actor/fauna/animal/elephant_death.xml</death>
    61       <trained>actor/fauna/animal/elephant_trained.xml</trained>
    62     </SoundGroups>
    63   </Sound>
    6421  <VisualActor>
    6522    <Actor>fauna/elephant_asian.xml</Actor>
    6623  </VisualActor>
    6724</Entity>
  • binaries/data/mods/public/simulation/templates/gaia/fauna_elephant_north_african.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    2 <Entity parent="template_unit_fauna_hunt_defensive">
    3   <Armour>
    4     <Hack>3</Hack>
    5     <Pierce>4</Pierce>
    6     <Crush>5</Crush>
    7   </Armour>
    8   <Attack>
    9     <Melee>
    10       <Hack>20.0</Hack>
    11       <Pierce>20.0</Pierce>
    12       <Crush>0.0</Crush>
    13       <MaxRange>6.0</MaxRange>
    14       <RepeatTime>1000</RepeatTime>
    15         <Bonuses>
    16           <BonusCav>
    17             <Classes>Cavalry</Classes>
    18             <Multiplier>1.5</Multiplier>
    19           </BonusCav>
    20         </Bonuses>
    21     </Melee>
    22   </Attack>
     2<Entity parent="template_unit_fauna_hunt_defensive_elephant">
    233  <Footprint>
    244    <Square width="3.5" depth="7.0"/>
    255    <Height>3.0</Height>
    266  </Footprint>
    277  <Health>
    288    <Max>200</Max>
    299  </Health>
    3010  <Identity>
    31     <Civ>gaia</Civ>
    32     <Classes datatype="tokens">Elephant</Classes>
    3311    <SpecificName>North African Elephant</SpecificName>
    3412    <Icon>gaia/fauna_elephant_north_african.png</Icon>
    3513  </Identity>
    3614  <Loot>
    3715    <xp>50</xp>
    3816  </Loot>
    3917  <ResourceSupply>
    4018    <Amount>500</Amount>
    4119    <Type>food.meat</Type>
    4220  </ResourceSupply>
    43   <Selectable>
    44     <Overlay>
    45       <Texture>
    46         <MainTexture>circle/256x256.png</MainTexture>
    47         <MainTextureMask>circle/256x256_mask.png</MainTextureMask>
    48       </Texture>
    49     </Overlay>
    50   </Selectable>
    51   <Sound>
    52     <SoundGroups>
    53       <select>actor/fauna/animal/elephant_select.xml</select>
    54       <order_walk>actor/fauna/animal/elephant_order.xml</order_walk>
    55       <order_attack>actor/fauna/animal/elephant_attack.xml</order_attack>
    56       <attack>actor/fauna/animal/elephant_attack.xml</attack>
    57       <death>actor/fauna/animal/elephant_death.xml</death>
    58       <trained>actor/fauna/animal/elephant_trained.xml</trained>
    59     </SoundGroups>
    60   </Sound>
    61   <UnitMotion>
    62     <WalkSpeed>3.0</WalkSpeed>
    63     <Run>
    64       <Speed>10.0</Speed>
    65     </Run>
    66   </UnitMotion>
    6721  <VisualActor>
    6822    <Actor>fauna/elephant_african_forest.xml</Actor>
    6923  </VisualActor>
    7024</Entity>
  • binaries/data/mods/public/simulation/templates/gaia/fauna_walrus.xml

     
    1010      <Hack>15.0</Hack>
    1111      <Pierce>10.0</Pierce>
    1212      <Crush>0.0</Crush>
    1313      <MaxRange>4.0</MaxRange>
    1414      <RepeatTime>1000</RepeatTime>
     15      <RestrictedClasses datatype="tokens">Structure Ship</RestrictedClasses>
    1516    </Melee>
    1617  </Attack>
    1718  <Footprint>
    1819    <Square width="3.2" depth="6.4"/>
    1920    <Height>2.0</Height>
  • binaries/data/mods/public/simulation/templates/template_unit_fauna_breed.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_fauna">
    3   <Identity>
    4   </Identity>
    53  <Vision>
    64    <Range>20</Range>
    75  </Vision>
    86</Entity>
  • binaries/data/mods/public/simulation/templates/template_unit_fauna_breed_passive.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_fauna_breed">
    3   <Identity>
    4   </Identity>
    53  <UnitAI>
    64    <NaturalBehaviour>passive</NaturalBehaviour>
    75  </UnitAI>
    86  <Vision>
    97    <Range>10</Range>
  • binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_aggressive.xml

     
    55      <Hack>1</Hack>
    66      <Pierce>1</Pierce>
    77      <Crush>0</Crush>
    88      <MaxRange>4</MaxRange>
    99      <RepeatTime>1000</RepeatTime>
    10       <RestrictedClasses datatype="tokens">Structure</RestrictedClasses>
     10      <RestrictedClasses datatype="tokens">Structure Ship</RestrictedClasses>
    1111    </Melee>
    1212  </Attack>
    13   <Identity>
    14   </Identity>
    1513  <Loot>
    1614    <xp>20</xp>
    1715  </Loot>
    1816  <UnitAI>
    1917    <NaturalBehaviour>aggressive</NaturalBehaviour>
  • binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_defensive.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_fauna_hunt">
    3   <Identity>
    4   </Identity>
    53  <UnitAI>
    64    <NaturalBehaviour>defensive</NaturalBehaviour>
    75  </UnitAI>
    86</Entity>
  • binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_defensive_elephant.xml

     
     1<?xml version="1.0" encoding="utf-8"?>
     2<Entity parent="template_unit_fauna_hunt_defensive">
     3  <Armour>
     4    <Hack>3</Hack>
     5    <Pierce>4</Pierce>
     6    <Crush>5</Crush>
     7  </Armour>
     8  <Attack>
     9    <Melee>
     10      <Hack>25.0</Hack>
     11      <Pierce>10.0</Pierce>
     12      <Crush>20.0</Crush>
     13      <MaxRange>6.0</MaxRange>
     14      <RepeatTime>1000</RepeatTime>
     15      <Bonuses>
     16        <BonusCav>
     17          <Classes>Cavalry</Classes>
     18          <Multiplier>1.5</Multiplier>
     19        </BonusCav>
     20      </Bonuses>
     21      <RestrictedClasses datatype="tokens">Structure Ship</RestrictedClasses>
     22    </Melee>
     23  </Attack>
     24  <Identity>
     25    <Civ>gaia</Civ>
     26    <Classes datatype="tokens">Elephant</Classes>
     27  </Identity>
     28  <Position>
     29    <Anchor>pitch</Anchor>
     30  </Position>
     31  <Selectable>
     32    <Overlay>
     33      <Texture>
     34        <MainTexture>circle/256x256.png</MainTexture>
     35        <MainTextureMask>circle/256x256_mask.png</MainTextureMask>
     36      </Texture>
     37    </Overlay>
     38  </Selectable>
     39  <Sound>
     40    <SoundGroups>
     41      <select>actor/fauna/animal/elephant_select.xml</select>
     42      <order_walk>actor/fauna/animal/elephant_order.xml</order_walk>
     43      <order_attack>actor/fauna/animal/elephant_attack.xml</order_attack>
     44      <attack>actor/fauna/animal/elephant_attack.xml</attack>
     45      <death>actor/fauna/animal/elephant_death.xml</death>
     46      <trained>actor/fauna/animal/elephant_trained.xml</trained>
     47    </SoundGroups>
     48  </Sound>
     49  <UnitMotion>
     50    <PassabilityClass>large</PassabilityClass>
     51    <WalkSpeed>3.0</WalkSpeed>
     52    <Run>
     53      <Speed>10.0</Speed>
     54    </Run>
     55  </UnitMotion>
     56  <VisualActor>
     57    <Actor>fauna/elephant_african_forest.xml</Actor>
     58  </VisualActor>
     59</Entity>
  • binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_passive.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_fauna_hunt">
    3   <Identity>
    4   </Identity>
    53  <UnitAI>
    64    <NaturalBehaviour>passive</NaturalBehaviour>
    75  </UnitAI>
    86</Entity>
  • binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_skittish.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_fauna_hunt">
    3   <Identity>
    4   </Identity>
    53  <UnitAI>
    64    <NaturalBehaviour>skittish</NaturalBehaviour>
    75  </UnitAI>
    86</Entity>
  • binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_violent.xml

     
    55      <Hack>1</Hack>
    66      <Pierce>1</Pierce>
    77      <Crush>0</Crush>
    88      <MaxRange>4</MaxRange>
    99      <RepeatTime>1000</RepeatTime>
    10       <RestrictedClasses datatype="tokens">Structure</RestrictedClasses>
     10      <RestrictedClasses datatype="tokens">Structure Ship</RestrictedClasses>
    1111    </Melee>
    1212  </Attack>
    13   <Identity>
    14   </Identity>
    1513  <UnitAI>
    1614    <NaturalBehaviour>violent</NaturalBehaviour>
    1715  </UnitAI>
    1816  <Vision>
    1917    <Range>10</Range>
  • binaries/data/mods/public/simulation/templates/template_unit_fauna_wild.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_fauna">
    3   <Identity>
    4   </Identity>
    53</Entity>
  • binaries/data/mods/public/simulation/templates/template_unit_fauna_wild_aggressive.xml

     
    55      <Hack>1</Hack>
    66      <Pierce>1</Pierce>
    77      <Crush>0</Crush>
    88      <MaxRange>4</MaxRange>
    99      <RepeatTime>1000</RepeatTime>
    10       <RestrictedClasses datatype="tokens">Structure</RestrictedClasses>
     10      <RestrictedClasses datatype="tokens">Structure Ship</RestrictedClasses>
    1111    </Melee>
    1212  </Attack>
    13   <Identity>
    14   </Identity>
    1513  <Loot>
    1614    <xp>20</xp>
    1715  </Loot>
    1816  <UnitAI>
    1917    <NaturalBehaviour>aggressive</NaturalBehaviour>
  • binaries/data/mods/public/simulation/templates/template_unit_fauna_wild_defensive.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_fauna_wild">
    3   <Identity>
    4   </Identity>
    53  <Loot>
    64    <xp>15</xp>
    75  </Loot>
    86  <UnitAI>
    97    <NaturalBehaviour>defensive</NaturalBehaviour>
  • binaries/data/mods/public/simulation/templates/template_unit_fauna_wild_passive.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_unit_fauna_wild">
    3   <Identity>
    4   </Identity>
    53  <UnitAI>
    64    <NaturalBehaviour>passive</NaturalBehaviour>
    75  </UnitAI>
    86</Entity>
  • binaries/data/mods/public/simulation/templates/template_unit_fauna_wild_violent.xml

     
    55      <Hack>1</Hack>
    66      <Pierce>1</Pierce>
    77      <Crush>0</Crush>
    88      <MaxRange>4</MaxRange>
    99      <RepeatTime>1000</RepeatTime>
    10       <RestrictedClasses datatype="tokens">Structure</RestrictedClasses>
     10      <RestrictedClasses datatype="tokens">Structure Ship</RestrictedClasses>
    1111    </Melee>
    1212  </Attack>
    13   <Identity>
    14   </Identity>
    1513  <Loot>
    1614    <xp>20</xp>
    1715  </Loot>
    1816  <UnitAI>
    1917    <NaturalBehaviour>violent</NaturalBehaviour>