healthchest.gbsres.bak 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "_resourceType": "actorPrefab",
  3. "id": "7eae9937-2a69-4174-966d-1e8f72a39a77",
  4. "name": "HealthChest",
  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": true
  21. },
  22. "id": "9c2d9ac3-fe85-4441-8af3-a9e6edd237f3"
  23. },
  24. {
  25. "command": "EVENT_TEXT",
  26. "args": {
  27. "text": [
  28. "You obtained \n1 HP!"
  29. ],
  30. "__section": "text",
  31. "avatarId": "",
  32. "minHeight": 4,
  33. "maxHeight": 7,
  34. "textX": 1,
  35. "textY": 1,
  36. "textHeight": 5,
  37. "position": "bottom",
  38. "clearPrevious": true,
  39. "showFrame": "true",
  40. "speedIn": -1,
  41. "speedOut": -1,
  42. "closeWhen": "key",
  43. "closeButton": "a",
  44. "closeDelayTime": 0.5,
  45. "closeDelayFrames": 30,
  46. "__collapse": true
  47. },
  48. "id": "3675db0d-16aa-4a88-9a7c-8e6123954754"
  49. },
  50. {
  51. "command": "EVENT_SET_VALUE",
  52. "args": {
  53. "variable": "0",
  54. "value": {
  55. "type": "expression",
  56. "value": "min(8, $00$ +1)"
  57. }
  58. },
  59. "id": "a322552b-756d-4254-a911-52a5bc8e2141"
  60. },
  61. {
  62. "command": "EVENT_ACTOR_COLLISIONS_DISABLE",
  63. "args": {
  64. "actorId": "$self$",
  65. "__collapse": true
  66. },
  67. "id": "34ab6265-3460-4cae-8774-2efda35a2338"
  68. },
  69. {
  70. "command": "EVENT_CALL_CUSTOM_EVENT",
  71. "args": {
  72. "customEventId": "4e18c992-1d59-4174-b94b-0db3d744aa3d",
  73. "__collapse": false,
  74. "$actor[0]$": "player"
  75. },
  76. "id": "1587bfe7-1d80-4fb9-a46e-5cdfcaeec4f9"
  77. }
  78. ],
  79. "startScript": [],
  80. "updateScript": [],
  81. "hit1Script": [],
  82. "hit2Script": [],
  83. "hit3Script": []
  84. }