From 516cd42dccb974451e58accdae0c7dcbbf4b3df1 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 8 Jan 2021 02:37:23 -0300 Subject: Rewrite some internal functions and structure to be lighter (optmization) --- npc/functions/clientversion.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'npc/functions/clientversion.txt') 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 //////////////////////////////////// -- cgit v1.2.3-70-g09d2