{ "_resourceType": "actorPrefab", "id": "7eae9937-2a69-4174-966d-1e8f72a39a77", "name": "HealthChest", "frame": 0, "animate": false, "spriteSheetId": "74382b42-1feb-47d5-934b-2afff2f289e8", "moveSpeed": 1, "animSpeed": 15, "paletteId": "", "persistent": false, "collisionGroup": "1", "script": [ { "command": "EVENT_ACTOR_SET_STATE", "args": { "actorId": "$self$", "spriteStateId": "Open", "loopAnim": false, "__collapse": false }, "id": "9c2d9ac3-fe85-4441-8af3-a9e6edd237f3" }, { "command": "EVENT_SOUND_PLAY_EFFECT", "args": { "type": "9447a6ae-4924-4c38-8d51-904f9664f139", "priority": "medium", "pitch": 4, "frequency": 200, "duration": 0.5, "wait": true, "effect": 13 }, "id": "d219778b-7314-41c2-b156-5a52b5782b27" }, { "command": "EVENT_TEXT", "args": { "text": [ "You obtained \n1 HP!" ], "__section": "text", "avatarId": "", "minHeight": 4, "maxHeight": 7, "textX": 1, "textY": 1, "textHeight": 5, "position": "bottom", "clearPrevious": true, "showFrame": "true", "speedIn": -1, "speedOut": -1, "closeWhen": "key", "closeButton": "a", "closeDelayTime": 0.5, "closeDelayFrames": 30, "__collapse": true }, "id": "3675db0d-16aa-4a88-9a7c-8e6123954754" }, { "command": "EVENT_SET_VALUE", "args": { "variable": "0", "value": { "type": "expression", "value": "min(8, $00$ +1)" } }, "id": "a322552b-756d-4254-a911-52a5bc8e2141" }, { "command": "EVENT_SOUND_PLAY_EFFECT", "args": { "type": "9447a6ae-4924-4c38-8d51-904f9664f139", "priority": "medium", "pitch": 4, "frequency": 200, "duration": 0.5, "wait": true, "effect": 18 }, "id": "5ca897bb-5003-42f4-9ad5-f30fcbe12612" }, { "command": "EVENT_ACTOR_COLLISIONS_DISABLE", "args": { "actorId": "$self$", "__collapse": true }, "id": "34ab6265-3460-4cae-8774-2efda35a2338" }, { "command": "EVENT_CALL_CUSTOM_EVENT", "args": { "customEventId": "4e18c992-1d59-4174-b94b-0db3d744aa3d", "__collapse": false, "$actor[0]$": "$self$" }, "id": "1587bfe7-1d80-4fb9-a46e-5cdfcaeec4f9" } ], "startScript": [], "updateScript": [], "hit1Script": [], "hit2Script": [], "hit3Script": [] }