{ "_resourceType": "actorPrefab", "id": "5b00b49d-f211-42f5-83f7-794be197e4c8", "name": "Chest", "frame": 0, "animate": false, "spriteSheetId": "74382b42-1feb-47d5-934b-2afff2f289e8", "moveSpeed": 1, "animSpeed": 15, "paletteId": "", "persistent": false, "collisionGroup": "1", "script": [ { "command": "EVENT_IF", "args": { "condition": { "type": "variable", "value": "13" }, "__collapseElse": false, "__collapse": false }, "children": { "true": [], "false": [ { "command": "EVENT_ACTOR_SET_STATE", "args": { "actorId": "$self$", "spriteStateId": "Open", "loopAnim": false, "__collapse": true }, "id": "999e5545-4965-4431-874e-00acd09504ee" }, { "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": "12652774-8da4-44c3-8fc1-17d6874969b9" }, { "command": "EVENT_TEXT", "args": { "text": [ "You obtained\na key!" ], "__section": "layout", "avatarId": "", "minHeight": 4, "maxHeight": 7, "textX": 1, "textY": 1, "textHeight": 5, "position": "bottom", "clearPrevious": true, "showFrame": false, "speedIn": -1, "speedOut": -1, "closeWhen": "key", "closeButton": "a", "closeDelayTime": 0.5, "closeDelayFrames": 30, "__collapse": false }, "id": "0cee22c4-1e1e-4421-8123-f48607875daa" }, { "command": "EVENT_TEXT", "args": { "text": [ "How could this\nbe useful..." ], "__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": false }, "id": "c895f703-df44-47d1-8045-f1504833cb9c" }, { "command": "EVENT_SET_VALUE", "args": { "variable": "13", "value": { "type": "true" }, "__collapse": true }, "id": "59156717-2e79-4a01-aa53-fc0bec8dd5d4" } ] }, "id": "4d46306d-305e-4942-aaec-08c026c6aa83" } ], "startScript": [], "updateScript": [], "hit1Script": [], "hit2Script": [], "hit3Script": [] }