summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-03-24 18:34:50 -0300
committerJesusaves <cpntb1@ymail.com>2018-03-24 18:34:50 -0300
commit0e1cb184221dd8ac1c6e15ca8f037e19b73ca79b (patch)
tree50208d95a3a3d89bf3df686134764feefa2ffc7b
parent7ae904a9a0d94e5c20adfeeda4a0bb179cd6552a (diff)
downloadserverdata-0e1cb184221dd8ac1c6e15ca8f037e19b73ca79b.tar.gz
serverdata-0e1cb184221dd8ac1c6e15ca8f037e19b73ca79b.tar.bz2
serverdata-0e1cb184221dd8ac1c6e15ca8f037e19b73ca79b.tar.xz
serverdata-0e1cb184221dd8ac1c6e15ca8f037e19b73ca79b.zip
Modernize GameNews
-rw-r--r--npc/functions/news.txt41
1 files changed, 24 insertions, 17 deletions
diff --git a/npc/functions/news.txt b/npc/functions/news.txt
index 46bc5e3d2..d2f01ba7b 100644
--- a/npc/functions/news.txt
+++ b/npc/functions/news.txt
@@ -5,26 +5,33 @@
// Server news.
function script GameNews {
- mes col("You can read the [@@news|server latest news@@], or even the [@@https://tmw2.org/news|older entries@@].", 9);
- next;
- mes "";
- mes col("Release 2.2 - There Are No Pipelines", 9);
- next;
- mes "";
- mes col("Unfortunately, Tulimshar guards are dying in the sun. Maybe you could provide them with Water?", 9);
- next;
- mes col("The NPC responsible for buying raw gemstones from other NPCs has recovered since the last siege.", 9);
- mes col("Therefore, raw gemstones prices are once again on the rise.", 9);
- next;
- mes col("Someone adventurer broke what was previously thought as maximum level, and is now level 31!", 9);
- next;
- mes col("The Magic Council lift Statues in honor of some people. But its guest hall is in reform!", 9);
- next;
- mes col("Easter will soon start!", 9);
- next;
+ .@entry=getarg(0, 0);
+ switch(.@entry) {
+ case 0:
+ mes "";
+ mes col("Release 2.2 - There Are No Pipelines", 9);
+ next;
+ mes "";
+ mes col("Unfortunately, Tulimshar guards are dying in the sun. Maybe you could provide them with Water?", 9);
+ next;
+ mes col("The NPC responsible for buying raw gemstones from other NPCs has recovered since the last siege.", 9);
+ mes col("Therefore, raw gemstones prices are once again on the rise.", 9);
+ next;
+ mes col("Someone adventurer broke what was previously thought as maximum level, and is now level 31!", 9);
+ next;
+ mes col("The Magic Council lift Statues in honor of some people. But its guest hall is in reform!", 9);
+ next;
+ mes col("Easter will soon start!", 9);
+ next;
+ break;
+ default:
+ break;
+ }
+
mes col("We want to thank everyone who did this release possible.", 9);
mes "";
mes col("Shall you have any inquiry, do not hesit to [@@mailto:admin@tmw2.org|send us an email@@]##b.", 9);
+ mes col("You can also read the [@@news|server news@@], or even [@@https://tmw2.org/news|older entries@@].", 9);
next;
return;
}