From 2ac1e136c1d3e64a21625a75e04b442324d6bbdd Mon Sep 17 00:00:00 2001 From: Saulc Date: Tue, 29 May 2018 13:18:31 +0000 Subject: add mysterious bottle dropped by ocean monster's --- db/re/item_db.conf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/db/re/item_db.conf b/db/re/item_db.conf index f884fcb8d..518d5b11c 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -2052,6 +2052,27 @@ item_db: ( dispbottom ("Error, contact pirate about this! or just blame Saulc"); "> }, +{ + Id: 607 + AegisName: "MysteriousBottle" + Name: "Mysterious Bottle" + Type: "IT_USABLE" + Buy: 500 + Sell: 100 + Weight: 25 + KeepAfterUse: false + Refine: false + Script: <" + // 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 + setarray .@r, StrangeCoin, SilkCocoon PiouFeathers, RattoTeeth, MushroomSpores, SpellBookPage, SpellBookPage, Cheese, SpellBookPage, PirateTreasureMap, TreasureKey, GrassCarp, CottonCloth, CasinoCoins, PileOfAsh, Pearl; + .@n=rand(getarraysize(.@r)); + + if (.@n > 4) + getitem .@r[.@n], 1; + else + getitem .@r[.@n], rand(1,4); + "> +}, { Id: 700 AegisName: "SmallTentacles" -- cgit v1.2.3-60-g2f50