Changes between Version 10 and Version 11 of Technology_Templates
- Timestamp:
- Apr 14, 2014, 7:12:55 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Technology_Templates
v10 v11 45 45 {"value": "ResourceGatherer/Rates/food.meat", "multiply": 10} 46 46 ], 47 "affects": ["Female", "CitizenSoldier "]47 "affects": ["Female", "CitizenSoldier Melee"] 48 48 } 49 49 }}} … … 79 79 Note that the code does no validity checking for the modification, the technology writer is responsible. 80 80 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 wieldingcitizen 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. 82 82 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).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. The above modification would apply to "spearman females" (which don't exist) and "spearman melee citizen soldiers". 84 84 85 85 === Technology Pairs ===