Grotto Kitchen BT changes
parent
ecd1404c29
commit
90c7327946
|
@ -19,10 +19,22 @@ Tree("32_Grotto_Kueche_Intro") {
|
|||
// Rezept vorlesen: Button Klick
|
||||
BTC.Set("TextMeshPro.HANDMENU.Option1Button", "text", "Rezept vorlesen")
|
||||
BTC.Show("GO.HANDMENU.Option1Button")
|
||||
BTC.Run("NamedEventTrigger.HANDMENU.Option1Button")
|
||||
//BTC.GetKeyDown("Return")
|
||||
|
||||
Composite(Race) {
|
||||
Composite(Sequence) {
|
||||
// auf Button klicken
|
||||
BTC.Run("NamedEventTrigger.HANDMENU.Option1Button")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
// keine Reaktion
|
||||
BTC.Wait(5)
|
||||
// BTC.Run(Audio)
|
||||
BTC.Run("NamedEventTrigger.HANDMENU.Option1Button")
|
||||
}
|
||||
}
|
||||
BTC.Hide("GO.HANDMENU.Option1Button")
|
||||
|
||||
|
||||
BTC.Run("AudioSource.AUDIO.Kueche3FIntro")
|
||||
// Pilze leuchten
|
||||
BTC.Show("NamedGrabEvent/NamedOutline.INTERACTABLES.Steinpilze")
|
||||
|
@ -33,9 +45,6 @@ Tree("32_Grotto_Kueche_Intro") {
|
|||
BTC.Run("NamedGrabEvent/NamedOutline.INTERACTABLES.Steinpilze")
|
||||
BTC.Set("Collider.INTERACTABLES.GlassWasser", "otherTag", "Steinpilze")
|
||||
BTC.Run("Collider.INTERACTABLES.GlassWasser")
|
||||
BTC.Hide("NamedGrabEvent/NamedOutline.INTERACTABLES.Steinpilze")
|
||||
// BTC.GetKeyDown("Return")
|
||||
|
||||
}
|
||||
Composite(Sequence) {
|
||||
// Keine Reaction
|
||||
|
@ -44,10 +53,9 @@ Tree("32_Grotto_Kueche_Intro") {
|
|||
BTC.Run("NamedGrabEvent/NamedOutline.INTERACTABLES.Steinpilze")
|
||||
BTC.Set("Collider.INTERACTABLES.GlassWasser", "otherTag", "Steinpilze")
|
||||
BTC.Run("Collider.INTERACTABLES.GlassWasser")
|
||||
BTC.Hide("NamedGrabEvent/NamedOutline.INTERACTABLES.Steinpilze")
|
||||
//BTC.GetKeyDown("Return")
|
||||
}
|
||||
}
|
||||
BTC.Hide("NamedGrabEvent/NamedOutline.INTERACTABLES.Steinpilze")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -55,80 +63,87 @@ 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")
|
||||
// Zwiebeln schneiden
|
||||
// ...
|
||||
|
||||
BTC.Run("AudioSource.AUDIO.Kueche2FZwiebelnsc")
|
||||
|
||||
// Zutaten leuchten
|
||||
Composite(Marathon) {
|
||||
BTC.Show("NamedGrabEvent/NamedOutline.INTERACTABLES.Bouillon")
|
||||
BTC.Show("GO/NamedSocketEvent.SOCKETS.BouillonSocket")
|
||||
BTC.Show("NamedGrabEvent/NamedOutline.INTERACTABLES.Weisswein")
|
||||
BTC.Show("GO/NamedSocketEvent.SOCKETS.WeissweinSocket")
|
||||
BTC.Show("NamedGrabEvent/NamedOutline.INTERACTABLES.Risotto")
|
||||
BTC.Show("GO/NamedSocketEvent.SOCKETS.RisottoSocket")
|
||||
BTC.Show("NamedGrabEvent/NamedOutline.INTERACTABLES.Olivenoel")
|
||||
BTC.Show("GO/NamedSocketEvent.SOCKETS.OlivenoelSocket")
|
||||
BTC.Show("NamedGrabEvent/NamedOutline.INTERACTABLES.Pfeffer")
|
||||
BTC.Show("GO/NamedSocketEvent.SOCKETS.PfefferSocket")
|
||||
BTC.Show("NamedGrabEvent/NamedOutline.INTERACTABLES.Salz")
|
||||
BTC.Show("GO/NamedSocketEvent.SOCKETS.SalzSocket")
|
||||
}
|
||||
|
||||
|
||||
// Zutaten auf die Arbeitsflaeche legen mithilfe Sockets
|
||||
Composite(Marathon) {
|
||||
Composite(Sequence) {
|
||||
BTC.Show("GO/NamedSocketEvent.SOCKETS.RisottoSocket")
|
||||
BTC.Run("NamedGrabEvent/NamedOutline.INTERACTABLES.Risotto")
|
||||
BTC.CompareEventTriggered("NamedGrabEvent/NamedOutline.INTERACTABLES.Risotto", "SelectEnter", "true")
|
||||
//BTC.Run("AudioSource.AUDIO.Kueche2FZwiebelnsc")
|
||||
|
||||
|
||||
BTC.Run("NamedGrabEvent/NamedOutline.INTERACTABLES.Risotto")
|
||||
|
||||
//BTC.Run("AudioSource.AUDIO.Kueche2FZwiebelnsc")
|
||||
|
||||
Composite(Race) {
|
||||
Composite(Marathon) {
|
||||
// Success
|
||||
BTC.Run("GO/NamedSocketEvent.SOCKETS.RisottoSocket")
|
||||
BTC.CompareEventTriggered("NamedGrabEvent/NamedOutline.INTERACTABLES.Risotto", "SelectExit", "true")
|
||||
BTC.Hide("NamedGrabEvent/NamedOutline.INTERACTABLES.Risotto")
|
||||
}
|
||||
|
||||
Decorator (RepeatUntilFailed) {
|
||||
Decorator(Inverter) {
|
||||
Composite(Sequence) {
|
||||
// Fail
|
||||
BTC.CompareEventTriggered("NamedGrabEvent/NamedOutline.INTERACTABLES.Risotto", "SelectExit", "true")
|
||||
BTC.Wait(3)
|
||||
BTC.Run("AudioSource.AUDIO.Kueche2FZwiebelnsc")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
BTC.Run("NamedGrabEvent/NamedOutline.INTERACTABLES.Risotto")
|
||||
BTC.CompareEventTriggered("NamedGrabEvent/NamedOutline.INTERACTABLES.Risotto", "SelectEnter", "true")
|
||||
|
||||
Composite(Race) {
|
||||
Composite(Sequence) {
|
||||
// Success
|
||||
BTC.Run("GO/NamedSocketEvent.SOCKETS.RisottoSocket")
|
||||
BTC.Hide("NamedGrabEvent/NamedOutline.INTERACTABLES.Risotto")
|
||||
BTC.SetBool("IsSnapped")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
// Fail
|
||||
BTC.Run("NamedGrabEvent/NamedOutline.INTERACTABLES.Risotto")
|
||||
BTC.CompareEventTriggered("NamedGrabEvent/NamedOutline.INTERACTABLES.Risotto", "SelectExit", "true")
|
||||
BTC.Wait(2)
|
||||
BTC.Run("AudioSource.AUDIO.Kueche2FZwiebelnsc")
|
||||
// Objekt geht zurueck
|
||||
BTC.SetBool("IsSnapped", false)
|
||||
}
|
||||
}
|
||||
|
||||
BTC.CompareBool("IsSnapped")
|
||||
} // Sequence
|
||||
}
|
||||
} // Repeat
|
||||
|
||||
|
||||
Composite(Sequence) {
|
||||
BTC.Show("GO/NamedSocketEvent.SOCKETS.SalzSocket")
|
||||
|
||||
BTC.Run("NamedGrabEvent/NamedOutline.INTERACTABLES.Salz")
|
||||
BTC.Hide("NamedGrabEvent/NamedOutline.INTERACTABLES.Salz")
|
||||
BTC.Run("GO/NamedSocketEvent.SOCKETS.SalzSocket")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
BTC.Show("GO/NamedSocketEvent.SOCKETS.PfefferSocket")
|
||||
|
||||
BTC.Run("NamedGrabEvent/NamedOutline.INTERACTABLES.Pfeffer")
|
||||
BTC.Hide("NamedGrabEvent/NamedOutline.INTERACTABLES.Pfeffer")
|
||||
BTC.Run("GO/NamedSocketEvent.SOCKETS.PfefferSocket")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
BTC.Show("GO/NamedSocketEvent.SOCKETS.WeissweinSocket")
|
||||
|
||||
BTC.Run("NamedGrabEvent/NamedOutline.INTERACTABLES.Weisswein")
|
||||
BTC.Hide("NamedGrabEvent/NamedOutline.INTERACTABLES.Weisswein")
|
||||
BTC.Run("GO/NamedSocketEvent.SOCKETS.WeissweinSocket")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
BTC.Show("GO/NamedSocketEvent.SOCKETS.BouillonSocket")
|
||||
|
||||
BTC.Run("NamedGrabEvent/NamedOutline.INTERACTABLES.Bouillon")
|
||||
BTC.Hide("NamedGrabEvent/NamedOutline.INTERACTABLES.Bouillon")
|
||||
BTC.Run("GO/NamedSocketEvent.SOCKETS.BouillonSocket")
|
||||
}
|
||||
Composite(Sequence) {
|
||||
BTC.Show("GO/NamedSocketEvent.SOCKETS.OlivenoelSocket")
|
||||
|
||||
BTC.Run("NamedGrabEvent/NamedOutline.INTERACTABLES.Olivenoel")
|
||||
BTC.Hide("NamedGrabEvent/NamedOutline.INTERACTABLES.Olivenoel")
|
||||
BTC.Run("GO/NamedSocketEvent.SOCKETS.OlivenoelSocket")
|
||||
|
@ -145,11 +160,6 @@ Tree("32_Grotto_Kueche_Zwiebeln_schneiden") {
|
|||
BTC.Hide("GO/NamedSocketEvent.SOCKETS.SalzSocket")
|
||||
BTC.Hide("GO/NamedSocketEvent.SOCKETS.RisottoSocket")
|
||||
}
|
||||
|
||||
|
||||
// Keine Reaction
|
||||
//BTC.Wait(10)
|
||||
//BTC.Run("AudioSource.AUDIO.Kueche1FkeineReakt")
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
2024-08-14T15:25:32.9708470Z
|
||||
2024-08-15T11:59:47.5584550Z
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue