Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "name": "BuildRoom",
- "desc": "A given actor will work to build a room at a given position, of a given type",
- "inputs": [
- {
- "name": "target",
- "type": "Actor",
- "typeHas": ["CanMove", "CanLift", "CanDig", "CanBuild"]
- },
- {
- "name": "roomType",
- "type": "RoomType"
- },
- {
- "name": "roomCells",
- "type": "CellCollection"
- }
- ],
- "subjobs": [
- {
- "name": "DigOutPathToArea",
- "inputs": {
- "target": "$target",
- "areaCells": "$roomCells"
- }
- },
- {
- "name": "ClearArea",
- "inputs": {
- "target": "$target",
- "areaCells": "$roomCells"
- }
- },
- {
- "name": "BuildWalls",
- "inputs": {
- "target": "$target",
- "roomCells": "$roomCells",
- "roomType": "$roomType"
- }
- }
- ],
- "conditions": [
- // no additional conditions on top of sub jobs
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement