summaryrefslogtreecommitdiff
path: root/npc/000-1/darlin.txt
diff options
context:
space:
mode:
authorSaulc <lucashelaine14@gmail.com>2018-01-13 20:50:42 +0100
committerSaulc <lucashelaine14@gmail.com>2018-01-13 20:50:42 +0100
commit20df2abc1aca00d6aa5dc78347133890f36b32f3 (patch)
tree4ad4a8bb8b0605473a702e314799a4626347721a /npc/000-1/darlin.txt
downloadserverdata-20df2abc1aca00d6aa5dc78347133890f36b32f3.tar.gz
serverdata-20df2abc1aca00d6aa5dc78347133890f36b32f3.tar.bz2
serverdata-20df2abc1aca00d6aa5dc78347133890f36b32f3.tar.xz
serverdata-20df2abc1aca00d6aa5dc78347133890f36b32f3.zip
Initial commit
Diffstat (limited to 'npc/000-1/darlin.txt')
-rw-r--r--npc/000-1/darlin.txt149
1 files changed, 149 insertions, 0 deletions
diff --git a/npc/000-1/darlin.txt b/npc/000-1/darlin.txt
new file mode 100644
index 000000000..1288ad83e
--- /dev/null
+++ b/npc/000-1/darlin.txt
@@ -0,0 +1,149 @@
+// Evol scripts.
+// Authors:
+// Alige
+// Reid
+// Description:
+// Darlin talks from the top of the tall mast.
+// Variable:
+// x ShipQuests_TreasureChest
+// Values:
+// 0 Treasure Chest has not been opened yet.
+// 1 Treasure Chest has been opened.
+
+000-1,89,95,0 script Darlin NPC_RAIJIN_MAN,{
+ .@q = getq(ShipQuests_TreasureChest);
+
+ mesn;
+ setcamnpc;
+ mesq l("HEY! HEY YOU!");
+ next;
+ mesq l("CAN YOU HEAR ME?!");
+ next;
+ restorecam;
+
+ menu
+ l("Yes!"), -,
+ l("No!"), L_Quit;
+
+ setcamnpc;
+ mes "";
+ mesn;
+ mesq l("GOOD!");
+ next;
+ mesq l("I WAS HERE WHEN THEY RESCUED YOU!");
+ next;
+ mesq l("DO YOU FEEL BETTER?!");
+ next;
+ restorecam;
+
+ menu
+ l("I do feel better!"), -,
+ l("Why don't you come down to talk?"), L_GoDown;
+
+ mes "";
+ menu
+ l("And you, how are you doing?"), -,
+ l("But I need to go, see you!"), L_Bye;
+
+ setcamnpc;
+ mes "";
+ mesn;
+ mesq l("I AM DOING FINE!");
+ next;
+ mesq l("HEY, WHAT'S YOUR NAME?!");
+ next;
+ restorecam;
+
+ select
+ strcharinfo(0) + ".",
+ l("Maybe you can come down to talk?");
+
+ setcamnpc;
+ mes "";
+ mesn;
+ mesq l("WHAT DID YOU SAY?!");
+ next;
+ mesq l("I DO NOT UNDERSTAND!");
+ next;
+ restorecam;
+
+ menu
+ l("I said... WHY DON'T YOU COME DOWN TO TALK?"), L_GoDown,
+ l("I SAID, SEE YOU LATER!"), L_Bye,
+ l("I'M CALLED, @@!", strtoupper(strcharinfo(0))), -;
+
+ setcamnpc;
+ mes "";
+ mesn;
+ mesq strtoupper(strcharinfo(0)) + "? " + l("THAT'S A NICE NAME!");
+ next;
+ mesq l("SO WHAT'S UP?! WHAT ARE YOU DOING?!");
+ next;
+ restorecam;
+
+ menu
+ l("I'm looking for Gugli, where is he?"), -,
+ l("I need to go, sorry."), L_Bye;
+
+ setcamnpc;
+ mes "";
+ mesn;
+ mesq l("OH, LOOK THERE!");
+ setcamnpc "Gugli";
+ next;
+ mesq l("HE IS AT THE BOTTOM OF THE SHIP, DOWN THE STAIRS. YOU CAN'T MISS HIM!");
+ next;
+ restorecam;
+
+ goto L_Quit;
+
+L_GoDown:
+ setcamnpc;
+ mes "";
+ mesn;
+ mesq l("I WOULD LOVE TO!");
+ next;
+ mesq l("BUT I CAN'T, I NEED TO KEEP AN EYE ON THE SEA, TO WARN THE CREW IF THERE HAPPENS TO BE SOME PIRATES AROUND!");
+ next;
+ mesq l("I ALSO AVOID THE DANGEROUS ANIMALS!");
+ next;
+ restorecam;
+
+ menu
+ l("Have you seen anything dangerous?"), -,
+ l("Interesting... I'll leave you to your task then!"), L_Bye;
+
+ mes "";
+ mesn;
+
+ if (.@q > 0) goto L_DangerAround;
+
+ setcamnpc;
+ mesq l("Oh no, but I've noticed a weird light on the other part of this island, I wonder what it could be...");
+ next;
+ restorecam;
+
+ goto L_Quit;
+
+L_Bye:
+ npctalk3 l("FINE, BYE!");
+
+ goto L_Quit;
+
+L_DangerAround:
+ setcamnpc;
+ mesq l("NOTHING ELSE OTHER THAN SHARKS AND AN ODD LIGHT!");
+ next;
+ restorecam;
+
+ goto L_Quit;
+
+L_Quit:
+ closedialog;
+ close;
+
+OnInit:
+ .sex = G_MALE;
+ .distance = 14;
+ end;
+}