summaryrefslogtreecommitdiff
path: root/npc/002-4
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-02-12 22:46:37 -0200
committerjesusalva <cpntb1@ymail.com>2018-02-12 22:46:37 -0200
commita1a4827064ba5d17716a9933ab6999f46a04476d (patch)
tree6873e4377979091acfd235a7bf6555a084a79e5f /npc/002-4
parent53a22b4c96a1ba62551d6ec11344c00bec4b27e1 (diff)
downloadserverdata-a1a4827064ba5d17716a9933ab6999f46a04476d.tar.gz
serverdata-a1a4827064ba5d17716a9933ab6999f46a04476d.tar.bz2
serverdata-a1a4827064ba5d17716a9933ab6999f46a04476d.tar.xz
serverdata-a1a4827064ba5d17716a9933ab6999f46a04476d.zip
Sailors quest + bugfixes
Diffstat (limited to 'npc/002-4')
-rw-r--r--npc/002-4/elmo.txt15
-rw-r--r--npc/002-4/nard.txt5
2 files changed, 19 insertions, 1 deletions
diff --git a/npc/002-4/elmo.txt b/npc/002-4/elmo.txt
index 2b03b9ad8..9b75c0d82 100644
--- a/npc/002-4/elmo.txt
+++ b/npc/002-4/elmo.txt
@@ -9,6 +9,7 @@
if (LOCATION$ == "") sailortalk;
if (getq(General_Narrator) == 1) sailortalk;
+ if (getq(CandorQuest_Sailors) == 2) goto L_Party;
mesn;
mes l("\"Hey, have you already got the money necessary for the travel?");
@@ -27,10 +28,24 @@
if (.@q < 3)
mes l("- You can always play with kids. Not very profitable, though.");
+ // Sailors Quest
+ .@q=getq(CandorQuest_Sailors);
+ if (.@q < 3)
+ mes l("- Some of our crew are missing. They're probably wasting their time at beach.");
+
close2;
goodbye;
end; // Just for good measure
+L_Party:
+ mesn;
+ mesq l("What? A party?");
+ next;
+ setq CandorQuest_Sailors, 3;
+ getexp 10, 0;
+ mesq l("Alright, I'll show up later. Thanks for calling me.");
+ close;
+
OnInit:
.sex = G_MALE;
.distance = 5;
diff --git a/npc/002-4/nard.txt b/npc/002-4/nard.txt
index 98cf5afcf..4ff1d1907 100644
--- a/npc/002-4/nard.txt
+++ b/npc/002-4/nard.txt
@@ -14,7 +14,10 @@
.@price=2000;
L_Checker:
- if (getq(CandorQuest_Barrel) == 4 && getq(CandorQuest_HAS) == 3) .@price-=500; // Check Elmo's script. You can do quests later... FOR NOW.
+ if (getq(CandorQuest_Barrel) == 4 &&
+ getq(CandorQuest_HAS) == 3 &&
+ getq(CandorQuest_Sailors) == 3)
+ .@price-=500;
if (.@narrator == 1) goto L_Travel;
if (LOCATION$ != "") goto L_NotYet;