summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-03-29 14:05:07 -0300
committerJesusaves <cpntb1@ymail.com>2018-03-29 14:05:07 -0300
commitd1e0ed256b691899acad514b09363ce5fdffb5c1 (patch)
treeb5e1c65e3e9c069abe4e68696bd9b42dab5635ac /npc
parente68f7e1ddb5ae31af397e2f3ed805509e471dbe4 (diff)
downloadserverdata-d1e0ed256b691899acad514b09363ce5fdffb5c1.tar.gz
serverdata-d1e0ed256b691899acad514b09363ce5fdffb5c1.tar.bz2
serverdata-d1e0ed256b691899acad514b09363ce5fdffb5c1.tar.xz
serverdata-d1e0ed256b691899acad514b09363ce5fdffb5c1.zip
Initial version, now I just need to code the Lifestone Pendant quest
Diffstat (limited to 'npc')
-rw-r--r--npc/003-1/silvia.txt20
-rw-r--r--npc/003-1/swezanne.txt1
2 files changed, 20 insertions, 1 deletions
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;