diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-04 11:06:34 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-04 11:06:34 -0300 |
commit | f4cff4e7a529d655329161d6626229f8062d239f (patch) | |
tree | ed1be9f57be1bbbfd23ae6bf6fc814f5fc7dc7ae | |
parent | 7995e7df4e9a1582e59530621c8d50c61617bb5d (diff) | |
download | serverdata-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
-rw-r--r-- | db/craft_db.conf | 38 | ||||
-rw-r--r-- | npc/functions/clientversion.txt | 11 |
2 files changed, 41 insertions, 8 deletions
diff --git a/db/craft_db.conf b/db/craft_db.conf index 20636bf6d..210df4055 100644 --- a/db/craft_db.conf +++ b/db/craft_db.conf @@ -1171,7 +1171,13 @@ craft_db: ( CreateItems: ( { - RawLog: 1 + Arrow: 10 + }, + { + TrainingArrow: 20 + }, + { + TolchiArrow: 30 }, ) Priority: 10 @@ -1195,7 +1201,13 @@ craft_db: ( CreateItems: ( { - RawLog: 1 + IronArrow: 10 + }, + { + Arrow: 20 + }, + { + TrainingArrow: 30 }, ) Priority: 20 @@ -1219,7 +1231,13 @@ craft_db: ( CreateItems: ( { - RawLog: 1 + CursedArrow: 10 + }, + { + IronArrow: 20 + }, + { + Arrow: 30 }, ) Priority: 30 @@ -1243,7 +1261,13 @@ craft_db: ( CreateItems: ( { - RawLog: 1 + ThornArrow: 10 + }, + { + CursedArrow: 20 + }, + { + IronArrow: 30 }, ) Priority: 40 @@ -1267,13 +1291,13 @@ craft_db: ( CreateItems: ( { - BoneArrow: 1 + BoneArrow: 4 }, { - BoneArrow: 2 + BoneArrow: 8 }, { - BoneArrow: 3 + BoneArrow: 12 }, ) Priority: 50 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) { |