Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. {
  2. "name": "BuildRoom",
  3. "desc": "A given actor will work to build a room at a given position, of a given type",
  4.  
  5. "inputs": [
  6. {
  7. "name": "target",
  8. "type": "Actor",
  9. "typeHas": ["CanMove", "CanLift", "CanDig", "CanBuild"]
  10. },
  11. {
  12. "name": "roomType",
  13. "type": "RoomType"
  14. },
  15. {
  16. "name": "roomCells",
  17. "type": "CellCollection"
  18. }
  19. ],
  20. "subjobs": [
  21. {
  22. "name": "DigOutPathToArea",
  23. "inputs": {
  24. "target": "$target",
  25. "areaCells": "$roomCells"
  26. }
  27. },
  28. {
  29. "name": "ClearArea",
  30. "inputs": {
  31. "target": "$target",
  32. "areaCells": "$roomCells"
  33. }
  34. },
  35. {
  36. "name": "BuildWalls",
  37. "inputs": {
  38. "target": "$target",
  39. "roomCells": "$roomCells",
  40. "roomType": "$roomType"
  41. }
  42. }
  43. ],
  44. "conditions": [
  45. // no additional conditions on top of sub jobs
  46. ]
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement