Changes between Version 16 and Version 17 of Technology_Templates


Ignore:
Timestamp:
Jan 8, 2017, 4:35:44 PM (7 years ago)
Author:
fatherbushido
Comment:

update to r19122 (s0600204 's patch)

Legend:

Unmodified
Added
Removed
Modified
  • Technology_Templates

    v16 v17  
    3333        },
    3434        "cost": { "food": 100, "wood": 100, "stone": 0, "metal": 50 },
    35         "requirements": { "all": [{ "class": "Town", "number": 4 }, { "civ": "athen" }] },
     35        "requirements": { "all": [{ "entity": { "class": "Town", "number": 4 } }, { "civ": "athen" }] },
    3636        "requirementsTooltip": "Requires five village structures",
    3737        "supersedes": "village_phase",
     
    6565 * `{ "notciv": "pers" }` - The player mustn't be this civ
    6666
    67  * `{ "class": "Village", "number": 3 }` - this means that the player must own three entities with the class `Village`, i.e. three houses, or a farmstead and two outposts, etc.
     67 * `{ "entity": { "class": "Village", "number": 3 } }` - this means that the player must own three entities with the class `Village`, i.e. three houses, or a farmstead and two outposts, etc.
    6868
    69  * `{ "class": "Town", "numberOfTypes": 2 }` - this means that the player must own two different types of entity with the class `Town`, i.e. a blacksmith and a defense tower meet the requirement but two towers do not.
     69 * `{ "entity": { "class": "Town", "numberOfTypes": 2 } }` - this means that the player must own two different types of entity with the class `Town`, i.e. a blacksmith and a defense tower meet the requirement but two towers do not.
    7070
    71  * `{ "all": [{...}, {...}, ...]}` - All of the requirements in the list must be met.
     71 * `{ "all": [{...}, {...}, ...] }` - All of the requirements in the list must be met.
    7272
    73  * `{ "any": [{...}, {...}, ...]}` - At least one of the requirements in the list must be met.
     73 * `{ "any": [{...}, {...}, ...] }` - At least one of the requirements in the list must be met.
    7474
    7575'''requirementsTooltip''': A human readable version of the requirements to be displayed in the tooltip.