summaryrefslogtreecommitdiff
path: root/npc/000-1/tibbo.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-09 11:00:49 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-09 11:00:49 -0300
commit8a4bf716002a017de77fe7df301ef8e4aaf00a2e (patch)
tree4947d0b015baad639fa07133369e9a09c8a468bc /npc/000-1/tibbo.txt
downloadserverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.gz
serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.bz2
serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.tar.xz
serverdata-8a4bf716002a017de77fe7df301ef8e4aaf00a2e.zip
Initial commit
Diffstat (limited to 'npc/000-1/tibbo.txt')
-rw-r--r--npc/000-1/tibbo.txt122
1 files changed, 122 insertions, 0 deletions
diff --git a/npc/000-1/tibbo.txt b/npc/000-1/tibbo.txt
new file mode 100644
index 00000000..89c82f11
--- /dev/null
+++ b/npc/000-1/tibbo.txt
@@ -0,0 +1,122 @@
+// Evol scripts.
+// Authors:
+// Hal9000
+// Qwerty Dragon
+// Reid
+// Description:
+// Sailor part of the Gugli's quest.
+// Aquada box.
+
+000-1,34,111,0 script Tibbo NPC_ELVEN_MAN_STANDING,{
+ if (getq(General_Narrator) > 0)
+ {
+ sailortalk;
+ }
+
+ .@g = getq(ShipQuests_Gugli);
+ if (.@g == 0) goto L_NoTask;
+
+ .@q = getq(ShipQuests_Tibbo);
+ if (.@q == 1) goto L_CallFunc;
+
+ mesn;
+ mesq l("Uh? Hi! I'm sorry, but I have no time for chatting.");
+ next;
+
+ select
+ l("Fine... I was just going to give you some help...");
+
+ mes "";
+ mesn;
+ mesq l("Hel... What?! Wait!");
+ next;
+ mesq l("What kind of help?");
+ next;
+
+ select
+ l("Gugli asked me to help you carrying one of these boxes you are filling.");
+
+ mes "";
+ mesn;
+ mesq l("Then it seems I have to apologize.");
+ next;
+ mesq l("I am surprised someone has been sent here to help. It is quite... unusual.");
+ next;
+ mesq l("Bring this box to Gugli. He will be extremely happy!");
+ next;
+
+ inventoryplace AquadaBox, 1;
+
+ setq ShipQuests_Tibbo, 1;
+ getitem AquadaBox, 1;
+
+ mes "";
+ mesn;
+ mesq l("Thank you and be careful with that box. I have worked really hard to fill it!");
+
+ goto L_Close;
+
+L_CallFunc:
+ sailorfood;
+
+ menu
+ rif(getq(ShipQuests_Gugli) > 1, l("Task is done.")), L_TaskDone,
+ 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 "";
+ mesn;
+ mesq l("Who are you looking for?");
+ next;
+
+ menu
+ rif(getq(ShipQuests_Ale) == 0, l("Ale.")), L_Top,
+ rif(getq(ShipQuests_Astapolos) == 0, l("Astapolos.")), L_Top,
+ rif(getq(ShipQuests_Gulukan) == 0, l("Gulukan.")), L_Top,
+ rif(getq(ShipQuests_Jalad) == 0, l("Jalad.")), L_Top,
+ rif(getq(ShipQuests_QMuller) == 0, l("Q'Muller.")), L_Top,
+ l("Nobody."), -;
+
+ goto L_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:
+ mes "";
+ mesn;
+ mesq l("This is an @@, a light blue sea fruit. They're highly desired in the archipelago.", getitemlink(Aquada));
+ next;
+ mesq l("You can find them in the ocean, near corals and other sea beings. But the sea is too heavy today, you shouldn't try swimming for now.");
+ next;
+ mesq l("Otherwise, if you really want one, and if you feel capable, you can try killing tortugas or crocs if you're strong enough. I'm sure they could drop one or two @@s.", getitemlink(Aquada));
+
+ close;
+
+L_NoTask:
+ mes "";
+ mesn;
+ mesq l("I'm sorry but I have no time to chat with you.");
+
+ close;
+
+L_TaskDone:
+ mes "";
+ mesn;
+ mesq l("Awesome!");
+
+ close;
+
+L_Close:
+ goodbye;
+
+OnInit:
+ .distance = 2;
+ end;
+}