Files
aee-arcade/data/entities/door/door.yaml
T

19 lines
438 B
YAML

name: door
type: interactable
sprite:
path: door.gif
size: [48, 32]
tile_size: [3, 2]
flags:
collides: true
interactable: true
animations:
closed: { frames: [1], fps: 1, loop: true }
opening: { frames: [0], fps: 6, loop: false }
open: { frames: [0], fps: 1, loop: true }
behaviour:
states: [CLOSED, OPENING, OPEN]
initial_state: CLOSED
opens_when: all_sarcophagi_open
on_player_contact_when_open: level_complete