From 8a4bf716002a017de77fe7df301ef8e4aaf00a2e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 9 Apr 2021 11:00:49 -0300 Subject: Initial commit --- npc/000-1/ale.txt | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 npc/000-1/ale.txt (limited to 'npc/000-1/ale.txt') diff --git a/npc/000-1/ale.txt b/npc/000-1/ale.txt new file mode 100644 index 00000000..d7c6fed7 --- /dev/null +++ b/npc/000-1/ale.txt @@ -0,0 +1,109 @@ +// Evol scripts. +// Authors: +// Qwerty Dragon +// Reid +// Description: +// Sailor part of the Gugli's quest. +// Aquada box. + +000-1,55,23,0 script Ale#000-1 NPC_DEMON_MAN_SITTING,{ + if (getq(General_Narrator) > 0) + { + sailortalk; + } + + .@g = getq(ShipQuests_Gugli); + if (.@g == 0) goto L_NoTask; + + .@q = getq(ShipQuests_Ale); + if (.@q == 1) goto L_CallFunc; + + mesn; + mesq l("Ouch..."); + next; + mesq l("These heavy boxes are killing me, I can't feel my arms anymore!"); + next; + + menu + l("Gugli sent me down here to help you."), -, + l("See you aboard."), L_Quit; + + mes ""; + mesn; + mesq l("Really? That's kind of you, I accept your help!"); + next; + mesq l("Hmm... Let's see, take this one."); + next; + + inventoryplace AquadaBox, 1; + + setq ShipQuests_Ale, 1; + getitem AquadaBox, 1; + + mes ""; + mesn; + mesq l("I will take care of the other ones don't worry."); + + close; + +L_CallFunc: + sailorfood; + + menu + rif(getq(ShipQuests_Gugli) > 1, l("Task is done.")), L_TaskDone, + rif(getq(ShipQuests_Ale) == 1 && (getq(ShipQuests_Astapolos) == 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.")), -; + + mes ""; + mesn; + mesq l("Who are you looking for?"); + next; + + menu + rif(getq(ShipQuests_Astapolos) == 0, l("Astapolos.")), L_Bottom, + rif(getq(ShipQuests_Gulukan) == 0, l("Gulukan.")), L_Bottom, + rif(getq(ShipQuests_Jalad) == 0, l("Jalad.")), L_Jalad, + rif(getq(ShipQuests_QMuller) == 0, l("Q'Muller.")), L_Bottom, + rif(getq(ShipQuests_Tibbo) == 0, l("Tibbo.")), L_Bottom, + l("Nobody."), L_Quit; + +L_Bottom: + mes ""; + mesn; + mesq l("I've seen him down around the southern area of the island, ask Jalad for more information."); + + close; + +L_Jalad: + setcamnpc "Jalad"; + + next; + mesn; + mesq l("Look, here he is!"); + next; + + restorecam; + + close; + +L_NoTask: + mes ""; + mesn; + mesq l("Ouch... These boxes are so heavy!"); + + close; + +L_TaskDone: + mes ""; + mesn; + mesq l("That's good to hear!"); + + close; + +L_Quit: + closeclientdialog; + close; + +OnInit: + .distance = 2; + end; +} -- cgit v1.2.3-60-g2f50