From f4cff4e7a529d655329161d6626229f8062d239f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 4 Sep 2019 11:06:34 -0300 Subject: Crafting bows will now return arrows. Also, sketch updater for new Leather Quiver costs --- npc/functions/clientversion.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'npc/functions') diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index edc5bcc3c..69566c40a 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -620,7 +620,7 @@ function script clientupdater { // Old regex messed things up // All updates in August are invalid // inv ali d --:--:-- +-- ---- - if (UPDATE < 1567295999 && UPDATE > 1564617600 && UPDATE != 1565385020) { + if (UPDATE > 1564617600 && UPDATE < 1567295999 && UPDATE != 1565385020) { UPDATE=1565039378; mesn "Narrator"; mesc l("Warning."), 1; @@ -634,7 +634,16 @@ function script clientupdater { // Force user to disconnect atcommand "@kick "+strcharinfo(0); } + // TODO + // sex ago 9 18:10:20 -03 2019 + if (UPDATE < 1565385020) { + UPDATE=1565385020; + if (countitem(LeatherQuiver)) { + getitem TitaniumOre, countitem(LeatherQuiver)*3; + dispbottom l("Titanium Ore refunded on Leather Quiver update."); + } + } // #ADD_LVL means the user have to right to get some levels. This is a sketch. The code might be deleted. if (#ADD_LVL) { -- cgit v1.2.3-60-g2f50