summaryrefslogtreecommitdiff
path: root/npc/006-2-5/dusk.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/006-2-5/dusk.txt')
-rw-r--r--npc/006-2-5/dusk.txt87
1 files changed, 43 insertions, 44 deletions
diff --git a/npc/006-2-5/dusk.txt b/npc/006-2-5/dusk.txt
index 5982ced8f..fa4ba8733 100644
--- a/npc/006-2-5/dusk.txt
+++ b/npc/006-2-5/dusk.txt
@@ -1,8 +1,8 @@
// TMW-2 scripts.
// Original Authors: Hal9000 & Qwerty Dragon
// TMW-2 Authors:
-// +seeds
-// dangerduck
+// +seeds
+// dangerduck
// Description:
// Piou captain who gives information about the war, and the piou queen.
@@ -13,26 +13,25 @@
.@q=getq(LilitQuest_Pouf);
if (.@q <= 2)
- {
- .@r = rand2(3);
- if (.@r == 0)
+ {
+ switch (rand2(3))
{
+ case 0:
npctalk3 l("Don't think you'll sneak anything by me. I'm watching you...");
- }
- else if (.@r == 1)
- {
+ break;
+ case 1:
npctalk3 l("I don't tolerate a piou, or %s, who is afraid of hard work.", get_race());
- }
- else
- {
+ break;
+ default:
npctalk3 l("Best steer clear of the Princess, %s. It won't go well if you upset her.", strcharinfo(0));
+ break;
}
}
- else if (.@q == 3)
- {
- duskHello();
- }
- close;
+ else if (.@q == 3)
+ {
+ duskHello();
+ }
+ close;
function duskHello {
mesn;
@@ -54,41 +53,41 @@ function duskHello {
close;
break;
}
- return;
+ return;
}
function duskAboutQueen {
- mesn;
- mesq l("Queen +seeds of Piou Isles is busy coordinating war efforts at the front.");
- next;
- mesn;
- mesq l("She's a fierce piou, leading our troops into the heart of each battle. I admire her bravery.");
- next;
- mesn;
- mesq l("Princess Pouf has been given leadership until our Queen returns. Should Queen +seeds perish, Princess Pouf will take the crown.");
- next;
- mesn;
- mesq l("Fight bravely and well, %s, and perhaps our Queen will survive to return to her beloved Isles.", strcharinfo(0));
- return;
+ mesn;
+ mesq l("Queen +seeds of Piou Isles is busy coordinating war efforts at the front.");
+ next;
+ mesn;
+ mesq l("She's a fierce piou, leading our troops into the heart of each battle. I admire her bravery.");
+ next;
+ mesn;
+ mesq l("Princess Pouf has been given leadership until our Queen returns. Should Queen +seeds perish, Princess Pouf will take the crown.");
+ next;
+ mesn;
+ mesq l("Fight bravely and well, %s, and perhaps our Queen will survive to return to her beloved isles.", strcharinfo(0));
+ return;
}
function duskAboutWar {
- mesn;
- mesq l("So far neither the Duck Side or the Piou Knights have gained the upper hand in the war.");
- next;
- mesn;
- mesq l("However, our mages have recently sensed something dark stirring.");
- next;
- mesn;
- mesq l("I fear something terrible is rising, and I do not know if we can weather the coming storm.");
- next;
- mesc l("The captain falls quiet, and appears to be lost in thought.");
- next;
- return;
+ mesn;
+ mesq l("So far neither the Duck Side or the Piou Knights have gained the upper hand in the war.");
+ next;
+ mesn;
+ mesq l("However, our mages have recently sensed something dark stirring.");
+ next;
+ mesn;
+ mesq l("I fear something terrible is rising, and I do not know if we can weather the coming storm.");
+ next;
+ mesc l("The captain falls quiet, and appears to be lost in thought.");
+ next;
+ return;
}
OnInit:
- .sex = G_OTHER;
- .distance = 4;
- end;
+ .sex = G_OTHER;
+ .distance = 4;
+ end;
}