From 2f6d108a3ecb79027235c00f1b922d4f1faee081 Mon Sep 17 00:00:00 2001 From: Sean Hulka Date: Sat, 8 Feb 2020 19:17:26 -0300 Subject: Duck Elder NPC --- npc/018-5-4/elder.txt | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 npc/018-5-4/elder.txt (limited to 'npc/018-5-4/elder.txt') diff --git a/npc/018-5-4/elder.txt b/npc/018-5-4/elder.txt new file mode 100644 index 000000000..47ddd4ba2 --- /dev/null +++ b/npc/018-5-4/elder.txt @@ -0,0 +1,66 @@ +// TMW2 Script +// Author: +// dangerDuck +// Description: +// Duck Elder is a friendly npc. +// May eventually implement a quest that needs Duck Feathers +// Variable: +// none + +018-5,28,73,0 script Duck Elder NPC_DUCK_ELDER,{ + function elderAbout; + function elderAboutSarah; + function elderClose; + mesn; + mesq l("Hello %s. What brings you here?", get_race()); + mes ""; // Not needed + select + l("Oh, I'm just exploring. What can you tell me about this island?"), + l("I came to enjoy a beautiful day with some ducks!"); + mes ""; + switch (@menu) { + case 1: + elderAbout(); + } + elderClose(); + close; + +function elderAbout { + mesn; + mesq l("This is Duck Island, the last safe refuge for birds. Ducks tend to be very peaceful, but our young ruler, King DD, has been taken up with the art of war."); + mesn; + mesq l("Unfortunately, he has been corrupted by the terrorist organization calling itself S.A.R.A.H. Hopefully, he will return to the ways of peace and bring prosperity to Duck Island once again."); + mes ""; + select + l("What's S.A.R.A.H.?"), + l("Thanks, I think I'll continue exploring."); + mes ""; + if (@menu == 1) + elderAboutSarah(); + return; +} + +function elderAboutSarah { + mesn; + mesq l("As I said, S.A.R.A.H. is a terrorist organization. They are dedicated to wiping out every single duck, worldwide. No duck has ever survived an encounter with a S.A.R.A.H. agent. You would do best to avoid them."); + mesn; + mesq l("I suggest you leave now, %s. If you are even suspected of being a S.A.R.A.H. agent . . .", get_race()); + close; + return; +} + +function elderClose { + mesn; + mesq l("Enjoy your time here, %s. And keep your eye out for agents of S.A.R.A.H.", get_race()); + mesn; + mesq l("Perhaps you may be of assistance later . . ."); + close; + return; +} + +OnInit: + .sex = G_OTHER; + .distance = 4; + end; +} + -- cgit v1.2.3-70-g09d2