Ticket #3830: ok2.diff

File ok2.diff, 2.4 KB (added by fatherbushido, 8 years ago)

same workaround, depends if one want to remove useless (in this case) code or not

  • binaries/data/mods/public/simulation/data/technologies/pop_wonder.json

     
    88        "ptol": "Peristyle",
    99        "rome": "Peristyle",
    1010        "pers": "Paradise"
    1111    },
    1212    "description": "The wonder attracts many more people to your civilization.",
    13     "cost": { "food": 2000, "wood": 3000, "stone": 500, "metal": 500 },
     13    "cost": { "food": 3000, "wood": 3000, "stone": 500, "metal": 500 },
    1414    "requirements": { "tech": "phase_city" },
    1515    "requirementsTooltip": "Unlocked in City Phase.",
    1616    "icon": "special_treasure.png",
    1717    "researchTime": 40,
    18     "tooltip": "Increase the population bonus of the wonder by 40.",
    19     "modifications": [{ "value": "Auras/Aura1/Modifications/Player/MaxPopulation/Add", "add": 40 }],
    20     "affects": ["Wonder"],
     18    "tooltip": "+50 maximum population cap.",
     19    "modifications": [{ "value": "Player/MaxPopulation", "add": 50 }],
    2120    "soundComplete": "interface/alarm/alarm_upgradearmory.xml"
    2221}
  • binaries/data/mods/public/simulation/templates/template_structure_wonder.xml

     
    88      <Hack>2</Hack>
    99      <Pierce>10</Pierce>
    1010      <Crush>2</Crush>
    1111    </Foundation>
    1212  </Armour>
    13   <Auras>
    14     <Aura1>
    15       <Type>global</Type>
    16       <Affects>Player</Affects>
    17       <Modifications>
    18         <Player.MaxPopulation> <Add>10</Add> </Player.MaxPopulation>
    19       </Modifications>
    20       <AuraName>Wonder Aura</AuraName>
    21       <AuraDescription>+10 maximum population cap.</AuraDescription>
    22      </Aura1>
    23   </Auras>
    2413  <BuildRestrictions>
    2514    <Category>Wonder</Category>
    2615  </BuildRestrictions>
    2716  <Capturable>
    28     <CapturePoints>2000</CapturePoints>
     17    <CapturePoints>1500</CapturePoints>
    2918    <RegenRate>5.0</RegenRate>
    3019  </Capturable>
    3120  <Cost>
    3221    <BuildTime>1000</BuildTime>
    3322    <Resources>
    34       <food>1000</food>
     23      <food>0</food>
    3524      <wood>1000</wood>
    3625      <stone>1000</stone>
    3726      <metal>1000</metal>
    3827    </Resources>
    3928  </Cost>