level-up/shared/script/rooms/hauseingang.ts
2025-04-11 21:03:18 +02:00

41 lines
No EOL
933 B
TypeScript

import type { SceneDefinition } from "../types"
import { cSet } from "../../util"
export const roomHauseingang: SceneDefinition = {
id: "hauseingang",
label: "Hauseingang",
initialObjects: cSet(
{
id: "schlüssel",
label: "Schlüssel",
},
{
id: "haustür",
label: "Haustür"
}
),
hiddenObjects: cSet(
{
id: "offene-haustür",
label: "Offene Haustür"
}
),
combinations: cSet(
{
id: "open-door",
inputs: cSet(
{
objectId: "schlüssel",
isConsumed: false
},
{
objectId: "haustür",
isConsumed: true
}
),
outputIds: cSet(
"offene-haustür"
)
}
)
}