level-up/shared/script/scenes/tutorial-vorhang.ts
Moritz Ruth 34fa93ad44
Some checks failed
Build / build (push) Failing after 39s
Change script types and add a few scenes
2025-04-12 18:44:43 +02:00

29 lines
No EOL
805 B
TypeScript

import { Temporal } from "temporal-polyfill"
import { defineInteractionScene, type SceneDefinition } from "../types"
export const sceneTutorialVorhang: SceneDefinition = defineInteractionScene({
id: "tutorial-vorhang",
type: "interaction",
label: "Tutorial: Vorhang",
plannedDuration: Temporal.Duration.from({ seconds: 30 }),
objects: {
"buehnenbildner": {
label: "Bühnenbildner",
reveal: true
},
"vorhang": {
label: "Vorhang",
reveal: true
}
},
interactions: [
{
type: "combine",
inputObjects: {
"buehnenbildner": { consume: true },
"vorhang": { consume: true },
},
outputObjectIds: [],
},
]
})