Changes between Version 1 and Version 2 of Technology_Templates


Ignore:
Timestamp:
Apr 21, 2012, 6:50:06 PM (12 years ago)
Author:
Jonathan Waller
Comment:

Updated to match the new affects code.

Legend:

Unmodified
Added
Removed
Modified
  • Technology_Templates

    v1 v2  
    4343        "tooltip": "Advance to Town Phase",
    4444        "modifications": [
    45                 {"value": "ResourceGatherer/Rates/food.grain", "multiplier": 15},
     45                {"value": "ResourceGatherer/Rates/food.grain", "multiplier": 15, affects: ["CitizenSoldier Ranged"]},
    4646                {"value": "ResourceGatherer/Rates/food.meat", "multiplier": 10}
    4747        ],
     
    7272'''autoResearch''': If this is true then the technology will be instantly researched with no cost when the requirements are met.  This could be useful for complicated technology setups or for civ specific bonuses.  This is an optional field and if set then cost, researchTime etc. are not needed because it is not user visible.
    7373
    74 '''modifications''': This is an array of modifications that the technology makes.  The values to modify will be added on request.  The available modifications are:[[BR]]
     74'''modifications''': This is an array of modifications that the technology makes.  A modification specific affects attribute is pecific to this modification.  The values to modify will be added on request.  The available modifications are:[[BR]]
    7575''multiplier'' - adds (multiplier-1)*originalValue to the property.  Note this is not cumulative.[[BR]]
    7676''add'' - adds this number to the property.  Can be negative.[[BR]]