summaryrefslogtreecommitdiff
path: root/npc/006-2-5/dusk.txt
diff options
context:
space:
mode:
author+seeds <abby.hulka@gmail.com>2023-03-05 00:18:54 +0000
committerJesusalva Jesusalva <jesusalva@themanaworld.org>2023-03-05 00:48:58 +0000
commitec95a5c75d0ce36ae0cfec18726d346018c04cbc (patch)
tree5f71528bfdb5a8859040f6dee43ee0466693acfb /npc/006-2-5/dusk.txt
parentf123b04e54885559000b799e73373e5b99affc71 (diff)
downloadserverdata-ec95a5c75d0ce36ae0cfec18726d346018c04cbc.tar.gz
serverdata-ec95a5c75d0ce36ae0cfec18726d346018c04cbc.tar.bz2
serverdata-ec95a5c75d0ce36ae0cfec18726d346018c04cbc.tar.xz
serverdata-ec95a5c75d0ce36ae0cfec18726d346018c04cbc.zip
Merge branch 'PiouIsles_quests' into 'master'cherry-pick-181de88c
Update db/constants.conf See merge request ml/serverdata!94 (cherry picked from commit 181de88c329902299082dfb61f8a8e644b8e89bf) 88800735 Update db/constants.conf c32b5649 Upload New File a2f38cb8 Upload New File 2caf4ba1 Upload New File f407a2a0 Upload New File 2081d905 Upload New File 21606ee2 Upload New File 7073e232 Upload New File 1522ab30 Replace quest_db.conf b356ff2c Replace item_db.conf
Diffstat (limited to 'npc/006-2-5/dusk.txt')
-rw-r--r--npc/006-2-5/dusk.txt89
1 files changed, 89 insertions, 0 deletions
diff --git a/npc/006-2-5/dusk.txt b/npc/006-2-5/dusk.txt
new file mode 100644
index 000000000..9e523ca02
--- /dev/null
+++ b/npc/006-2-5/dusk.txt
@@ -0,0 +1,89 @@
+// TMW-2 scripts.
+// Original Authors: Hal9000 & Qwerty Dragon
+// TMW-2 Authors:
+// +seeds
+// dangerduck
+// Description:
+// Piou captain who gives information about the war, and the piou queen.
+
+006-2-5,36,25,0 script Captain Dusk NPC_PIOU_KNIGHT_R,{
+ function duskHello;
+ function duskAboutQueen;
+ function duskAboutWar;
+ .@q=getq(LilitQuest_Pouf);
+
+ if (.@q <= 2)
+ {
+ .@r = rand2(3);
+ if (.@r == 0)
+ {
+ npctalk3 l("Don't think you'll sneak anything by me. I'm watching you...");
+ }
+ else if (.@r == 1)
+ {
+ npctalk3 l("I don't tolerate a piou, or %s, who is afraid of hard work.", get_race());
+ }
+ else
+ {
+ npctalk3 l("Best steer clear of the Princess, %s. It won't go well if you upset her.", strcharinfo(0));
+ }
+ }
+ else if (.@q == 3)
+ {
+ duskHello();
+ }
+ close;
+
+function duskHello {
+ mesn;
+ mesq l("Welcome to the Order of the Piou Knights, %s.", strcharinfo(0));
+ next;
+ select
+ l("Where is the Piou Queen?"),
+ l("How is the war going?"),
+ l("I just wanted to say hi.");
+ mes "";
+ switch (@menu) {
+ case 1:
+ duskAboutQueen();
+ break;
+ case 2:
+ duskAboutWar();
+ break;
+ case 3:
+ break;
+ }
+ return;
+}
+
+function duskAboutQueen {
+ mesn;
+ mesq l("Queen +seeds of Piou Isles is busy coordinating war efforts at the front.");
+ mesn;
+ mesq l("She's a fierce piou, leading our troops into the heart of each battle. I admire her bravery.");
+ mesn;
+ mesq l("Princess Pouf has been given leadership until our Queen returns. Should Queen +seeds perish, Princess Pouf will take the crown.");
+ mesn;
+ mesq l("Fight bravely and well, %s, and perhaps our Queen will survive to return to her beloved Isles.", strcharinfo(0));
+ mesn;
+ duskHello();
+}
+
+function duskAboutWar {
+ mesn;
+ mesq l("So far neither the Duck Side or the Piou Knights have gained the upper hand in the war.");
+ mesn;
+ mesq l("However, our mages have recently sensed something dark stirring.");
+ mesn;
+ mesq l("I fear something terrible is rising, and I do not know if we can weather the coming storm.");
+ mesn;
+ mesc l("The captain falls quiet, and appears to be lost in thought.");
+ mesn;
+ return;
+}
+
+OnInit:
+ .sex = G_OTHER;
+ .distance = 4;
+ end;
+}