summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-31 00:10:44 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-31 00:10:44 -0300
commit59bee49dea0dc08dc2c6ad3d34e029fe27ed2f87 (patch)
treeba841929168c15dcc02b49e0c65bdaf864a458c5 /npc/functions
parent52bb14a05013cfa64d778f652ea1dfc40069c7f7 (diff)
downloadserverdata-59bee49dea0dc08dc2c6ad3d34e029fe27ed2f87.tar.gz
serverdata-59bee49dea0dc08dc2c6ad3d34e029fe27ed2f87.tar.bz2
serverdata-59bee49dea0dc08dc2c6ad3d34e029fe27ed2f87.tar.xz
serverdata-59bee49dea0dc08dc2c6ad3d34e029fe27ed2f87.zip
Adds a Journalman. Well, Jerican served no purpose.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/news.txt41
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;
+}