end_chest.gbsres 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "_resourceType": "actorPrefab",
  3. "id": "dd874a40-2201-4767-ad2a-da3ebdf12197",
  4. "name": "End Chest",
  5. "frame": 0,
  6. "animate": false,
  7. "spriteSheetId": "74382b42-1feb-47d5-934b-2afff2f289e8",
  8. "moveSpeed": 1,
  9. "animSpeed": 15,
  10. "paletteId": "",
  11. "persistent": false,
  12. "collisionGroup": "1",
  13. "script": [
  14. {
  15. "command": "EVENT_ACTOR_SET_STATE",
  16. "args": {
  17. "actorId": "$self$",
  18. "spriteStateId": "Open",
  19. "loopAnim": false,
  20. "__collapse": false
  21. },
  22. "id": "d61ff5f1-84b0-4410-a8be-e66e563a0592"
  23. },
  24. {
  25. "command": "EVENT_SOUND_PLAY_EFFECT",
  26. "args": {
  27. "type": "9447a6ae-4924-4c38-8d51-904f9664f139",
  28. "priority": "medium",
  29. "pitch": 4,
  30. "frequency": 200,
  31. "duration": 0.5,
  32. "wait": true,
  33. "effect": 13
  34. },
  35. "id": "e9c3f0c7-2dfc-45cd-a530-8b6fc551b3ee"
  36. },
  37. {
  38. "command": "EVENT_TEXT",
  39. "args": {
  40. "text": [
  41. "What is this..."
  42. ],
  43. "__section": "layout",
  44. "avatarId": "",
  45. "minHeight": 3,
  46. "maxHeight": 3,
  47. "textX": 1,
  48. "textY": 1,
  49. "textHeight": 1,
  50. "position": "bottom",
  51. "clearPrevious": true,
  52. "showFrame": "true",
  53. "speedIn": -1,
  54. "speedOut": -1,
  55. "closeWhen": "key",
  56. "closeButton": "a",
  57. "closeDelayTime": 0.5,
  58. "closeDelayFrames": 30
  59. },
  60. "id": "7f3a4260-3ee7-49a9-8d94-2e717737b4ea"
  61. },
  62. {
  63. "command": "EVENT_FADE_OUT",
  64. "args": {
  65. "speed": 6
  66. },
  67. "id": "1a852143-bdc2-4938-bc16-cbb6cd9ddaf4"
  68. },
  69. {
  70. "command": "EVENT_SWITCH_SCENE",
  71. "args": {
  72. "sceneId": "21b6c150-6e34-4e5d-9aae-8e8bf4e4c3e6",
  73. "x": {
  74. "type": "number",
  75. "value": 0
  76. },
  77. "y": {
  78. "type": "number",
  79. "value": 0
  80. },
  81. "direction": "",
  82. "fadeSpeed": 0,
  83. "__collapse": false
  84. },
  85. "id": "796c970b-d8ef-4d75-9453-0c7d78f45616"
  86. }
  87. ],
  88. "startScript": [],
  89. "updateScript": [],
  90. "hit1Script": [],
  91. "hit2Script": [],
  92. "hit3Script": []
  93. }