final_door.gbsres.bak 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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_SWITCH_SCENE",
  27. "args": {
  28. "sceneId": "382aaafd-7a27-4624-b9b5-64d6885e491b",
  29. "x": {
  30. "type": "number",
  31. "value": 2
  32. },
  33. "y": {
  34. "type": "number",
  35. "value": 8
  36. },
  37. "direction": "",
  38. "fadeSpeed": "2"
  39. },
  40. "id": "deffa22e-cb21-4bbd-a785-11cb7cc517c3"
  41. }
  42. ],
  43. "false": [
  44. {
  45. "command": "EVENT_TEXT",
  46. "args": {
  47. "text": [
  48. "This door seems to\nbe locked!"
  49. ],
  50. "__section": "text",
  51. "avatarId": "",
  52. "minHeight": 4,
  53. "maxHeight": 7,
  54. "textX": 1,
  55. "textY": 1,
  56. "textHeight": 5,
  57. "position": "bottom",
  58. "clearPrevious": true,
  59. "showFrame": "true",
  60. "speedIn": -1,
  61. "speedOut": -1,
  62. "closeWhen": "key",
  63. "closeButton": "a",
  64. "closeDelayTime": 0.5,
  65. "closeDelayFrames": 30
  66. },
  67. "id": "60d61eaa-e8eb-4b58-9758-581c83fe6628"
  68. }
  69. ]
  70. },
  71. "id": "0778267e-e15b-467d-893a-ce22779f1c00"
  72. }
  73. ],
  74. "startScript": [],
  75. "updateScript": [],
  76. "hit1Script": [],
  77. "hit2Script": [],
  78. "hit3Script": []
  79. }