summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/craft_db.conf38
-rw-r--r--npc/functions/clientversion.txt11
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) {