summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-04 11:06:34 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-04 11:06:34 -0300
commitf4cff4e7a529d655329161d6626229f8062d239f (patch)
treeed1be9f57be1bbbfd23ae6bf6fc814f5fc7dc7ae /npc/functions
parent7995e7df4e9a1582e59530621c8d50c61617bb5d (diff)
downloadserverdata-f4cff4e7a529d655329161d6626229f8062d239f.tar.gz
serverdata-f4cff4e7a529d655329161d6626229f8062d239f.tar.bz2
serverdata-f4cff4e7a529d655329161d6626229f8062d239f.tar.xz
serverdata-f4cff4e7a529d655329161d6626229f8062d239f.zip
Crafting bows will now return arrows.
Also, sketch updater for new Leather Quiver costs
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/clientversion.txt11
1 files changed, 10 insertions, 1 deletions
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) {