From a1a4827064ba5d17716a9933ab6999f46a04476d Mon Sep 17 00:00:00 2001 From: jesusalva Date: Mon, 12 Feb 2018 22:46:37 -0200 Subject: Sailors quest + bugfixes --- npc/002-4/elmo.txt | 15 +++++++++++++++ npc/002-4/nard.txt | 5 ++++- 2 files changed, 19 insertions(+), 1 deletion(-) (limited to 'npc/002-4') 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; -- cgit v1.2.3-70-g09d2