Ticket #4125: towerupgrade_v2.diff

File towerupgrade_v2.diff, 2.6 KB (added by elexis, 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  <Upgrade>
     7    <Tower>
     8      <Entity>structures/{civ}_defense_tower</Entity>
     9      <Tooltip>Enforce with stone and upgrade to a defense tower</Tooltip>
     10      <RequiredTechnology>phase_town</RequiredTechnology>
     11      <Cost>
     12        <stone>250</stone>
     13      </Cost>
     14      <Time>120</Time>
     15    </Tower>
     16  </Upgrade>
    617  <VisualActor>
    718    <Actor>structures/iberians/wooden_tower.xml</Actor>
    819  </VisualActor>
    920</Entity>
  • binaries/data/mods/public/simulation/templates/template_structure_defense_wooden_tower.xml

     
    6666  </ProductionQueue>
    6767  <StatusBars>
    6868    <HeightOffset>18.0</HeightOffset>
    6969  </StatusBars>
    7070  <TerritoryInfluence disable=""/>
     71  <Upgrade>
     72    <Tower>
     73      <Entity>structures/{civ}_defense_tower</Entity>
     74      <Tooltip>Enforce with stone and upgrade to a defense tower.</Tooltip>
     75      <RequiredTechnology>phase_town</RequiredTechnology>
     76      <Cost>
     77        <wood>50</wood>
     78        <stone>100</stone>
     79      </Cost>
     80      <Time>100</Time>
     81    </Tower>
     82  </Upgrade>
    7183  <VisualActor>
    7284    <Actor>props/special/palisade_rocks_fort.xml</Actor>
    7385  </VisualActor>
    7486</Entity>