summaryrefslogtreecommitdiff
path: root/world/map/npc/annuals/2022.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/annuals/2022.txt')
-rw-r--r--world/map/npc/annuals/2022.txt11
1 files changed, 11 insertions, 0 deletions
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;