diff options
author | Micksha <ms-shaman@gmx.de> | 2020-05-07 14:58:56 +0000 |
---|---|---|
committer | Micksha <ms-shaman@gmx.de> | 2020-05-07 14:58:56 +0000 |
commit | 976171f0e53a9818cfbe1ce727b0e4f6c0b8762a (patch) | |
tree | 1e5f4b0968d403bf67eb96196e06a5b84062a049 /db | |
parent | 6e464f619de5aad2b14455dfd993f8081008e268 (diff) | |
parent | 7fa4a1e41d43f3da04ffe8fbeba1498ab96385b9 (diff) | |
download | serverdata-976171f0e53a9818cfbe1ce727b0e4f6c0b8762a.tar.gz serverdata-976171f0e53a9818cfbe1ce727b0e4f6c0b8762a.tar.bz2 serverdata-976171f0e53a9818cfbe1ce727b0e4f6c0b8762a.tar.xz serverdata-976171f0e53a9818cfbe1ce727b0e4f6c0b8762a.zip |
Merge branch 'jesusalva/treasure' into 'master'
Treasure!
Closes evol-all#75
See merge request evol/serverdata!240
Diffstat (limited to 'db')
-rw-r--r-- | db/constants.conf | 4 | ||||
-rw-r--r-- | db/re/item_db.conf | 28 | ||||
-rw-r--r-- | db/re/mob_db.conf | 12 |
3 files changed, 40 insertions, 4 deletions
diff --git a/db/constants.conf b/db/constants.conf index 19a812e8..4c83ec8c 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -4128,6 +4128,7 @@ constants_db: { NPC_FLAG_L: 464 NPC_FLAG_R: 465 NPC_TOICHI: 466 + NPC_TREASURE: 469 NPC_TEST1: 800 NPC_PLAYER: 801 @@ -4239,5 +4240,8 @@ constants_db: { LANG_ON_SEA: 1 LANG_IN_SHIP: 2 + comment__: "Misc settings" + CHEST_WAITTIME: 900 // 15 minutes + @include "conf/import/constants.conf" } diff --git a/db/re/item_db.conf b/db/re/item_db.conf index adf5fcec..38963955 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -1184,6 +1184,24 @@ item_db: ( sc_start SC_INCHITRATE, 80000, 300; "> }, +{ + Id: 615 + AegisName: "TreasureMap" + Name: "Treasure Map" + Type: "IT_USABLE" + Buy: 45000 + Sell: 300 + Weight: 14 + KeepAfterUse: true + Refine: false + Script: <" + // ShovelQuests_Assigned<MAP$,X,Y> → Coordinates for Treasure Map + if (!ShovelQuests_AssignedX) { + callfunc "shovel_genrandtreasure"; + } + dispbottom l("A treasure is burried in @@, (@@, @@)", ShovelQuests_AssignedMAP$, ShovelQuests_AssignedX, ShovelQuests_AssignedY); + "> +}, // Generic { @@ -1849,6 +1867,16 @@ item_db: ( nogstorage: true } }, +{ + Id: 808 + AegisName: "TreasureKey" + Name: "Treasure Key" + Type: "IT_ETC" + Buy: 500 + Sell: 110 + Weight: 2 + Refine: false +}, // Necklaces { Id: 1000 diff --git a/db/re/mob_db.conf b/db/re/mob_db.conf index 220ff6c1..fc3f8b9e 100644 --- a/db/re/mob_db.conf +++ b/db/re/mob_db.conf @@ -1058,8 +1058,9 @@ mob_db: ( DamageMotion: 1026 Drops: { MaggotSlime: 800 - HalfEggshell: 200 Moss: 400 + HalfEggshell: 200 + TreasureKey: 100 } }, { @@ -2647,8 +2648,9 @@ mob_db: ( AttackMotion: 672 DamageMotion: 900 Drops: { - BottleOfWater: 250 CoinBag: 500 + BottleOfWater: 250 + TreasureKey: 200 Dagger: 90 BanditTrousers: 1 BanditHood: 1 @@ -2692,11 +2694,12 @@ mob_db: ( AttackMotion: 672 DamageMotion: 900 Drops: { - EmptyBottle: 500 - CoinBag: 500 TrainingArrow: 5000 TrainingArrow: 1000 TrainingArrow: 500 + EmptyBottle: 500 + CoinBag: 500 + TreasureKey: 200 BanditTrousers: 1 BanditHood: 1 BanditGloves: 1 @@ -2741,6 +2744,7 @@ mob_db: ( AttackMotion: 672 DamageMotion: 900 Drops: { + TreasureKey: 2000 CoinBag: 750 Dagger: 150 BanditShawl: 10 |