ModRequirementsTable: Difference between revisions
Jump to navigation
Jump to search
Stlnegril9 (talk | contribs) clarify baseOffsets |
Stlnegril9 (talk | contribs) link to TerrainModIds |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Table of 'requirements' used in `'''baseOffsets'''` entries in [[ModBuildings|buildings]], [[ModStructures|structures]], and [[ModFlora|flora]].<br> | Table of 'requirements' used in `'''baseOffsets'''` entries in [[ModBuildings|buildings]], [[ModStructures|structures]], and [[ModFlora|flora]].<br> | ||
Also used to check Research/Tech (Value=6) for buildings:ageComponentsDict, | Also used to check Research/Tech (Value=6) for [[ModageComponentsDicts|buildings:ageComponentsDict]], [[ModTechs|Techs]], and [[ModBoats|Boats]] .<br> | ||
Note some value are deprecated/never used. | Note some value are deprecated/never used. | ||
{| class="wikitable sortable" style="text-align: center" | {| class="wikitable sortable" style="text-align: center" | ||
| Line 113: | Line 113: | ||
|WHEAT_FIELD_SLOPE | |WHEAT_FIELD_SLOPE | ||
|baseOffsets in wheat_field.json, vegeable_plot.json | |baseOffsets in wheat_field.json, vegeable_plot.json | ||
|- | |||
|28 | |||
|Is_Xmas | |||
|holiday season | |||
|- | |||
|29 | |||
|Is_Pumpkin_Harvest | |||
|fall harvest season | |||
|- | |||
|30 | |||
|IsTerrainCategory | |||
|baseOffsets in SheepFarm, Well, Orchard, Vegetable Farm, Wheat Farm, Cocoa Farm<br> for matchIdHash values, see [[TerrainModIds|Terrain Category IDs]] | |||
|- | |- | ||
|} | |} | ||
Latest revision as of 14:36, 16 October 2024
Table of 'requirements' used in `baseOffsets` entries in buildings, structures, and flora.
Also used to check Research/Tech (Value=6) for buildings:ageComponentsDict, Techs, and Boats .
Note some value are deprecated/never used.
| Value | Requirement | Example |
|---|---|---|
| 0 | EMPTY | deprecated |
| 1 | TEMPERATURE | deprecated |
| 2 | TERRAIN_TYPE | fishing_hut.json baseOffsets |
| 3 | HAS_CONSTRUCTED_BUILDINGS | |
| 4 | OCCUPIED_MILITARY_BUILDINGS | |
| 5 | CITIZEN_COUNT | deprecated |
| 6 | TECH_RESEARCHED | |
| 7 | OWNED_TILES | deprecated |
| 8 | LAND_TYPE | harbour.json baseOffsets |
| 9 | HAS_BUILDINGS | |
| 10 | ROAD_COUNT | |
| 11 | CLICK_REOURCES_STORAGE_ICON | deprecated |
| 12 | HAS_SHEEP_FIELDS | |
| 13 | HAS_FORESTRY_TILES | |
| 14 | HAS_LUMBEJACK_TILES | |
| 15 | KNOWN_PLAYERS | |
| 16 | HAS_PRODUCED_ITEM | |
| 17 | GAME_OVER | |
| 18 | MOUNTAIN_MINE_OCCUPIER | shaft_mine.json baseoffsets |
| 19 | FISH | fishing_hut.json baseOffsets |
| 21 | FLAG_COUNT | |
| 22 | TRADER_REPUTATION | |
| 23 | SPECIAL_TILE | |
| 24 | SHEEP_FIELD_SLOPE | sheep_pasture.json baseOffsets |
| 25 | COW_FIELD_SLOPE | cow_field.json baseOffsets |
| 26 | ORCHARD_FIELD_SLOPE | orchard_plot.json baseOffsets |
| 27 | WHEAT_FIELD_SLOPE | baseOffsets in wheat_field.json, vegeable_plot.json |
| 28 | Is_Xmas | holiday season |
| 29 | Is_Pumpkin_Harvest | fall harvest season |
| 30 | IsTerrainCategory | baseOffsets in SheepFarm, Well, Orchard, Vegetable Farm, Wheat Farm, Cocoa Farm for matchIdHash values, see Terrain Category IDs |