final_door.gbsres 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "_resourceType": "actorPrefab",
  3. "id": "3a47a09e-d8b3-45bc-8ccf-43f8d3362f92",
  4. "name": "Final Door",
  5. "frame": 0,
  6. "animate": false,
  7. "spriteSheetId": "13cb427c-c99e-4206-88b2-4eec317a9feb",
  8. "moveSpeed": 1,
  9. "animSpeed": 15,
  10. "paletteId": "",
  11. "persistent": false,
  12. "collisionGroup": "1",
  13. "script": [
  14. {
  15. "command": "EVENT_IF",
  16. "args": {
  17. "condition": {
  18. "type": "variable",
  19. "value": "13"
  20. },
  21. "__collapseElse": true
  22. },
  23. "children": {
  24. "true": [
  25. {
  26. "command": "EVENT_SOUND_PLAY_EFFECT",
  27. "args": {
  28. "type": "9447a6ae-4924-4c38-8d51-904f9664f139",
  29. "priority": "medium",
  30. "pitch": 4,
  31. "frequency": 200,
  32. "duration": 0.5,
  33. "wait": true,
  34. "effect": 13
  35. },
  36. "id": "83cce84a-eddd-41ef-82db-8baa617533ff"
  37. },
  38. {
  39. "command": "EVENT_SWITCH_SCENE",
  40. "args": {
  41. "sceneId": "382aaafd-7a27-4624-b9b5-64d6885e491b",
  42. "x": {
  43. "type": "number",
  44. "value": 2
  45. },
  46. "y": {
  47. "type": "number",
  48. "value": 8
  49. },
  50. "direction": "",
  51. "fadeSpeed": "2"
  52. },
  53. "id": "deffa22e-cb21-4bbd-a785-11cb7cc517c3"
  54. }
  55. ],
  56. "false": [
  57. {
  58. "command": "EVENT_TEXT",
  59. "args": {
  60. "text": [
  61. "This door seems to\nbe locked!"
  62. ],
  63. "__section": "text",
  64. "avatarId": "",
  65. "minHeight": 4,
  66. "maxHeight": 7,
  67. "textX": 1,
  68. "textY": 1,
  69. "textHeight": 5,
  70. "position": "bottom",
  71. "clearPrevious": true,
  72. "showFrame": "true",
  73. "speedIn": -1,
  74. "speedOut": -1,
  75. "closeWhen": "key",
  76. "closeButton": "a",
  77. "closeDelayTime": 0.5,
  78. "closeDelayFrames": 30
  79. },
  80. "id": "60d61eaa-e8eb-4b58-9758-581c83fe6628"
  81. }
  82. ]
  83. },
  84. "id": "0778267e-e15b-467d-893a-ce22779f1c00"
  85. }
  86. ],
  87. "startScript": [],
  88. "updateScript": [],
  89. "hit1Script": [],
  90. "hit2Script": [],
  91. "hit3Script": []
  92. }