diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-02-02 13:00:12 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-02-02 13:00:12 -0300 |
commit | ca2c214ff15751b0b0d563f8f43ffb6197d0e08c (patch) | |
tree | 512fb1e7513ebb1fd3d25ff558da8ebdbfaeb8d1 | |
parent | 414375325debdba6a7c78fc387058eddf3107852 (diff) | |
download | serverdata-ca2c214ff15751b0b0d563f8f43ffb6197d0e08c.tar.gz serverdata-ca2c214ff15751b0b0d563f8f43ffb6197d0e08c.tar.bz2 serverdata-ca2c214ff15751b0b0d563f8f43ffb6197d0e08c.tar.xz serverdata-ca2c214ff15751b0b0d563f8f43ffb6197d0e08c.zip |
I forgot, but CSR should stop giving the bonus ones for Valentine Day
-rw-r--r-- | npc/functions/clientversion.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index fd3438a2c..8af816048 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -1176,15 +1176,17 @@ function script clientupdater { 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)) { + if (checkweight(NPCEyes, 3) && gettimetick(2) < 1707782400) { rentitem(ShellSandwich, 86400); rentitem(ZombieNachos, 86400); rentitem(any(PepperoniPizza, Sushi, SteakAndEggs, FruitSalad), 86400); - } else if (checkweight(NPCEyes, 2)) { + } else if (checkweight(NPCEyes, 2) && gettimetick(2) < 1707782400) { rentitem(ShellSandwich, 86400); rentitem(any(PepperoniPizza, Sushi, SteakAndEggs, FruitSalad), 86400); - } else if (checkweight(NPCEyes, 1)) { + } else if (checkweight(NPCEyes, 1) && gettimetick(2) < 1707782400) { rentitem(ShellSandwich, 86400); + } else if (checkweight(NPCEyes, 1)) { + rentitem(any(PepperoniPizza, Sushi, SteakAndEggs, FruitSalad), 86400); } } // TODO: Anniversary (leap years disregarded) |