diff options
Diffstat (limited to 'npc/functions/news.txt')
-rw-r--r-- | npc/functions/news.txt | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/npc/functions/news.txt b/npc/functions/news.txt index e1539ae40..88966d3a4 100644 --- a/npc/functions/news.txt +++ b/npc/functions/news.txt @@ -8,7 +8,7 @@ function script GameNews { .@entry=getarg(0, 0); switch(.@entry) { case 0: - case 20180530: + case 20180531: mes ""; mes col("Release 4.0 - Quest Giver's Handbook", 9); next; @@ -110,3 +110,42 @@ function script GameNews { return; } +function script Journalman { + npctalk3 any( + l("Hurnscald under siege! No ships are capable to give aid!"), + l("Tulimshar mines overrun! Great rewards for a lending hand!"), + l("Monsters are dropping strange stuff! The world is changing!"), + 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)); + + @menu=0; + while (@menu != 1) { + select + l("Thanks for your help!"), + l("2018-05-31 (Latest)"), + l("2018-04-08"), + l("2018-03-23"), + l("2018-03-16"); + mes ""; + switch (@menu) { + case 2: + GameNews(20180531); + break; + case 3: + GameNews(20180408); + break; + case 4: + GameNews(20180323); + break; + case 5: + GameNews(20180316); + break; + } + } + + mesn getarg(0); + mesq l("Good bye!"); + close; + return; +} |