Ticket #3334: 3334.diff

File 3334.diff, 5.6 KB (added by Stan, 9 years ago)

Just Template Tweaking. I created a big house template, to make it easier in the future.

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

     
    11<?xml version="1.0" encoding="utf-8"?>
    2 <Entity parent="template_structure_civic_house">
     2<Entity parent="template_structure_civic_house_big">
    33  <Cost>
    44    <PopulationBonus>10</PopulationBonus>
    55    <BuildTime>53</BuildTime>
  • binaries/data/mods/public/simulation/templates/structures/mace_house.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    2 <Entity parent="template_structure_civic_house">
     2<Entity parent="template_structure_civic_house_big">
    33  <Cost>
    44    <PopulationBonus>10</PopulationBonus>
    55    <BuildTime>53</BuildTime>
  • binaries/data/mods/public/simulation/templates/structures/pers_house.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    2 <Entity parent="template_structure_civic_house">
     2<Entity parent="template_structure_civic_house_big">
    33  <Cost>
    44    <PopulationBonus>10</PopulationBonus>
    55    <BuildTime>60</BuildTime>
  • binaries/data/mods/public/simulation/templates/structures/rome_house.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    2 <Entity parent="template_structure_civic_house">
     2<Entity parent="template_structure_civic_house_big">
    33  <Cost>
    44    <PopulationBonus>10</PopulationBonus>
    55    <BuildTime>60</BuildTime>
  • binaries/data/mods/public/simulation/templates/structures/spart_house.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    2 <Entity parent="template_structure_civic_house">
     2<Entity parent="template_structure_civic_house_big">
    33  <Cost>
    44    <PopulationBonus>10</PopulationBonus>
    55    <BuildTime>53</BuildTime>
  • binaries/data/mods/public/simulation/templates/template_structure_civic_house_big.xml

     
     1<?xml version="1.0" encoding="utf-8"?>
     2<Entity parent="template_structure_civic">
     3  <BuildRestrictions>
     4    <Category>House</Category>
     5  </BuildRestrictions>
     6  <Capturable>
     7    <CapturePoints>300</CapturePoints>
     8  </Capturable>
     9  <Cost>
     10    <PopulationBonus>5</PopulationBonus>
     11    <BuildTime>30</BuildTime>
     12    <Resources>
     13      <wood>75</wood>
     14    </Resources>
     15  </Cost>
     16  <Footprint>
     17    <Square width="18.0" depth="18.0"/>
     18    <Height>5.0</Height>
     19  </Footprint>
     20  <GarrisonHolder>
     21    <Max>3</Max>
     22    <BuffHeal>0</BuffHeal>
     23    <EjectHealth>0.1</EjectHealth>
     24    <EjectClassesOnDestroy datatype="tokens">Unit</EjectClassesOnDestroy>
     25    <List datatype="tokens">Support</List>
     26    <LoadingRange>1</LoadingRange>
     27  </GarrisonHolder>
     28  <Health>
     29    <Max>800</Max>
     30    <SpawnEntityOnDeath>rubble/rubble_stone_3x3</SpawnEntityOnDeath>
     31  </Health>
     32  <Identity>
     33    <GenericName>House</GenericName>
     34    <Tooltip>Increase the population limit.</Tooltip>
     35    <Classes datatype="tokens">-ConquestCritical</Classes>
     36    <VisibleClasses datatype="tokens">Village House</VisibleClasses>
     37    <Icon>structures/house.png</Icon>
     38  </Identity>
     39  <Loot>
     40    <xp>100</xp>
     41    <food>0</food>
     42    <wood>10</wood>
     43    <stone>10</stone>
     44    <metal>0</metal>
     45  </Loot>
     46  <Obstruction>
     47    <Static width="14.0" depth="14.0"/>
     48  </Obstruction>
     49  <ProductionQueue>
     50    <BatchTimeModifier>1.0</BatchTimeModifier>
     51    <Entities datatype="tokens">
     52      units/{civ}_support_female_citizen_house
     53    </Entities>
     54    <Technologies datatype="tokens">
     55      health_females_01
     56      pop_house_01
     57      unlock_females_house
     58    </Technologies>
     59  </ProductionQueue>
     60  <Sound>
     61    <SoundGroups>
     62      <select>interface/select/building/sel_house.xml</select>
     63      <constructed>interface/complete/building/complete_house.xml</constructed>
     64      <death>attack/destruction/building_collapse_large.xml</death>
     65    </SoundGroups>
     66  </Sound>
     67  <StatusBars>
     68    <BarWidth>6.0</BarWidth>
     69    <BarHeight>0.6</BarHeight>
     70    <HeightOffset>8.0</HeightOffset>
     71  </StatusBars>
     72  <TerritoryInfluence>
     73    <Root>false</Root>
     74    <Radius>24</Radius>
     75    <Weight>40000</Weight>
     76  </TerritoryInfluence>
     77  <Vision>
     78    <Range>40</Range>
     79  </Vision>
     80  <VisualActor>
     81    <FoundationActor>structures/fndn_3x3.xml</FoundationActor>
     82  </VisualActor>
     83</Entity>