From ed45ca95060630997d9474d0460970d375dcd9d7 Mon Sep 17 00:00:00 2001 From: Cherry Date: Sun, 18 Aug 2024 00:31:37 -0400 Subject: [PATCH] implement up to intro #3 --- pets-gd/quests/intro1.gd | 9 ++++++++- pets-lib/dg/src/intro1.dg | 26 -------------------------- 2 files changed, 8 insertions(+), 27 deletions(-) diff --git a/pets-gd/quests/intro1.gd b/pets-gd/quests/intro1.gd index faff569f..5e657d8f 100644 --- a/pets-gd/quests/intro1.gd +++ b/pets-gd/quests/intro1.gd @@ -26,7 +26,14 @@ func on_house_tp(target): if target.name == "EthanBedroomExit" and phase == 1: self.phase = 2 - #dbox().start_ix("Intro #3") + var choicelist = ["DG_INTRO1_GREAT", "DG_INTRO1_ALRIGHT"] + var picked = await dbox().say_as_with_choices( + "[JUNIPER]", + ["DG_INTRO1_WDYT"], + choicelist.duplicate(), + ) + + await dbox().say_as("[JUNIPER]", [ choicelist[picked] + "_MOM" ]) func on_outdoors_tp(target): if target.name == "EthanHouseEntrance" and phase == 2: diff --git a/pets-lib/dg/src/intro1.dg b/pets-lib/dg/src/intro1.dg index 73e8c749..4d77a41d 100644 --- a/pets-lib/dg/src/intro1.dg +++ b/pets-lib/dg/src/intro1.dg @@ -1,29 +1,3 @@ -% Intro #3 -NAME [JUNIPER] - -DG_INTRO1_WDYT - -> DG_INTRO1_GREAT -@ Intro #3 >> Great - -> DG_INTRO1_ALRIGHT -@ Intro #3 >> Alright - ---- -% Intro #3 >> Great -NAME [JUNIPER] - -DG_INTRO1_GREAT_MOM - -@ Intro #4 ---- -% Intro #3 >> Alright -NAME [JUNIPER] - -DG_INTRO1_ALRIGHT_MOM - -@ Intro #4 ---- % Intro #4 NAME [JUNIPER]