Changes between Version 10 and Version 11 of Technology_Templates


Ignore:
Timestamp:
Apr 14, 2014, 7:12:55 PM (10 years ago)
Author:
sanderd17
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Technology_Templates

    v10 v11  
    4545                {"value": "ResourceGatherer/Rates/food.meat", "multiply": 10}
    4646        ],
    47         "affects": ["Female", "CitizenSoldier"]
     47        "affects": ["Female", "CitizenSoldier Melee"]
    4848}
    4949}}}
     
    7979Note that the code does no validity checking for the modification, the technology writer is responsible.
    8080
    81 '''affects''': A list of sets of classes which determine which entities are affected by the modification.  So the example above will affect females and spear wielding citizen soldiers.  So all of the classes within a string are required and it will affect an entity which matches any of the strings.
     81'''affects''': A list of sets of classes which determine which entities are affected by the modification.  So the example above will affect females and melee citizen soldiers.  So all of the classes within a string are required and it will affect an entity which matches any of the strings.
    8282
    83 Note that it is possible to add one extra affects string per modification line. This string will be used as extra condition to apply the affect (so used as AND).
     83Note that it is possible to add one extra affects string per modification line. This string will be used as extra condition to apply the affect. The above modification would apply to "spearman females" (which don't exist) and "spearman melee citizen soldiers".
    8484
    8585=== Technology Pairs ===