summaryrefslogtreecommitdiff
path: root/npc/functions/clientversion.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-08 02:37:23 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-08 02:37:23 -0300
commit516cd42dccb974451e58accdae0c7dcbbf4b3df1 (patch)
tree0d22ec6d7f33d7375e43035d8e429f5e3bb466e7 /npc/functions/clientversion.txt
parent35cae09f141d065d4dcb9d38dfac58ede81ce4d0 (diff)
downloadserverdata-516cd42dccb974451e58accdae0c7dcbbf4b3df1.tar.gz
serverdata-516cd42dccb974451e58accdae0c7dcbbf4b3df1.tar.bz2
serverdata-516cd42dccb974451e58accdae0c7dcbbf4b3df1.tar.xz
serverdata-516cd42dccb974451e58accdae0c7dcbbf4b3df1.zip
Rewrite some internal functions and structure to be lighter (optmization)
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r--npc/functions/clientversion.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 2d386a21f..c36a12f3a 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -1064,6 +1064,17 @@ function script clientupdater {
else if (strcharinfo(0) == "Woody")
getitem StrangeCoin, 20;
}
+ // Easter Eggs
+ // qua jul 29 06:52:00 BRT 2020
+ if (UPDATE < 1610083840) {
+ UPDATE=1610083840;
+ .@q=getq(General_EasterEggs);
+ if (.@q) {
+ setq General_EasterEggs, 1, .@q, bitmask_count(.@q);
+ dispbottom l("Easter Egg quest updated. Total found: %02d/06",
+ bitmask_count(.@q));
+ }
+ }
// :// End of Regular Update System
////////////////////////////////////