From 97bc720f46e3151a7e1ad6b3134d6c04cbfda469 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 15 May 2020 13:32:01 -0300 Subject: event help --- npc/functions/news.txt | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'npc/functions/news.txt') diff --git a/npc/functions/news.txt b/npc/functions/news.txt index ee5ac2d25..6904eb2b8 100644 --- a/npc/functions/news.txt +++ b/npc/functions/news.txt @@ -362,6 +362,31 @@ function script GameNews { return; } +function script EventHelp { + if ($EVENT$ == "") return; + if ($EVENT$ == "Kamelot") { + mesc ".:: " + l("Kamelot Raid") + " ::.", 2; + mes ""; + mes l("Group togheter your guild and challenge the evil power,"); + mes l("which creeps over Kamelot! During this event, the ancient"); + mes l("evil will return every day to curse King Arthur the Micksha."); + mes ""; + mes l("Is your guild strong enough to give Arthur at least good nights sleep?"); + mesc l("Location: Kamelot Castle, west of Hurnscald."), 3; + } else { + mesc l("There's no help available for this event."); + } + next; + return; +} + + + + + + + + function script Journalman { npctalk3 any( l("Halinarzo Church makes a party every Sunday! Only true believers are invited!"), @@ -442,7 +467,8 @@ function script Journalman { mes ""; menuint l("Thanks for your help!"), 1, - l("Release 9 (Current)"), 20190504, + l("Event News"), 0, + l("Release 9"), 20190504, l("Release 8"), 20190110, l("Release 7"), 20181226, l("Release 6"), 20180727, @@ -453,6 +479,8 @@ function script Journalman { mes ""; if (@menuret > 1) GameNews(@menuret); + if (@menuret == 0) + EventHelp(); } while (@menuret != 1); mesn getarg(0); -- cgit v1.2.3-60-g2f50