summaryrefslogtreecommitdiff
path: root/npc/003-1/events.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-17 13:57:31 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-17 13:57:31 -0300
commit0b33ade667185acb95cec7e9b19b74fdfdc63f0f (patch)
treec46c212bcc45ac67bf1faf789f5a69fea106a14f /npc/003-1/events.txt
parent2b89ae936a7f5d621397f3b19c79f17401a12766 (diff)
downloadserverdata-0b33ade667185acb95cec7e9b19b74fdfdc63f0f.tar.gz
serverdata-0b33ade667185acb95cec7e9b19b74fdfdc63f0f.tar.bz2
serverdata-0b33ade667185acb95cec7e9b19b74fdfdc63f0f.tar.xz
serverdata-0b33ade667185acb95cec7e9b19b74fdfdc63f0f.zip
Handling St. Patrick is easy
But Valentine and Easter aren't D:
Diffstat (limited to 'npc/003-1/events.txt')
-rw-r--r--npc/003-1/events.txt19
1 files changed, 17 insertions, 2 deletions
diff --git a/npc/003-1/events.txt b/npc/003-1/events.txt
index 63e2721e7..1def03e13 100644
--- a/npc/003-1/events.txt
+++ b/npc/003-1/events.txt
@@ -12,8 +12,23 @@
function handleValentine();
function handleStPatrick();
function handleAurora();
+ // Switch annuals
+ if ($EVENT$ == "Patrick")
+ handleStPatrick();
+ /*
+ else if ($EVENT$ == "Valentine")
+ handleValentine();
+ else if ($EVENT$ == "Easter")
+ handleEaster();
+ */
+
+ // Generic
+ if ($EVENT$ != "")
+ handleAurora();
+
+ // No event ongoing
mesn;
- mesq l("Heya.");
+ mesq l("Remember, you can talk to my friends in other towns as well!");
close;
@@ -164,7 +179,7 @@ function handleValentine {
mes("10."+$@valentine_name$[9]+" ("+$@valentine_value[9]+")");
if (#VALENTINE_SENT+#VALENTINE_OPENED <= 0)
- close;
+ return;
next;
// Handle rewards