summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-02-11 09:52:04 -0200
committerjesusalva <cpntb1@ymail.com>2018-02-11 09:52:04 -0200
commit74cf9e5432bd448a654366503a847cefd9ed50fb (patch)
tree4f1c7caa33ba472411d3a0d3b791f6df65b92130
parent1ef3532fb13d063197ad1f2ffafe009435ece073 (diff)
downloadserverdata-74cf9e5432bd448a654366503a847cefd9ed50fb.tar.gz
serverdata-74cf9e5432bd448a654366503a847cefd9ed50fb.tar.bz2
serverdata-74cf9e5432bd448a654366503a847cefd9ed50fb.tar.xz
serverdata-74cf9e5432bd448a654366503a847cefd9ed50fb.zip
Nard will transport you to tulishmar, first time only, instant.
-rw-r--r--npc/002-4/elmo.txt2
-rw-r--r--npc/002-4/nard.txt20
2 files changed, 14 insertions, 8 deletions
diff --git a/npc/002-4/elmo.txt b/npc/002-4/elmo.txt
index 3dfcad5e3..8697781d4 100644
--- a/npc/002-4/elmo.txt
+++ b/npc/002-4/elmo.txt
@@ -9,7 +9,7 @@
002-4,27,27,0 script Elmo NPC_ELMO,{
- if (getq(General_Narrator) < 0)
+ if (LOCATION$ == "")
{
sailortalk;
}
diff --git a/npc/002-4/nard.txt b/npc/002-4/nard.txt
index 2000fc733..745f42ddf 100644
--- a/npc/002-4/nard.txt
+++ b/npc/002-4/nard.txt
@@ -39,6 +39,7 @@ L_Checker:
if (.@nard > 4) goto L_Already;
if (.@gugli == 2) goto L_Done;
if (.@nard == 1) goto L_NotYet;
+ if (LOCATION$ != "") goto L_NotYet;
if (.@narrator == 1) goto L_NotYet; // TODO
mesn;
@@ -88,7 +89,6 @@ L_MenuQuest:
next;
mesn;
mesq l("Why Tulishmar, you say? Because well, believe me, if you want to find out anything, the best place to ask around is Tulim!");
- setq General_Narrator, 1;
LOCATION$ = "Candor";
//inventoryplace JohanneKey, 1;
@@ -149,13 +149,19 @@ L_CandorIsland:
L_NotYet:
mesn;
- mesq l("You still haven't completed your tasks.");
- next;
- .@price=2000000000-Zeny; // TODO: The price is 2 kGP, not 2 Billions
- if (.@price <= 0)
- mesq l("I don't accept dirty money. You must have a hard-worked gold!");
- else
+ .@price=2000-Zeny; // TODO: The price is 2 kGP, not 2 Billions
+ if (Zeny >= .@price) {
+ mesq l("Ten, fifty, thousand... Yep, this is the amount I've asked for.");
+ next;
+ mesq l("Set sail! We're going to Tulishmar!");
+ set Zeny, Zeny-.@price;
+ setq General_Narrator, 1;
+ LOCATION$="Tulim";
+ } else {
+ mesq l("You still haven't completed your tasks.");
+ next;
mesq l("You still need @@ GP for the trip to Tulishmar.", .@price);
+ }
close;
L_Done: