diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-20 14:16:35 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-20 14:16:35 -0300 |
commit | b58a300bfe8708f55a56b383440248fb77b1e151 (patch) | |
tree | 15ed7dfbd35613d0549795867439994524370544 /npc/functions/news.txt | |
parent | 9f56fd8441670493d67fd0d55b28595db87eaa92 (diff) | |
download | serverdata-b58a300bfe8708f55a56b383440248fb77b1e151.tar.gz serverdata-b58a300bfe8708f55a56b383440248fb77b1e151.tar.bz2 serverdata-b58a300bfe8708f55a56b383440248fb77b1e151.tar.xz serverdata-b58a300bfe8708f55a56b383440248fb77b1e151.zip |
Warn in newspaper about events (when appliable)
Diffstat (limited to 'npc/functions/news.txt')
-rw-r--r-- | npc/functions/news.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/npc/functions/news.txt b/npc/functions/news.txt index 912edd111..94c5e552a 100644 --- a/npc/functions/news.txt +++ b/npc/functions/news.txt @@ -347,8 +347,34 @@ function script Journalman { l("All hail @@ and Andrei Sakar, heroes of the world!", $MOST_HEROIC$)); mesn getarg(0); mesq l("Bonjour! I am @@, and I am from the Press! Read the latest news with me!", getarg(0)); + mes ""; + // Report any ongoing event + if ($EVENT$ != "") + mesc l("It's @@ (day)!", $EVENT$); + mesc l("Try talking to Soul Menhir or with any NPC on Tulimshar Centre (near Soul Menhir)."); + if ($@GM_EVENT) + mesc l("An event is happening at Aeros! Hurry up!"); + else if ($@MK_SCENE) + mesc l("The Monster King is on the move!"); + switch (season()) { + case SPRING: + mesc l("It's spring! Two lovely NPCs at woodlands can be found..."); + break; + case WINTER: + mesc l("It's winter! An NPC in Nivalis Town is freezing..."); + break; + case SUMMER: + mesc l("It's summer! Ched is having his usual contest, but Luffyx in Hurnscald is up to no good!"); + break; + case AUTUMN: + mesc l("It's autumn! There is no special event during autumn, only special drops."); + break; + default: + Exception(l("Invalid season: @@", season()), RB_DEFAULT|RB_SPEECH); break; + } do { + mes ""; menuint l("Thanks for your help!"), 1, l("Release 9 (Current)"), 20190504, |