ModbaseOffsetsRequirements: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
No edit summary
Line 31: Line 31:
| number of tiles used?
| number of tiles used?
| 0, 1
| 0, 1
|-
|}
=Example Entries=
{| class="wikitable sortable" style="text-align: center"
|-
! Type  !! CompareType!! TargetId !! MatchIdHash !! Amount !! Example  !! Result
|-
| 1
| 2
| 3
| 4
| 5
| Well
| grass
|-
| 8
| 0
| 0
| [1,3]
| 0
| Well
| grass
|-
|-
|}
|}

Revision as of 17:20, 13 July 2022

`requirements` used in `baseOffsets` of buildings, structures, and flora.


JSON

Value Type Description Example/Link
type integer requirement type of baseOffsets ["requirements"] baseOffsetsRequirmentsType
compareType integer type to ??? 0
targetId integer target? 255
matchIdHash boolean tile ID types to match? null, [1, 3, 8]
amount integer number of tiles used? 0, 1


Example Entries

Type CompareType TargetId MatchIdHash Amount Example Result
1 2 3 4 5 Well grass
8 0 0 [1,3] 0 Well grass