From d1e0ed256b691899acad514b09363ce5fdffb5c1 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 29 Mar 2018 14:05:07 -0300 Subject: Initial version, now I just need to code the Lifestone Pendant quest --- npc/003-1/silvia.txt | 20 +++++++++++++++++++- npc/003-1/swezanne.txt | 1 + 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/npc/003-1/silvia.txt b/npc/003-1/silvia.txt index 276f0f23e..113519f21 100644 --- a/npc/003-1/silvia.txt +++ b/npc/003-1/silvia.txt @@ -7,6 +7,8 @@ if (strcharinfo(0) == $MOST_HEROIC$) npctalk l("Oh my, the great @@ has come to talk to me!", $MOST_HEROIC$); if (getq(TulimsharQuest_Swezanne) == 4) goto L_Message; +if (getq(TulimsharQuest_Swezanne) == 1) goto L_Lifestone; +if (getq(TulimsharQuest_Swezanne) == 2) goto L_Unallowed; if (strcharinfo(0) != $MOST_HEROIC$) hello; end; @@ -28,7 +30,23 @@ L_Message: getexp 100,0; setq TulimsharQuest_Swezanne, 1; mesn; - mesq l("Thank you, @@. Please take this pair of gloves as a thank you."); + mesq l("Thank you, @@. Please take this pair of gloves as a thank you.", strcharinfo(0)); + close; + +L_Lifestone: + mesn; + mesq l("Hey! Good to see you. I was thinking how I could repay for what you've done for my mother."); + next; + mesn; + mesq l("I can make you a @@, and for that I will want a @@ and 500 GP.", getitemlink(LifestonePendant), getitemlink(Lifestone)); + close; + +L_Unallowed: + mesn; + mesq l("Ah, I wonder how my mother Swezanne is faring..."); + next; + mesn; + mesq l("She must be thristy, fighting monsters on this sun... If somebody could give her Cactus Potions..."); close; OnInit: diff --git a/npc/003-1/swezanne.txt b/npc/003-1/swezanne.txt index 3a8bec026..a1ab3b445 100644 --- a/npc/003-1/swezanne.txt +++ b/npc/003-1/swezanne.txt @@ -81,6 +81,7 @@ L_Silvia: l("One day more or less won't make a difference."), L_Close; L_SilviaAccept: + mes ""; mesn; mesq l("Oh, thank you! My daughter means a lot to me."); setq TulimsharQuest_Swezanne, 4; -- cgit v1.2.3-60-g2f50