summaryrefslogtreecommitdiff
path: root/npc/000-1/astapolos.txt
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2012-11-28 00:38:25 +0100
committerReid <reidyaro@gmail.com>2012-11-28 00:38:25 +0100
commit136d6d208ebe8a7db001bd6d90f2fbe056cb2a05 (patch)
tree55c4c7d1c9cfcdfb5e9424a08e5bd0bfacd568ea /npc/000-1/astapolos.txt
parentd8a1da0f1e5d4e32d6229ba002d114664d4835fb (diff)
downloadserverdata-136d6d208ebe8a7db001bd6d90f2fbe056cb2a05.tar.gz
serverdata-136d6d208ebe8a7db001bd6d90f2fbe056cb2a05.tar.bz2
serverdata-136d6d208ebe8a7db001bd6d90f2fbe056cb2a05.tar.xz
serverdata-136d6d208ebe8a7db001bd6d90f2fbe056cb2a05.zip
Complete Astapolos script.
Diffstat (limited to 'npc/000-1/astapolos.txt')
-rw-r--r--npc/000-1/astapolos.txt18
1 files changed, 15 insertions, 3 deletions
diff --git a/npc/000-1/astapolos.txt b/npc/000-1/astapolos.txt
index 278bfc5b..8c29d893 100644
--- a/npc/000-1/astapolos.txt
+++ b/npc/000-1/astapolos.txt
@@ -58,27 +58,38 @@
next;
mesq lg("You have been so nice to me. So please, take one.");
next;
-
+
+ if (checkweight("CroconutBox", 1) == 0) goto l_CantGive;
setq ShipQuests_Astapolos, 1;
getitem "CroconutBox", 1;
mes "";
mesn;
mesq l("Good luck! And don't forget to visit Peter and our little friends when you will be back onboard!");
+
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_Whyning:
mes "";
mesn;
mesq l("Then just leave me alone.");
+
close;
l_CallFunc:
callfunc "SailorFood";
- menu
- rif(getq(ShipQuests_Astapolos) == 1, l("I'm still busy, I need to find the other sailors.")), -,
+ menu
+ rif(getq(ShipQuests_Astapolos) == 1 && (getq(ShipQuests_Ale) == 0 || getq(ShipQuests_Gulukan) == 0 || getq(ShipQuests_Jalad) == 0 || getq(ShipQuests_QMuller) == 0 || getq(ShipQuests_Tibbo) == 0), l("I'm still busy, I need to find the other sailors.")), -,
l("How are things going?"), l_HowAreYou,
l("Who are you?"), l_Who;
@@ -142,6 +153,7 @@ l_NoTask:
mes "";
mesn;
mesq l("Just leave me alone.");
+
close;
}