Ticket #4125: towerupgrade.diff

File towerupgrade.diff, 2.6 KB (added by fatherbushido, 3 years ago)
  • binaries/data/mods/public/simulation/templates/structures/iber_defense_tower.xml

     
    1010  </BuildingAI>
    1111  <Cost>
    1212    <PopulationBonus>5</PopulationBonus>
    1313    <BuildTime>200</BuildTime>
    1414    <Resources>
    15       <wood>0</wood>
    16       <stone>300</stone>
     15      <wood>50</wood>
     16      <stone>250</stone>
    1717    </Resources>
    1818  </Cost>
    1919  <Footprint replace="">
    2020    <Circle radius="8.0"/>
    2121    <Height>12.0</Height>
  • binaries/data/mods/public/simulation/templates/structures/iber_wooden_tower.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    22<Entity parent="template_structure_defense_wooden_tower">
    33  <Identity>
    44    <Civ>iber</Civ>
    55  </Identity>
    6 <VisualActor>
    7   <Actor>structures/iberians/wooden_tower.xml</Actor>
    8 </VisualActor>
     6  <Upgrade>
     7    <Tower>
     8      <Entity>structures/{civ}_defense_tower</Entity>
     9      <Tooltip>Upgrade to a defense tower.</Tooltip>
     10      <RequiredTechnology>phase_town</RequiredTechnology>
     11      <Cost>
     12        <stone>250</stone>
     13      </Cost>
     14      <Time>160</Time>
     15    </Tower>
     16  </Upgrade>
     17  <VisualActor>
     18    <Actor>structures/iberians/wooden_tower.xml</Actor>
     19  </VisualActor>
    920</Entity>
  • binaries/data/mods/public/simulation/templates/template_structure_defense_wooden_tower.xml

     
    6262  </Obstruction>
    6363  <TerritoryInfluence disable=""/>
    6464  <StatusBars>
    6565    <HeightOffset>18.0</HeightOffset>
    6666  </StatusBars>
     67  <Upgrade>
     68    <Tower>
     69      <Entity>structures/{civ}_defense_tower</Entity>
     70      <Tooltip>Upgrade to a defense tower.</Tooltip>
     71      <RequiredTechnology>phase_town</RequiredTechnology>
     72      <Cost>
     73        <stone>100</stone>
     74      </Cost>
     75      <Time>110</Time>
     76    </Tower>
     77  </Upgrade>
    6778  <VisualActor>
    6879    <Actor>props/special/palisade_rocks_fort.xml</Actor>
    6980  </VisualActor>
    7081</Entity>