ModbaseOffsets: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
isBypassVerify True notes
Line 71: Line 71:
| boolean
| boolean
| ask CodeByFire??
| ask CodeByFire??
|
| see [[baseOffsets_isBypassVerify_True |List of buildings with isBypassVerify=True]]
|-
|-
| trackDirections
| trackDirections

Revision as of 18:55, 30 January 2023

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


JSON

Table of baseOffsets:

Value Type Description Example/Link
type integer defines as 'baseOffsets' 0
coord Name-Value pairs X and Y coordinates of tile "coord": {"x": -1,"y": 2}
requirements array tile requirements see link ModbaseOffsetsRequirements
isOccupy boolean tile will count as player occupied? true / CowFarm, Harbour, LargeHarbour, ShaftMine, SheepFarm, TrainStation
isOwnedTerritoryRequired boolean tile must be within player territory true
structureToCreate integer structure to create 255 or StructureModIds
layerTypeToCreate integer layer to create - can adjust bot height/pathing 255 or 3
customLayerHeights array allows slope of tile: height of TopLeft, TopRight, BottomLeft, BottomRight null OR [ 0,-3, 0,-3]
autoAdjustType integer adjust tile. Default, None, Only Up, Only Down, Flatten from : 0,1,2,3,4
isPassable boolean bots may path through the tile true
sidesToAdjust array side(s) to adjust height to adjacent tile [] OR [{"x": -1,"y": 0},{"x": 1,"y": 0}]
heightOffset integer adjust height of tile from "0" see Boatyard, TrainStation, ColonyShip, ShaftMine, Well
isBypassVerify boolean ask CodeByFire?? see List of buildings with isBypassVerify=True
trackDirections array Obsolete?
inaccessibleDirections array sides of tile that bot may not access [] OR [{"x": 0,"y": 1},{"x": 1,"y": 0}]
doesNeedUnoccupied boolean Tile needs to be occupied? See ShaftMine
showFootprintHighlight boolean Highlight tile footprint when placing/deleting See ShaftMine 1,3 and 1,4
heightLeeway integer Clearance needed over tile for Elevated Rails -1, 6, 10, 12, 16, 24, 34