{ "_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": true }, "id": "9c2d9ac3-fe85-4441-8af3-a9e6edd237f3" }, { "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_ACTOR_COLLISIONS_DISABLE", "args": { "actorId": "$self$", "__collapse": true }, "id": "34ab6265-3460-4cae-8774-2efda35a2338" } ], "startScript": [], "updateScript": [], "hit1Script": [], "hit2Script": [], "hit3Script": [] }