ModbaseOffsetsRequirements: Difference between revisions
Jump to navigation
Jump to search
Stlnegril9 (talk | contribs) No edit summary |
Stlnegril9 (talk | contribs) |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
| type | | type | ||
| integer | | integer | ||
| | | type of baseOffsets ["requirements"] | ||
| [[ModRequirementsTable|baseOffsetsRequirmentsType]] | | [[ModRequirementsTable|baseOffsetsRequirmentsType]] | ||
|- | |- | ||
| Line 19: | Line 19: | ||
| targetId | | targetId | ||
| integer | | integer | ||
| target? | | target terrain type? | ||
| 255 | | 255 | ||
|- | |- | ||
| Line 25: | Line 25: | ||
| boolean | | boolean | ||
| tile ID types to match? | | tile ID types to match? | ||
| null, [1, 3, 8] | | null, [1, 3, 8] [[TerrainModIds]] | ||
|- | |- | ||
| amount | | amount | ||
| Line 40: | Line 40: | ||
! Type !! CompareType!! TargetId !! MatchIdHash !! Amount !! Example !! Result | ! Type !! CompareType!! TargetId !! MatchIdHash !! Amount !! Example !! Result | ||
|- | |- | ||
| <s>8 | |||
| <s>0 | |||
| <s>0 | |||
| <s>[1,3] | |||
| <s>0 | |||
| <s>Well | |||
| <s>grass/meadow | |||
|- | |||
| <s>8 | |||
|<s> 0 | |||
|<s> 0 | |||
|<s> [1,3] | |||
|<s> 0 | |||
|<s> SheepFarm | |||
| <s>grass/meadow | |||
|- | |||
| <s>8 | |||
| <s>0 | |||
| <s>0 | |||
| <s>[1,3] | |||
| <s>2 | |||
| <s>TreeField Structure | |||
| <s>grass/meadow 2 tiles | |||
|- | |||
| <s>8 | |||
| <s>0 | |||
| <s>0 | |||
| <s>[1,3] | |||
| <s>2 | |||
| <s>AnimalField Structure | |||
| <s>grass/meadow 2 tiles | |||
|- | |||
| 2 | |||
| 0 | |||
| 0 | |||
| null | |||
| 1 | |||
| FishHut, Harbour | |||
| Land | |||
|- | |||
| 2 | |||
| 0 | |||
| 2 | |||
| null | |||
| 1 | |||
| FishHut, Harbour | |||
| Land OR Water | |||
|- | |||
| 2 | |||
| 0 | |||
| 1 | | 1 | ||
| null | |||
| 0 | |||
| FishHut, Harbour | |||
| Water | |||
|- | |||
| 19 | |||
| 0 | |||
| 0 | |||
| null | |||
| 0 | |||
| FishHut | |||
| FishTile | |||
|- | |||
| 18 | |||
| 0 | |||
| 255 | |||
| null | |||
| 0 | |||
| ShaftMine | |||
| ShaftResource | |||
|- | |||
| 24 | |||
| 0 | |||
| 0 | |||
| null | |||
| 0 | |||
| SheepPasture | |||
| Sheep Field Slope | |||
|- | |||
| 25 | |||
| 0 | |||
| 0 | |||
| null | |||
| 0 | |||
| CowPasture | |||
| Cow Field Slope | |||
|- | |||
| 26 | |||
| 0 | |||
| 0 | |||
| null | |||
| 0 | |||
| Orchard, CocoaFarm | |||
| Orchard Field Slope | |||
|- | |||
| 27 | |||
| 0 | |||
| 0 | |||
| null | |||
| 0 | |||
| WheatFarm, VegetableFarm | |||
| Wheat Field Slope | |||
|- | |||
| 30 | |||
| 0 | |||
| 0 | |||
| 0 | |||
| 2 | |||
| Orchard, CocoaFarm | |||
| Fertile | |||
|- | |||
| 30 | |||
| 0 | |||
| 0 | |||
| 0 | |||
| 0 | |||
| Well, SheepFarm | |||
| Fertile | |||
|- | |||
| 30 | |||
| 0 | |||
| 0 | |||
| 0 | |||
| 2 | | 2 | ||
| | | Sheep Pasture, Cow Pasture | ||
| | | Fertile | ||
|- | |- | ||
| | | 30 | ||
| 0 | | 0 | ||
| 0 | | 0 | ||
| 0 | | 0 | ||
| | | 2 | ||
| | | Wheat Field, Vegetable Plot | ||
| Fertile | |||
|- | |- | ||
|} | |} | ||
Latest revision as of 19:55, 29 March 2023
`requirements` used in `baseOffsets` of buildings, structures, and flora.
JSON
| Value | Type | Description | Example/Link |
|---|---|---|---|
| type | integer | type of baseOffsets ["requirements"] | baseOffsetsRequirmentsType |
| compareType | integer | type to ??? | 0 |
| targetId | integer | target terrain type? | 255 |
| matchIdHash | boolean | tile ID types to match? | null, [1, 3, 8] TerrainModIds |
| amount | integer | number of tiles used? | 0, 1 |
Example Entries
| Type | CompareType | TargetId | MatchIdHash | Amount | Example | Result |
|---|---|---|---|---|---|---|
| 2 | 0 | 0 | null | 1 | FishHut, Harbour | Land |
| 2 | 0 | 2 | null | 1 | FishHut, Harbour | Land OR Water |
| 2 | 0 | 1 | null | 0 | FishHut, Harbour | Water |
| 19 | 0 | 0 | null | 0 | FishHut | FishTile |
| 18 | 0 | 255 | null | 0 | ShaftMine | ShaftResource |
| 24 | 0 | 0 | null | 0 | SheepPasture | Sheep Field Slope |
| 25 | 0 | 0 | null | 0 | CowPasture | Cow Field Slope |
| 26 | 0 | 0 | null | 0 | Orchard, CocoaFarm | Orchard Field Slope |
| 27 | 0 | 0 | null | 0 | WheatFarm, VegetableFarm | Wheat Field Slope |
| 30 | 0 | 0 | 0 | 2 | Orchard, CocoaFarm | Fertile |
| 30 | 0 | 0 | 0 | 0 | Well, SheepFarm | Fertile |
| 30 | 0 | 0 | 0 | 2 | Sheep Pasture, Cow Pasture | Fertile |
| 30 | 0 | 0 | 0 | 2 | Wheat Field, Vegetable Plot | Fertile |