summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2025-01-02 23:28:46 -0300
committerJesusaves <cpntb1@ymail.com>2025-01-02 23:28:46 -0300
commit9b3260025ab14da55356a9c22bdeb7cafa8f7e43 (patch)
tree129193370568ec387e2d6b4be5aa2e80955994e0
parent9b8037f015d5104dcb5106952a626e0c6e1fdf9a (diff)
downloadserverdata-9b3260025ab14da55356a9c22bdeb7cafa8f7e43.tar.gz
serverdata-9b3260025ab14da55356a9c22bdeb7cafa8f7e43.tar.bz2
serverdata-9b3260025ab14da55356a9c22bdeb7cafa8f7e43.tar.xz
serverdata-9b3260025ab14da55356a9c22bdeb7cafa8f7e43.zip
2025 Christmas Override (Extension)
-rw-r--r--npc/019-4-1/ofelia.txt6
-rw-r--r--npc/functions/event.txt12
2 files changed, 13 insertions, 5 deletions
diff --git a/npc/019-4-1/ofelia.txt b/npc/019-4-1/ofelia.txt
index c9933fd16..1a11930f7 100644
--- a/npc/019-4-1/ofelia.txt
+++ b/npc/019-4-1/ofelia.txt
@@ -15,6 +15,10 @@
if ($EVENT$ == "Christmas")
goto L_Main;
+ // 2024 amendment
+ if (gettime(7) == 2025 && gettime(6) == JANUARY && gettime(5) < 10)
+ goto L_Skip;
+
// Last year
if (X24_CHALLENGES_DONE)
goto L_Reward;
@@ -46,6 +50,8 @@ L_Main:
mesq l("Hi! Sorry, it's too cold outside, so I'm still catching my breath. Try talking to Christmas Chief first?");
close;
}
+
+L_Skip:
mesn;
mesq l("Hey %s, did you knew that in 2025 AD (or 425 AT) Moubootaur Legends celebrates its 7th anniversary?", strcharinfo(0));
dnext;
diff --git a/npc/functions/event.txt b/npc/functions/event.txt
index 4bddb9568..afaa9de08 100644
--- a/npc/functions/event.txt
+++ b/npc/functions/event.txt
@@ -610,11 +610,13 @@ function script X24Event {
if (!playerattached())
return;
- // Date check
- if ($EVENT$ != "Christmas")
- return;
- if (!getq(SQuest_Christmas))
- return;
+ if (gettime(7) != 2025 || gettime(6) != JANUARY || gettime(5) >= 10) {
+ // Date check
+ if ($EVENT$ != "Christmas")
+ return;
+ if (!getq(SQuest_Christmas))
+ return;
+ }
// Extract Arguments
.@bit = getarg(0);