diff options
Diffstat (limited to 'npc/functions/random-talk.txt')
-rw-r--r-- | npc/functions/random-talk.txt | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/npc/functions/random-talk.txt b/npc/functions/random-talk.txt index 44fa9b255..d4e0396f7 100644 --- a/npc/functions/random-talk.txt +++ b/npc/functions/random-talk.txt @@ -19,7 +19,7 @@ function script hello { - switch (rand2(3)) { + switch (rand2(4)) { case 0: npctalkonce(l("Heya!")); break; @@ -32,6 +32,12 @@ function script hello { else npctalkonce(l("Nice day to you.")); break; + case 3: + if (is_night()) + npctalkonce(l("And a good evening for you.")); + else + npctalkonce(l("And a good morning for you.")); + break; } return; @@ -124,7 +130,7 @@ function script villagertalk { } function script legiontalk { - switch (rand2(16)) { + switch (rand2(17)) { case 0: npctalkonce(l("Do I look like a tree? I feel like one.")); break; @@ -176,6 +182,19 @@ function script legiontalk { case 15: npctalkonce(l("The Monster King is scary. To be honest, I'm not sure I would be able to do anything if he showed up.")); break; + case 16: + .@m = getmapmask(getmap()); + if (.@m & MASK_RAIN) + npctalkonce(l("I hate how wet I am right now in this rain.")); + else if (.@m & MASK_SANDSTORM) + npctalkonce(l("I thought sandstorms would make difficult to walk, but it is just awful on my skin.")); + else if (.@m & MASK_SNOW) + npctalkonce(l("Ugh, it's even colder today than other days. I hope this snowstorm ends soon.")); + else if (.@m & MASK_NIGHT) + npctalkonce(l("I'm tired, but I can't sleep, I am tasked with the night watch.")); + else + npctalkonce(l("I hope my shift ends soon, so I can go home rest and drink a little.")); + break; } return; |