From d988d86b194d762fb26931799a48e7afdf9b4aa9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 23 Jul 2018 10:52:50 -0300 Subject: Allow GM to override season drop --- npc/functions/seasons.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'npc/functions/seasons.txt') diff --git a/npc/functions/seasons.txt b/npc/functions/seasons.txt index 08e93e481..be49e80f7 100644 --- a/npc/functions/seasons.txt +++ b/npc/functions/seasons.txt @@ -33,6 +33,23 @@ function script season { return (.@current_month / 3 + .@is_after_season_day) % 4; } + +function script SeasonControl { + do + { + select + "Summer Start", + "Summer End", + "Abort"; + + switch (@menu) { + case 1: donpcevent("#SeasonCore::OnSummerStart"); break; + case 2: donpcevent("#SeasonCore::OnSummerEnd"); break; + } + } while (@menu != 3); + return; +} + 000-0,0,0,0 script #SeasonCore NPC_HIDDEN,{ end; -- cgit v1.2.3-60-g2f50