summaryrefslogtreecommitdiff
path: root/npc/functions/clientversion.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/clientversion.txt')
-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) {