{ id: "wooden_door", prototype: ["door"], animation: [ { image: "props/door.png", pad: 1, interact_area: "all", id: "normal", rect: [1,0,20,48], frames: 1, duration: 10000000, }, { image: "props/door.png", pad: 1, id: "ajar", rect: [85,0,104,48], frames: 1, duration: 10000000, }, { image: "props/door.png", pad: 1, id: "open", rect: [1,0,20,48], frames: 5, duration: 3, events: "14:enter", }, { image: "props/door.png", pad: 1, id: "close", rect: [1,0,20,48], frames: 5, duration: 3, play_backwards: true, }, ], }