From cf3f1fe4348c4e4e44919a5de7f2e92d838127bf Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 20 Jan 2024 23:30:01 -0300 Subject: Bonus! --- npc/functions/clientversion.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index f588c3e57..c4b8faaa1 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -1170,6 +1170,20 @@ function script clientupdater { dispbottom l("You received the @@ from @@.", getitemlink(Lightbringer), l("The Mana Source")); } } + // Cooking System release + // sáb 20 jan 2024 23:24:34 -03 + if (UPDATE < 1705803874) { + UPDATE=1705803874; + dispbottom l("After five years of wait, cooking system was released! Hooray!"); + // Attempt to give you some food... If it fails, it is not my problem + if (checkweight(NPCEyes, 3)) { + rentitem(ShellSandwich, 86400); + rentitem(ZombieNachos, 86400); + rentitem(any(PepperoniPizza, Sushi, SteakAndEggs, FruitSalad), 86400); + } else if (checkweight(NPCEyes, 1)) { + rentitem(ShellSandwich, 86400); + } + } // TODO: Anniversary (leap years disregarded) // :// End of Regular Update System -- cgit v1.2.3-60-g2f50