summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-05 01:24:42 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-05 01:24:42 -0200
commitf2c463f80539d73708ef380e3854b1b65cb57505 (patch)
treec4d19c84cb06e9343c55726ae95223fbbe65dff4
parent506ae545f54c460128de6098fcd3a924555a2765 (diff)
downloadserverdata-f2c463f80539d73708ef380e3854b1b65cb57505.tar.gz
serverdata-f2c463f80539d73708ef380e3854b1b65cb57505.tar.bz2
serverdata-f2c463f80539d73708ef380e3854b1b65cb57505.tar.xz
serverdata-f2c463f80539d73708ef380e3854b1b65cb57505.zip
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.
-rw-r--r--db/re/item_db.conf126
1 files changed, 119 insertions, 7 deletions
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"