diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-14 22:35:08 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-14 22:35:08 -0200 |
commit | 2506e83c7e1a6275443a9e9b3ed123356a1a6903 (patch) | |
tree | decdc4c2ca976ab3597a86c6fe0ac1bd071bdb31 | |
parent | 043b5726aa27b8043cdb023c68de070608101416 (diff) | |
download | serverdata-2506e83c7e1a6275443a9e9b3ed123356a1a6903.tar.gz serverdata-2506e83c7e1a6275443a9e9b3ed123356a1a6903.tar.bz2 serverdata-2506e83c7e1a6275443a9e9b3ed123356a1a6903.tar.xz serverdata-2506e83c7e1a6275443a9e9b3ed123356a1a6903.zip |
Christmas random talk
-rw-r--r-- | npc/functions/random-talk.txt | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/npc/functions/random-talk.txt b/npc/functions/random-talk.txt index a5bea0568..4a4202f34 100644 --- a/npc/functions/random-talk.txt +++ b/npc/functions/random-talk.txt @@ -27,7 +27,10 @@ function script hello { npctalkonce(l("Hi.")); break; case 2: - npctalkonce(l("Nice day to you.")); + if ($EVENT$ == "Christmas") + npctalkonce(l("Merry Christmas!")); + else + npctalkonce(l("Nice day to you.")); break; } @@ -60,11 +63,15 @@ function script sailortalk { if (.@rand == 2) npctalkonce(l("Hey! Good to hear from you!")); if (.@rand == 3) npctalkonce(l("Yarr arr!")); if (.@rand == 4) { - speech( - l("A sunny and hot day,"), - l("a quiet place,"), - l("a ground!"), - l("What else do you need?")); + if ($EVENT$ == "Christmas") + npctalkonce(l("Merry Christmas, arr yarr!!")); + else { + speech( + l("A sunny and hot day,"), + l("a quiet place,"), + l("a ground!"), + l("What else do you need?")); + } close; } if (.@rand == 5) npctalkonce(l("A-hoy matey!")); @@ -141,7 +148,10 @@ function script legiontalk { npctalkonce(l("Give me some space.")); break; case 6: - npctalkonce(l("Can you please go away?")); + if ($EVENT$ == "Christmas") + npctalkonce(l("Merry Christmas, adventurer.")); + else + npctalkonce(l("Can you please go away?")); break; case 7: npctalkonce(l("Can't talk right now, I'm on patrol duty.")); |