diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-12-08 14:08:58 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-12-08 14:08:58 -0300 |
commit | 59042da8d65ffc97b17b6573c9944819f3787bc6 (patch) | |
tree | d478f5ceb63d32b89291262a0b121cbb7f35a997 /npc/annuals | |
parent | 7a1061ab6a50e5bc71ea81362409275b6fcd633b (diff) | |
download | serverdata-59042da8d65ffc97b17b6573c9944819f3787bc6.tar.gz serverdata-59042da8d65ffc97b17b6573c9944819f3787bc6.tar.bz2 serverdata-59042da8d65ffc97b17b6573c9944819f3787bc6.tar.xz serverdata-59042da8d65ffc97b17b6573c9944819f3787bc6.zip |
Hook a dozen NPCs
Diffstat (limited to 'npc/annuals')
-rw-r--r-- | npc/annuals/xmas/2021.txt | 36 |
1 files changed, 36 insertions, 0 deletions
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 |