23 lines
592 B
YAML
23 lines
592 B
YAML
name: door
|
|
type: interactable
|
|
sprite:
|
|
path: door.gif
|
|
size: [48, 32]
|
|
tile_size: [3, 2]
|
|
collision:
|
|
# Porta = mur infranquejable. Igual que el sarc, alçada efectiva
|
|
# infinita per impedir que un jugador la salte per damunt.
|
|
height: 999
|
|
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
|