From f2c463f80539d73708ef380e3854b1b65cb57505 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 5 Jan 2019 01:24:42 -0200 Subject: Introduce ammo boxes. Now arrows in the box have the following price formula: 300+200×0,05×(dmg-10) Each box comes with roughly 200 arrows - but it can have more or less. Per RNG. They are currently not sold anywhere. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/re/item_db.conf | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 119 insertions(+), 7 deletions(-) (limited to 'db/re/item_db.conf') diff --git a/db/re/item_db.conf b/db/re/item_db.conf index c7dd583df..48fea1513 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -2565,6 +2565,118 @@ item_db: ( doevent "Empty Box#it::OnUse"; "> }, +{ + Id: 632 + AegisName: "TolchiAmmoBox" + Name: "Tolchi Ammo Box" + Type: "IT_USABLE" + Buy: 300 + Sell: 100 + Weight: 215 + Refine: false + ViewSprite: 632 + Script: <" + getitem TolchiArrow, rand(190, 210); + "> +}, +{ + Id: 633 + AegisName: "TrainingAmmoBox" + Name: "Training Ammo Box" + Type: "IT_USABLE" + Buy: 400 + Sell: 100 + Weight: 215 + Refine: false + ViewSprite: 633 + Script: <" + getitem TrainingArrow, rand(190, 210); + "> +}, +{ + Id: 634 + AegisName: "ArrowAmmoBox" + Name: "Arrow Ammo Box" + Type: "IT_USABLE" + Buy: 500 + Sell: 100 + Weight: 215 + Refine: false + ViewSprite: 634 + Script: <" + getitem Arrow, rand(190, 210); + "> +}, +{ + Id: 635 + AegisName: "IronAmmoBox" + Name: "Iron Ammo Box" + Type: "IT_USABLE" + Buy: 650 + Sell: 100 + Weight: 215 + Refine: false + ViewSprite: 635 + Script: <" + getitem IronArrow, rand(190, 210); + "> +}, +{ + Id: 636 + AegisName: "CursedAmmoBox" + Name: "Cursed Ammo Box" + Type: "IT_USABLE" + Buy: 800 + Sell: 200 + Weight: 215 + Refine: false + ViewSprite: 636 + Script: <" + getitem CursedArrow, rand(190, 210); + "> +}, +{ + Id: 637 + AegisName: "PoisonAmmoBox" + Name: "Poison Ammo Box" + Type: "IT_USABLE" + Buy: 1200 + Sell: 300 + Weight: 430 + Refine: false + ViewSprite: 637 + Script: <" + getitem PoisonArrow, rand(190, 210); + "> +}, +{ + Id: 638 + AegisName: "ThornAmmoBox" + Name: "Thorn Ammo Box" + Type: "IT_USABLE" + Buy: 1800 + Sell: 400 + Weight: 430 + Refine: false + ViewSprite: 638 + Script: <" + getitem ThornArrow, rand(190, 210); + "> +}, +{ + Id: 639 + AegisName: "BoneAmmoBox" + Name: "Bone Ammo Box" + Type: "IT_USABLE" + Buy: 3700 + Sell: 800 + Weight: 1100 + Refine: false + ViewSprite: 639 + Script: <" + getitem BoneArrow, rand(190, 210); + "> +}, // Mounts (690 to 699, probably there will be extra IDs) { @@ -4100,7 +4212,7 @@ item_db: ( Id: 837 AegisName: "DuckFeather" Name: "Duck Feather" - Type: "IT_USABLE" + Type: "IT_ETC" Buy: 1000 Sell: 70 Weight: 1 @@ -10931,7 +11043,7 @@ item_db: ( Name: "Cursed Arrow" Type: "IT_AMMO" Buy: 8 - Sell: 3 + Sell: 1 Weight: 1 Atk: 60 Loc: "EQP_AMMO" @@ -10943,7 +11055,7 @@ item_db: ( Name: "Iron Arrow" Type: "IT_AMMO" Buy: 6 - Sell: 2 + Sell: 1 Weight: 1 Atk: 45 Loc: "EQP_AMMO" @@ -10955,7 +11067,7 @@ item_db: ( Name: "Poison Arrow" Type: "IT_AMMO" Buy: 12 - Sell: 3 + Sell: 1 Weight: 2 Atk: 90 Loc: "EQP_AMMO" @@ -10970,8 +11082,8 @@ item_db: ( Name: "Thorn Arrow" Type: "IT_AMMO" Buy: 27 - Sell: 6 - Weight: 1 + Sell: 1 + Weight: 2 Atk: 160 Loc: "EQP_AMMO" Subtype: "A_ARROW" @@ -10982,7 +11094,7 @@ item_db: ( Name: "Bone Arrow" Type: "IT_AMMO" Buy: 65 - Sell: 7 + Sell: 1 Weight: 5 Atk: 350 Loc: "EQP_AMMO" -- cgit v1.2.3-60-g2f50