From f0135e246c3ab76a7a63d747de1d31380f30a868 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 24 Dec 2022 21:53:16 -0300 Subject: Last minute change --- world/map/npc/annuals/2022.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/world/map/npc/annuals/2022.txt b/world/map/npc/annuals/2022.txt index 58b9fa27..1c8048b9 100644 --- a/world/map/npc/annuals/2022.txt +++ b/world/map/npc/annuals/2022.txt @@ -289,6 +289,15 @@ OnInit: 020-1,78,85,0|script|Santa#X2022|200 { + if (gettime(7) <= 2022) + goto L_Start; + if (gettime(6) > 1) + goto L_Scores; + if (gettime(5) > 8) + goto L_Scores; + goto L_Start; + +L_Start: mesn l("Santa Claus"); mesq l("Hey folks! I was using [@@5288|@@] to foil Baltashar attempts to ruin Christmas for the poor kids, but the plan turned against me this time! Hohoho!"); next; @@ -297,6 +306,7 @@ OnInit: next; mesn l("Santa Claus"); mesq l("I recovered "+$XMAS2022+" [@@5288|@@]. From these, you gave me "+XMAS2022+" [@@5288|@@]. Grinchboos have them but they only appear every hour in four maps, and the others were lost to time, so... Do you want to give me some more?"); + mes l("##1Date limit: January 8th, 2023##0"); next; menu "Deliver", L_Deliver, @@ -356,6 +366,7 @@ L_FinallyInsertMe: goto L_Scores; L_Scores: + mes l("I recovered "+$XMAS2022+" [@@5288|@@]. From these, you gave me "+XMAS2022+" [@@5288|@@]."); set @rank, 0; set @loop, 0; goto L_ShowNextRecord; -- cgit v1.2.3-60-g2f50