From 79824228f45f80058c8d5364ff438fc575e6dd8b Mon Sep 17 00:00:00 2001 From: Reid Date: Wed, 28 Nov 2012 00:49:29 +0100 Subject: Complete q'muller and tibbo scripts. --- npc/000-1/muller.txt | 15 ++++++++++++++- npc/000-1/tibbo.txt | 13 ++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) (limited to 'npc') 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: -- cgit v1.2.3-70-g09d2