Advertisement
Roest

action/job definitions

May 19th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.39 KB | None | 0 0
  1. //actions.json
  2. "DigStairsDown": {
  3.         "ID": "DigStairsDown",
  4.         "Job": "DigStairsDown",
  5.         "Multi": false,
  6.         "SpriteID": [{
  7.                 "SpriteID": "Stairs",
  8.                 "Offset": "0 0 -1",
  9.                 "Rotate": true
  10.             },
  11.             {
  12.                 "SpriteID": "SelectionWall",
  13.                 "type": "wall"
  14.             }
  15.         ],
  16.         "TestTile": [{
  17.                 "Offset": "0 0 0",
  18.                 "Plant": false,
  19.                 "Construction": false
  20.             },
  21.             {
  22.                 "Offset": "0 0 -1",
  23.                 "Floor": true,
  24.                 "Wall": true,
  25.                 "Construction": false
  26.             }
  27.         ]
  28.     },
  29.  
  30. // jobs.json
  31.  
  32. "DigStairsDown": {
  33.         "SkillID": "Mining",
  34.         "RequiredToolItemID": "Pickaxe",
  35.         "Ticks": 50,
  36.         "Staging": [
  37.             [0, 0, 0],
  38.             [-1, 0, 0],
  39.             [0, -1, 0],
  40.             [1, 0, 0],
  41.             [0, 1, 0]
  42.         ],
  43.         "SpriteID" : [
  44.             {
  45.                 "SpriteID": "Stairs",
  46.                 "Offset" : "0 0 -1",
  47.                 "Rotate": true
  48.             }, 
  49.             {
  50.                 "SpriteID": "StairsTop",
  51.                 "Offset" : "0 0 0",
  52.                 "type" : "floor",
  53.                 "Rotate": true
  54.             },
  55.             {
  56.                 "SpriteID": "SelectionWall",
  57.                 "type" : "wall"
  58.             }
  59.         ],
  60.         "Tasks": [{
  61.                 "Task": "MoveToStaging"
  62.             },
  63.             {
  64.                 "Task": "WorkTicks",
  65.                 "Duration": 50
  66.             },
  67.             {
  68.                 "Task": "RemoveWall",
  69.                 "Offset": "0 0 0"
  70.             },
  71.             {
  72.                 "Task": "RemoveFloor",
  73.                 "Offset": "0 0 0"
  74.             },
  75.             {
  76.                 "Task": "RemoveWall",
  77.                 "Offset": "0 0 -1"
  78.             },
  79.             {
  80.                 "Task": "Construct",
  81.                 "Offset": "0 0 -1",
  82.                 "ConstructionID": "Stairs",
  83.                 "Material": "WallMaterial"
  84.             }
  85.         ]
  86.     },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement