Skip to content

Commit

Permalink
implement up to intro #3
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamby777 committed Aug 18, 2024
1 parent 3714430 commit ed45ca9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 27 deletions.
9 changes: 8 additions & 1 deletion pets-gd/quests/intro1.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
26 changes: 0 additions & 26 deletions pets-lib/dg/src/intro1.dg
Original file line number Diff line number Diff line change
@@ -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]

Expand Down

0 comments on commit ed45ca9

Please sign in to comment.