| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- {
- "_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"
- },
- {
- "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": []
- }
|