Changes between Version 13 and Version 14 of Mod_Layout


Ignore:
Timestamp:
Nov 28, 2016, 12:37:48 PM (7 years ago)
Author:
elexis
Comment:

Explain the simulation/data/resources/ usage implemented with #3934.

Legend:

Unmodified
Added
Removed
Modified
  • Mod_Layout

    v13 v14  
    119119Data file specifying possible values for population capacity, game speeds, starting resources, etc.
    120120
     121===== resources =====
     122[wiki:JSON] data files specifying resources that can be gathered, traded and so forth (food, wood, ...).[[BR]]
     123The unit- and structure templates may only contain resources that are specified here.[[BR]]
     124In order to add a resource, a new icon must be specified in `setup_resources.xml`.[[BR]]
     125As of Alpha 21, the subtypes are only used to distinguish gatherrates. There must be at least one subtype per resource.[[BR]]
     126The `order` attribute specifies in which order the resources will be shown in the GUI.[[BR]]
     127The `truePrice` determines whether how much the resource is worth in comparison to the other resources (see also the explanation in `Barter.js`).[[BR]]
     128[[BR]]
     129The `aiAnalysisInfluenceGroup` determines whether and how the AI considers the resource for civic center and dropsite positioning:[[BR]]
     130* `0`: The resource is not considered at all.
     131* `1`: The resource is abundant but usually with a small amount each (like wood).
     132* `2`: For resources which are sparse but wich large amount each (as stone and metal).
     133
    121134===== victory_conditions =====
    122135