2024-06-05 16:23:48 +02:00
|
|
|
Tree("Root") {
|
2024-07-19 19:56:36 +02:00
|
|
|
Composite(Sequence) {
|
|
|
|
RunTree("32_Grotto_Kueche_Intro")
|
|
|
|
RunTree("32_Grotto_Kueche_Zwiebeln_schneiden")
|
|
|
|
RunTree("32_Grotto_Kueche_alles_gefunden")
|
|
|
|
}
|
2024-07-17 10:56:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
Tree("32_Grotto_Kueche_Intro") {
|
|
|
|
Composite(Sequence) {
|
2024-07-19 19:56:36 +02:00
|
|
|
BTC.Run("AudioSource.AUDIO.Kueche1FIntro")
|
|
|
|
|
2024-07-17 17:51:49 +02:00
|
|
|
// Schuerze greifen
|
2024-07-24 17:17:14 +02:00
|
|
|
// Was passiert mit der Schuerze? Schuerze verstecken
|
2024-07-17 17:51:49 +02:00
|
|
|
BTC.Run("NamedGrabEvent.INTERACTABLES.Schuerze")
|
|
|
|
//BTC.GetKeyDown("Return")
|
2024-07-19 19:56:36 +02:00
|
|
|
BTC.Run("AudioSource.AUDIO.Kueche2FIntro")
|
|
|
|
|
2024-07-24 17:17:14 +02:00
|
|
|
// Rezept vorlesen: Button Klick
|
2024-07-17 10:56:22 +02:00
|
|
|
BTC.Set("TextMeshPro.HANDMENU.Option1Button", "text", "Rezept vorlesen")
|
2024-07-19 19:56:36 +02:00
|
|
|
BTC.Show("GO.HANDMENU.Option1Button")
|
2024-07-17 10:56:22 +02:00
|
|
|
BTC.Run("NamedEventTrigger.HANDMENU.Option1Button")
|
2024-07-17 17:51:49 +02:00
|
|
|
//BTC.GetKeyDown("Return")
|
2024-07-19 19:56:36 +02:00
|
|
|
BTC.Hide("GO.HANDMENU.Option1Button")
|
|
|
|
|
|
|
|
BTC.Run("AudioSource.AUDIO.Kueche3FIntro")
|
2024-07-17 17:51:49 +02:00
|
|
|
// Pilze leuchten
|
|
|
|
// ...
|
|
|
|
|
|
|
|
Composite(Race) {
|
|
|
|
Composite(Sequence) {
|
2024-07-19 19:56:36 +02:00
|
|
|
// Pilze ins Wasser Glas legen
|
|
|
|
// GrabEvent auf Pilz?
|
|
|
|
BTC.Set("Collider.INTERACTABLES.Wasser", "otherTag", "Steinpilze")
|
2024-07-17 17:51:49 +02:00
|
|
|
BTC.Run("Collider.INTERACTABLES.Wasser")
|
2024-07-19 19:56:36 +02:00
|
|
|
//BTC.GetKeyDown("Return")
|
|
|
|
|
2024-07-17 17:51:49 +02:00
|
|
|
}
|
|
|
|
Composite(Sequence) {
|
|
|
|
// Keine Reaction
|
2024-07-19 19:56:36 +02:00
|
|
|
BTC.Wait(5)
|
|
|
|
RunTree("32_Grotto_Kueche_Steinpilze_Hilfe")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Tree("32_Grotto_Kueche_Steinpilze_Hilfe") {
|
|
|
|
Composite(Sequence) {
|
|
|
|
BTC.Run("AudioSource.AUDIO.Kueche1FSteinpilze")
|
|
|
|
BTC.Set("Collider.INTERACTABLES.Wasser", "otherTag", "Steinpilze")
|
|
|
|
BTC.Run("Collider.INTERACTABLES.Wasser")
|
|
|
|
//BTC.GetKeyDown("Return")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Tree("32_Grotto_Kueche_Zwiebeln_schneiden") {
|
|
|
|
Composite(Sequence) {
|
|
|
|
BTC.Run("AudioSource.AUDIO.Kueche1FZwiebelnsc")
|
|
|
|
|
|
|
|
// Zwiebeln reichen
|
|
|
|
// Wie reiche ich die Zwiebeln? Auf eine bestimmte stelle am Tisch legen?
|
|
|
|
BTC.Set("Collider.INTERACTABLES.Arbeitsflaeche", "otherTag", "Zwiebeln")
|
|
|
|
BTC.Run("Collider.INTERACTABLES.Arbeitsflaeche")
|
|
|
|
//BTC.GetKeyDown("Return")
|
|
|
|
BTC.Run("AudioSource.AUDIO.Kueche2FZwiebelnsc")
|
|
|
|
|
|
|
|
// Zutaten leuchten
|
|
|
|
// ...
|
|
|
|
|
|
|
|
// Zutaten auf die Arbeitsflaeche legen
|
|
|
|
RunTree("32_Grotto_Kueche_Zwiebeln_schneiden_Zutaten_suchen")
|
|
|
|
// Keine Reaction
|
|
|
|
//BTC.Wait(10)
|
|
|
|
//BTC.Run("AudioSource.AUDIO.Kueche1FkeineReakt")
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Tree("32_Grotto_Kueche_Zwiebeln_schneiden_Zutaten_suchen") {
|
|
|
|
Composite(Marathon) {
|
|
|
|
Composite(Sequence) {
|
|
|
|
BTC.Run("NamedGrabEvent.INTERACTABLES.Risotto")
|
|
|
|
BTC.Set("Collider.INTERACTABLES.Arbeitsflaeche", "otherTag", "Risotto")
|
|
|
|
BTC.Run("Collider.INTERACTABLES.Arbeitsflaeche")
|
|
|
|
}
|
|
|
|
Composite(Sequence) {
|
|
|
|
BTC.Run("NamedGrabEvent.INTERACTABLES.Salz")
|
|
|
|
BTC.Set("Collider.INTERACTABLES.Arbeitsflaeche", "otherTag", "Salz")
|
|
|
|
BTC.Run("Collider.INTERACTABLES.Arbeitsflaeche")
|
|
|
|
}
|
|
|
|
Composite(Sequence) {
|
|
|
|
BTC.Run("NamedGrabEvent.INTERACTABLES.Pfeffer")
|
|
|
|
BTC.Set("Collider.INTERACTABLES.Arbeitsflaeche", "otherTag", "Pfeffer")
|
|
|
|
BTC.Run("Collider.INTERACTABLES.Arbeitsflaeche")
|
|
|
|
}
|
|
|
|
Composite(Sequence) {
|
|
|
|
BTC.Run("NamedGrabEvent.INTERACTABLES.Weisswein")
|
|
|
|
BTC.Set("Collider.INTERACTABLES.Arbeitsflaeche", "otherTag", "Weisswein")
|
|
|
|
BTC.Run("Collider.INTERACTABLES.Arbeitsflaeche")
|
|
|
|
}
|
|
|
|
Composite(Sequence) {
|
|
|
|
BTC.Run("NamedGrabEvent.INTERACTABLES.Bouillon")
|
|
|
|
BTC.Set("Collider.INTERACTABLES.Arbeitsflaeche", "otherTag", "Bouillon")
|
|
|
|
BTC.Run("Collider.INTERACTABLES.Arbeitsflaeche")
|
|
|
|
}
|
|
|
|
Composite(Sequence) {
|
|
|
|
BTC.Run("NamedGrabEvent.INTERACTABLES.Olivenoel")
|
|
|
|
BTC.Set("Collider.INTERACTABLES.Arbeitsflaeche", "otherTag", "Olivenoel")
|
|
|
|
BTC.Run("Collider.INTERACTABLES.Arbeitsflaeche")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Tree("32_Grotto_Kueche_alles_gefunden") {
|
|
|
|
Composite(Sequence) {
|
|
|
|
BTC.Run("AudioSource.AUDIO.Kueche2Fallesgefun") // Audio fehlt
|
|
|
|
// Oel in Topf geben - Particle Trigger
|
|
|
|
// ...
|
|
|
|
BTC.Run("AudioSource.AUDIO.Kueche2Fallesgefun")
|
|
|
|
|
|
|
|
// Zwiebeln in Topf geben
|
|
|
|
BTC.Run("NamedGrabEvent.INTERACTABLES.Zwiebeln")
|
|
|
|
BTC.Set("Collider.STATIC.Pfanne004", "otherTag", "Zwiebeln")
|
|
|
|
BTC.Run("Collider.STATIC.Pfanne004")
|
|
|
|
BTC.Run("AudioSource.AUDIO.Kueche3Fallesgefun")
|
|
|
|
|
|
|
|
// Frage beantworten
|
|
|
|
Composite(Marathon) {
|
|
|
|
BTC.Set("TextMeshPro.HANDMENU.Option1Button", "text", "Ja")
|
|
|
|
BTC.Show("GO.HANDMENU.Option1Button")
|
|
|
|
BTC.Set("TextMeshPro.HANDMENU.Option2Button", "text", "Nein")
|
|
|
|
BTC.Show("GO.HANDMENU.Option2Button")
|
|
|
|
}
|
|
|
|
|
|
|
|
Composite(Race) {
|
|
|
|
Composite(Sequence) {
|
|
|
|
// Ja
|
|
|
|
BTC.Run("NamedEventTrigger.HANDMENU.Option1Button")
|
|
|
|
BTC.Hide("GO.HANDMENU.Option1Button")
|
|
|
|
BTC.Hide("GO.HANDMENU.Option2Button")
|
|
|
|
RunTree("32_Grotto_Kueche_Interesse_Kochen")
|
|
|
|
}
|
|
|
|
Composite(Sequence) {
|
|
|
|
// Nein
|
|
|
|
BTC.Run("NamedEventTrigger.HANDMENU.Option2Button")
|
|
|
|
BTC.Hide("GO.HANDMENU.Option1Button")
|
|
|
|
BTC.Hide("GO.HANDMENU.Option2Button")
|
|
|
|
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Tree("32_Grotto_Kueche_Interesse_Kochen") {
|
|
|
|
Composite(Sequence) {
|
|
|
|
BTC.Run("AudioSource.AUDIO.Kueche1FInteresseK")
|
|
|
|
BTC.Set("TextMeshPro.HANDMENU.Option1Button", "text", "Lasagne")
|
|
|
|
BTC.Show("GO.HANDMENU.Option1Button")
|
|
|
|
|
|
|
|
Composite(Race) {
|
|
|
|
Composite(Sequence) {
|
|
|
|
// Lieblingsessen nennen
|
|
|
|
BTC.Run("NamedEventTrigger.HANDMENU.Option1Button")
|
|
|
|
RunTree("32_Grotto_Kueche_Kochen_Anzahl")
|
|
|
|
}
|
|
|
|
Composite(Sequence) {
|
|
|
|
// keine Antwort
|
|
|
|
BTC.Wait(5)
|
|
|
|
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Tree("32_Grotto_Kueche_Kochen_Anzahl") {
|
|
|
|
Composite(Sequence) {
|
|
|
|
BTC.Run("AudioSource.AUDIO.Kueche1FKochenAnza")
|
|
|
|
|
|
|
|
// Frage beantworten
|
|
|
|
Composite(Marathon) {
|
|
|
|
BTC.Set("TextMeshPro.HANDMENU.Option1Button", "text", "sehr oft")
|
|
|
|
BTC.Show("GO.HANDMENU.Option1Button")
|
|
|
|
BTC.Set("TextMeshPro.HANDMENU.Option2Button", "text", "selten")
|
|
|
|
BTC.Show("GO.HANDMENU.Option2Button")
|
|
|
|
}
|
|
|
|
|
|
|
|
Composite(Race) {
|
|
|
|
Composite(Sequence) {
|
|
|
|
// sehr oft
|
|
|
|
BTC.Run("NamedEventTrigger.HANDMENU.Option1Button")
|
|
|
|
BTC.Hide("GO.HANDMENU.Option1Button")
|
|
|
|
BTC.Hide("GO.HANDMENU.Option2Button")
|
|
|
|
RunTree("32_Grotto_Kueche_Selbststaendig_Kochen")
|
|
|
|
}
|
|
|
|
Composite(Sequence) {
|
|
|
|
// selten
|
|
|
|
BTC.Run("NamedEventTrigger.HANDMENU.Option2Button")
|
|
|
|
BTC.Hide("GO.HANDMENU.Option1Button")
|
|
|
|
BTC.Hide("GO.HANDMENU.Option2Button")
|
|
|
|
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
|
|
|
|
}
|
|
|
|
Composite(Sequence) {
|
|
|
|
// keine Antwort
|
|
|
|
BTC.Wait(5)
|
|
|
|
BTC.Hide("GO.HANDMENU.Option1Button")
|
|
|
|
BTC.Hide("GO.HANDMENU.Option2Button")
|
|
|
|
RunTree("32_Grotto_Kueche_Zusammen_Kochen")
|
2024-07-17 17:51:49 +02:00
|
|
|
}
|
|
|
|
}
|
2024-07-17 10:56:22 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-19 19:56:36 +02:00
|
|
|
Tree("32_Grotto_Kueche_Zusammen_Kochen") {
|
|
|
|
Composite(Sequence) {
|
|
|
|
BTC.GetKeyDown("Return")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Tree("32_Grotto_Kueche_Selbststaendig_Kochen") {
|
|
|
|
Composite(Sequence) {
|
|
|
|
BTC.GetKeyDown("Return")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-07-17 10:56:22 +02:00
|
|
|
Tree("32_Grotto_Kueche_Hide") {
|
2024-06-05 16:23:48 +02:00
|
|
|
Composite(Sequence) {
|
|
|
|
// Go to scene 3.5 Slideshow
|
|
|
|
BTC.GetKeyDown("Return")
|
|
|
|
BTC.Run("LoadScene.NEXT.35Slideshow")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|