summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-02-27 23:24:51 -0300
committerJesusaves <cpntb1@ymail.com>2019-02-27 23:24:51 -0300
commitd56656fcaeadddccf418ae47f57ec0f9949dcba4 (patch)
treea1e4da49f135bef7d2d94e30556ed76d5bc0d0de
parentfa604eb1d1262b0f36602e9abfcd57a1bdc8107a (diff)
downloadserverdata-d56656fcaeadddccf418ae47f57ec0f9949dcba4.tar.gz
serverdata-d56656fcaeadddccf418ae47f57ec0f9949dcba4.tar.bz2
serverdata-d56656fcaeadddccf418ae47f57ec0f9949dcba4.tar.xz
serverdata-d56656fcaeadddccf418ae47f57ec0f9949dcba4.zip
Important info for news + fix bad syntax
-rw-r--r--npc/functions/news.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/functions/news.txt b/npc/functions/news.txt
index 33f874f71..8bb82dc5f 100644
--- a/npc/functions/news.txt
+++ b/npc/functions/news.txt
@@ -305,12 +305,12 @@ function script Journalman {
l("Monsters are dropping strange stuff! The world is changing!"),
l("Terrible manaquake hits the whole world, causing dramatic changes!"),
l("Archers start to appear on the game! It seems archery is easier now!"),
+ l("Green Wars project says that @@ trees were planted by adventurers on the world!", $TREE_PLANTED),
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) {
+ do {
menuint
l("Thanks for your help!"), 1,
l("Release 8 (Current)"), 20190110,
@@ -323,7 +323,7 @@ function script Journalman {
mes "";
if (@menuret > 1)
GameNews(@menuret);
- }
+ } while (@menuret != 1);
mesn getarg(0);
mesq l("Good bye!");