BIN
public/objects/antenne.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
public/objects/gameboy.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
public/objects/hammer.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
public/objects/kaffeetasse.png
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
public/objects/mikrowelle.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
public/objects/radio.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
public/objects/zahnrad.png
Normal file
After Width: | Height: | Size: 25 KiB |
|
@ -4,6 +4,7 @@ import { sceneTutorialKettensaege } from "./scenes/tutorial-kettensaege"
|
||||||
import { sceneTutorialMuesli } from "./scenes/tutorial-muesli"
|
import { sceneTutorialMuesli } from "./scenes/tutorial-muesli"
|
||||||
import { sceneTutorialVorhang } from "./scenes/tutorial-vorhang"
|
import { sceneTutorialVorhang } from "./scenes/tutorial-vorhang"
|
||||||
import { sceneChoiceTest } from "./scenes/choice-test"
|
import { sceneChoiceTest } from "./scenes/choice-test"
|
||||||
|
import { sceneKalterKaffee } from "./scenes/kalter-kaffee"
|
||||||
|
|
||||||
const script: Script = {
|
const script: Script = {
|
||||||
scenesById: new Map()
|
scenesById: new Map()
|
||||||
|
@ -13,6 +14,7 @@ script.scenesById.set(scenePreStart.id, scenePreStart)
|
||||||
script.scenesById.set(sceneTutorialKettensaege.id, sceneTutorialKettensaege)
|
script.scenesById.set(sceneTutorialKettensaege.id, sceneTutorialKettensaege)
|
||||||
script.scenesById.set(sceneTutorialMuesli.id, sceneTutorialMuesli)
|
script.scenesById.set(sceneTutorialMuesli.id, sceneTutorialMuesli)
|
||||||
script.scenesById.set(sceneTutorialVorhang.id, sceneTutorialVorhang)
|
script.scenesById.set(sceneTutorialVorhang.id, sceneTutorialVorhang)
|
||||||
|
script.scenesById.set(sceneKalterKaffee.id, sceneKalterKaffee)
|
||||||
script.scenesById.set(sceneChoiceTest.id, sceneChoiceTest)
|
script.scenesById.set(sceneChoiceTest.id, sceneChoiceTest)
|
||||||
|
|
||||||
export { script }
|
export { script }
|
51
shared/script/scenes/kalter-kaffee.ts
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
import type { SceneDefinition } from "../types"
|
||||||
|
import { defineInteractionScene } from "../types"
|
||||||
|
import { Temporal } from "temporal-polyfill"
|
||||||
|
|
||||||
|
export const sceneKalterKaffee: SceneDefinition = defineInteractionScene({
|
||||||
|
id: "kalter-kaffee",
|
||||||
|
label: "Kaffeetrinken",
|
||||||
|
type: "interaction",
|
||||||
|
plannedDuration: Temporal.Duration.from({ minutes: 8 }),
|
||||||
|
objects: {
|
||||||
|
"gameboy": {
|
||||||
|
label: "Gameboy",
|
||||||
|
reveal: true
|
||||||
|
},
|
||||||
|
"kaffeetasse": {
|
||||||
|
label: "Kaffeetasse",
|
||||||
|
reveal: true
|
||||||
|
},
|
||||||
|
"escobar": {
|
||||||
|
label: "Escobar",
|
||||||
|
reveal: true
|
||||||
|
},
|
||||||
|
"mikrowelle": {
|
||||||
|
label: "Mikrowelle",
|
||||||
|
reveal: true
|
||||||
|
},
|
||||||
|
"kaffeebohnen": {
|
||||||
|
label: "Kaffeebohnen",
|
||||||
|
reveal: true
|
||||||
|
},
|
||||||
|
"radio": {
|
||||||
|
label: "Radio",
|
||||||
|
reveal: true
|
||||||
|
},
|
||||||
|
"hammer": {
|
||||||
|
label: "Hammer",
|
||||||
|
reveal: true
|
||||||
|
},
|
||||||
|
"zahnrad": {
|
||||||
|
label: "Zahnrad",
|
||||||
|
reveal: false
|
||||||
|
},
|
||||||
|
"antenne": {
|
||||||
|
label: "antenne",
|
||||||
|
reveal: false
|
||||||
|
},
|
||||||
|
},
|
||||||
|
interactions: [
|
||||||
|
|
||||||
|
]
|
||||||
|
})
|