ModbaseOffsets: Difference between revisions
Jump to navigation
Jump to search
Stlnegril9 (talk | contribs) No edit summary |
Stlnegril9 (talk | contribs) No edit summary |
||
| Line 3: | Line 3: | ||
=JSON= | =JSON= | ||
Table of | Table of baseOffsetss: | ||
{| class="wikitable sortable" style="text-align: center" | {| class="wikitable sortable" style="text-align: center" | ||
|- | |- | ||
Revision as of 16:21, 13 July 2022
`baseOffsets` used in buildings, structures, and flora.
JSON
Table of baseOffsetss:
| 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 |
| 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?? | |
| 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 |