summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2012-11-28 00:49:29 +0100
committerReid <reidyaro@gmail.com>2012-11-28 00:49:29 +0100
commit79824228f45f80058c8d5364ff438fc575e6dd8b (patch)
tree8d9f1820dff630a6a82665d9cc47b12603d1ae2c /npc
parente434701602c7b19767599e95f9b0adea5985e122 (diff)
downloadclientdata-79824228f45f80058c8d5364ff438fc575e6dd8b.tar.gz
clientdata-79824228f45f80058c8d5364ff438fc575e6dd8b.tar.bz2
clientdata-79824228f45f80058c8d5364ff438fc575e6dd8b.tar.xz
clientdata-79824228f45f80058c8d5364ff438fc575e6dd8b.zip
Complete q'muller and tibbo scripts.
Diffstat (limited to 'npc')
-rw-r--r--npc/000-1/muller.txt15
-rw-r--r--npc/000-1/tibbo.txt13
2 files changed, 26 insertions, 2 deletions
diff --git a/npc/000-1/muller.txt b/npc/000-1/muller.txt
index 6877f1b7..c3d0933f 100644
--- a/npc/000-1/muller.txt
+++ b/npc/000-1/muller.txt
@@ -43,19 +43,21 @@
mesq l("Well then... Take this one!");
next;
+ if (checkweight("PlushroomBox", 1) == 0) goto l_CantGive;
setq ShipQuests_QMuller, 1;
getitem "PlushroomBox", 1;
mes "";
mesn;
mesq l("And now I want to see you run!");
+
close;
l_CallFunc:
callfunc "SailorFood";
menu
- rif(getq(ShipQuests_QMuller) == 1, l("I'm still busy, I need to find the other sailors.")), -,
+ rif(getq(ShipQuests_QMuller) == 1 && (getq(ShipQuests_Ale) == 0 || getq(ShipQuests_Astapolos) == 0 || getq(ShipQuests_Gulukan) == 0 || getq(ShipQuests_Jalad) == 0 || getq(ShipQuests_Tibbo) == 0), l("I'm still busy, I need to find the other sailors.")), -,
l("What's that?"), l_Plushroom;
mes "";
@@ -73,6 +75,15 @@ l_CallFunc:
close;
+l_CantGive:
+ mes "";
+ mesn;
+ mesq l("It seems that you can't carry more box yet.");
+ next;
+ mesq lg("Just come back to me once you'll have some more free place.");
+
+ close;
+
l_Bottom:
mes "";
mesn;
@@ -86,6 +97,7 @@ l_Top:
mesq l("I've seen him at the top of the island.");
next;
mesq l("You should walk to the north.");
+
close;
l_Plushroom:
@@ -103,6 +115,7 @@ l_NoTask:
mes "";
mesn;
mesq l("You see? I'm working here!");
+
close;
}
diff --git a/npc/000-1/tibbo.txt b/npc/000-1/tibbo.txt
index 9731acbb..72dc778e 100644
--- a/npc/000-1/tibbo.txt
+++ b/npc/000-1/tibbo.txt
@@ -40,6 +40,7 @@
mesq l("Bring this box to Gugli. He will be extremely happy!");
next;
+ if (checkweight("AquadaBox", 1) == 0) goto l_CantGive;
setq ShipQuests_Tibbo, 1;
getitem "AquadaBox", 1;
@@ -52,7 +53,7 @@ l_CallFunc:
callfunc "SailorFood";
menu
- rif(getq(ShipQuests_Tibbo) == 1, l("I'm still busy, I need to find the other sailors.")), -,
+ rif(getq(ShipQuests_Tibbo) == 1 && (getq(ShipQuests_Ale) == 0 || getq(ShipQuests_Astapolos) == 0 || getq(ShipQuests_Gulukan) == 0 || getq(ShipQuests_Jalad) == 0 || getq(ShipQuests_QMuller) == 0), l("I'm still busy, I need to find the other sailors.")), -,
l("What's that food?"), l_Aquada;
mes "";
@@ -70,12 +71,22 @@ l_CallFunc:
close;
+l_CantGive:
+ mes "";
+ mesn;
+ mesq l("It seems that you can't carry more box yet.");
+ next;
+ mesq lg("Just come back to me once you'll have some more free place.");
+
+ close;
+
l_Top:
mes "";
mesn;
mesq l("I've seen him at the top of the island.");
next;
mesq l("You should walk to the north to find him.");
+
close;
l_Aquada: