From 59bee49dea0dc08dc2c6ad3d34e029fe27ed2f87 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 31 May 2018 00:10:44 -0300 Subject: Adds a Journalman. Well, Jerican served no purpose. --- npc/functions/news.txt | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) (limited to 'npc/functions') 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; +} -- cgit v1.2.3-60-g2f50