From 757fd6ba3b99de58c794e36e9b67677c53a11700 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 5 Jun 2019 10:23:08 -0300 Subject: Sketch of Sagratha - First met --- npc/014-5-1/sagratha.txt | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'npc/014-5-1/sagratha.txt') diff --git a/npc/014-5-1/sagratha.txt b/npc/014-5-1/sagratha.txt index 6091ae13b..9953a8b4e 100644 --- a/npc/014-5-1/sagratha.txt +++ b/npc/014-5-1/sagratha.txt @@ -55,6 +55,8 @@ function script SaggyMobCount { if (SAGRATHA_SCORE < 0) goto L_Unhappy; + .@q=getq(HurnscaldQuest_Sagratha); + mesn; if (.@good >= 2) @@ -65,7 +67,12 @@ function script SaggyMobCount { mesc l("@@ glances at you, suspicion evident in her eyes.", .name$); mesq l("Hello."); + next; + + if (.@q == 6) + goto L_Reward; + // TODO: What's your name etc etc - Maybe before the dialog, in the dungeon // TODO: Handle the curse (menu option) // TODO: Collect reward (set quest status to 7) // TODO: Allow to return to the Sealed Shrine @@ -76,6 +83,35 @@ function script SaggyMobCount { close; +L_Reward: + select + l("Hi! My name is @@.", strcharinfo(0)), + l("Are you Sagratha?"), + l("Good bye."); + mes ""; + if (@menu == 3) + close; + if (@menu == 1) { + mesn; + mesq l("Ah."); + next; + select + l("Are you Sagratha?"), + l("Erm... Good bye."); + mes ""; + if (@menu == 2) + close; + } + mesn; + mesq l("Yes."); + next; + mesn; + mesq l("Do you need something from me?"); + next; + select + l("Not really."); + close; + L_HatAttack: mesn; mesc l("@@ seems to be trembling with disgust as she stares at your headgear.", .name$); -- cgit v1.2.3-60-g2f50