From 59042da8d65ffc97b17b6573c9944819f3787bc6 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 8 Dec 2021 14:08:58 -0300 Subject: Hook a dozen NPCs --- npc/annuals/xmas/2021.txt | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'npc/annuals') diff --git a/npc/annuals/xmas/2021.txt b/npc/annuals/xmas/2021.txt index 3e10faff..593b3f71 100644 --- a/npc/annuals/xmas/2021.txt +++ b/npc/annuals/xmas/2021.txt @@ -98,6 +98,42 @@ function script X21SRLZ { return str(.@n); } +function script XMAS21_NPC { + if (!isChristmas21()) return; + if (!X21GAK_GOTO()) return; + if (X21GAK_GATE()) return; + + .@npc$=getarg(0, strnpcinfo(1)); + if (.@npc$ == "Forwin") { + mesn; + mesq l("Gak lived around here way before Golbenez moved in. He went north."); + next; + } else if (.@npc$ == "Thurstan") { + mesn; + mesq l("I can't believe Gak refused to lend me Duck Tape! Then he went into the graveyard..."); + next; + } else if (.@npc$ == "Hamond") { + mesn; + mesq l("If you're looking for Kytty, she went east, looking for Gwendolyn. You're welcome."); + next; + } else if (.@npc$ == "Styx the Traveler") { + mesn; + mesq l("Gak and Kytty never need my services. So I didn't pay attention to either of them."); + next; + } else if (.@npc$ == "Blackwin") { + mesn; + mesq l("Kytty came visit, but she already left. You would be wise to do so as well."); + next; + } else if (.@npc$ == "Gwendolyn") { + mesn; + mesq l("Kytty is in my house waiting for someone. If you need her, feel free to enter."); + next; + } else { + npctalk l("BUG, REPORT ME! Invalid Christmas 2021 NPC!"); + } + return; +} + function script X21INIT { // If it is not Christmas, there is no meaning to this. // Halt script execution -- cgit v1.2.3-60-g2f50