From 28bcbb92b53e771d90b9364e09743d81a812b7bb Mon Sep 17 00:00:00 2001 From: seeds Date: Sat, 12 Jun 2021 22:26:25 +0000 Subject: Add Captain Reed to piou castle --- npc/006-2-5/reed.txt | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 npc/006-2-5/reed.txt diff --git a/npc/006-2-5/reed.txt b/npc/006-2-5/reed.txt new file mode 100644 index 000000000..82002cfb7 --- /dev/null +++ b/npc/006-2-5/reed.txt @@ -0,0 +1,101 @@ +// TMW-2 scripts. +// Original Authors: Hal9000 & Qwerty Dragon +// TMW-2 Authors: +// +seeds +// Description: +// Piou captain who gives information about shrewboo mounts and the Piou Knights. + +006-2-5,40,25,0 script Captain Reed NPC_PIOU_KNIGHT_L,{ + function reedIgnore + function reedHello + function reedAboutKnights + function reedAboutShrewboos + .@q=getq(LilitQuest_Pouf) + + function reedHello { + do + { + mesn; + mesq l("Do you need assistance, Knight %s?", strcharinfo(0)); + next; + select + l("What can you tell me about the Piou Knights?"), + l("Why do Piou Knights need mounts if they can fly?"), + l("I just wanted to say hi."); + mes ""; + switch (@menu) { + case 1: + reedAboutKnights(); + break; + case 2: + reedAboutShrewboos(); + break; + case 3: + close; + break; + } + } + return; +} + +function reedAboutKnights { + mesn; + mesq l("The Order of Piou Knights was originally created as a defense against hunters from the humanoid races."); + mesn; + mesc l("Our creation stopped hunting on Piou Isles, but it could not do anything for the pious who refused to live here."); + mesn; + mesq l("We grew in strength and knowledge over time, and dedicated ourselves to upholding justice and peace on the Isles, and in the world."); + mesn; + mesq l("When the ducks joined the Moubootaur and created the Duck Side, our convictions and oathes to the Order ensured we would oppose them."); + mesn; + mesc l("The humanoid races do not consider ducks or pious to be a threat, so we are the only line of defense against the Duck Side."); + mesn; + mesq l("Remember that, %s. You dedicated yourself to the Order of Piou Knights, so you are now sworn to oppose the Duck Side.", strcharinfo(0)); + mesn; + reedHello(); +} + +function reedAboutShrewboos { + mesn; + mesq l("Our warriors are burdened with strong, yet heavy, armor."); + mesn; + mesc l("Due to this detriment to our speed and ability to fly, we started training shrewboos as mounts."); + mesn; + mesq l("Over time, we improved our training, and our warboos are now extremely efficient fighting steeds."); + mesn; + mesq l("They also give Piou Knights a much needed speed boost against the ducks, who are naturally fast."); + mesn; + reedHello(); +} + +function reedIgnore { + next; + if (.@q <= 2) + { + .@r = rand2(3); + if (.@r == 0) + { + mesq l("This is no place for a weakling like you. I suggest you leave."); + } + else if (.@r == 1) + { + mesq l("Allowing you to remain on our Isles is dangerous. Tread carefully, %s.", get_race()); + } + else + { + mesq l("I'll be keeping an eye on you, %s. Don't make trouble.", strcharinfo(0)); + } + return; + } + else if (.@q == 3) + { + reedHello(); + } + return; +} + +OnInit: + .sex = G_Other; + .distance = 4; + end; +} -- cgit v1.2.3-60-g2f50