From 424e410e601c67a87b190567ce8decfc0ee296f4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 30 Jul 2024 22:46:18 -0300 Subject: [skip ci] safeguard: Do not use Craftmaster's Day before Nivalis Liberation Day --- npc/functions/event.txt | 2 ++ npc/functions/news.txt | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/npc/functions/event.txt b/npc/functions/event.txt index 3ba1bb786..e46041780 100644 --- a/npc/functions/event.txt +++ b/npc/functions/event.txt @@ -460,6 +460,8 @@ function script CraftmasterDay { // Event Check if ($EVENT$ != "Worker") return; + if ($GAME_STORYLINE < 2) + return; // Base chance is from 0.1% up to 2.5%, looping .@odds = 10 + (MONSTERS_KILLED % 240); diff --git a/npc/functions/news.txt b/npc/functions/news.txt index 8cda5ff2a..cd8d18baf 100644 --- a/npc/functions/news.txt +++ b/npc/functions/news.txt @@ -182,7 +182,8 @@ function script EventHelp { mes ""; mes l("Visit the special event map, kill low level bosses, collect %s,", getitemlink(Pearl)); mes l("exchange them, and have fun!"); - mesc l("* All monsters may also drop Blueprints during the event."); + if ($GAME_STORYLINE >= 2) + mesc l("* All monsters may also drop Blueprints during the event."); mes ""; mes l("Happy %s!", "@@https://en.wikipedia.org/wiki/International_Workers%27_Day|"+l("international worker day")+"@@"); mesc l("Location: Worker's Cave, access by Soul Menhir."), 3; -- cgit v1.2.3-70-g09d2