From 7794c0e359084c73287ee2ea88c1ccdc357d062d Mon Sep 17 00:00:00 2001 From: jesusalva Date: Mon, 5 Mar 2018 00:56:28 -0300 Subject: Include Event Gift Boxes (for randomized rares or coins) (depend on event size) (admin only) --- db/re/item_db.conf | 142 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 142 insertions(+) (limited to 'db/re/item_db.conf') diff --git a/db/re/item_db.conf b/db/re/item_db.conf index bcd690ac4..aee4578d9 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -2033,6 +2033,148 @@ item_db: ( getitem StrangeCoin, 10; "> }, +{ + Id: 589 + AegisName: "BronzeGift" + Name: "Bronze Gift" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 25 + KeepAfterUse: false + Refine: false + BuyingStore: false + Trade: { + notrade: true + noselltonpc: true + nogstorage: true + nomail: true + noauction: true + } + Script: <" + setarray .@r, StrangeCoin, Bread, Cheese; + .@n=rand(getarraysize(.@r)); + + if (.@n > 0) + getitem .@r[.@n], 1; + else + getitem .@r[.@n], rand(5,10); + "> +}, +{ + Id: 590 + AegisName: "SilverGift" + Name: "Silver Gift" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 25 + KeepAfterUse: false + Refine: false + BuyingStore: false + Trade: { + notrade: true + noselltonpc: true + nogstorage: true + nomail: true + noauction: true + } + Script: <" + setarray .@r, StrangeCoin, Aquada, Manana; + .@n=rand(getarraysize(.@r)); + + if (.@n > 0) + getitem .@r[.@n], 1; + else + getitem .@r[.@n], rand(10,20); + "> +}, +{ + Id: 591 + AegisName: "GoldenGift" + Name: "Golden Gift" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 25 + KeepAfterUse: false + Refine: false + BuyingStore: false + Trade: { + notrade: true + noselltonpc: true + nogstorage: true + nomail: true + noauction: true + } + Script: <" + setarray .@r, StrangeCoin, IronIngot, SaxsoKey; + .@n=rand(getarraysize(.@r)); + + if (.@n > 0) + getitem .@r[.@n], 1; + else + getitem .@r[.@n], rand(20,40); + "> +}, +{ + Id: 592 + AegisName: "PrismGift" + Name: "Prism Gift" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 25 + KeepAfterUse: false + Refine: false + BuyingStore: false + Trade: { + notrade: true + noselltonpc: true + nogstorage: true + nomail: true + noauction: true + } + Script: <" + setarray .@r, StrangeCoin; + .@n=rand(getarraysize(.@r)); + debugmes str(getarraysize(.@r)); + debugmes str(.@n); + + if (.@n > 0) + getitem .@r[.@n], 1; + else + getitem .@r[.@n], rand(40,60); + "> +}, +{ + Id: 593 + AegisName: "SupremeGift" + Name: "Supreme Gift" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 25 + KeepAfterUse: false + Refine: false + BuyingStore: false + Trade: { + notrade: true + noselltonpc: true + nogstorage: true + nomail: true + noauction: true + } + Script: <" + setarray .@r, StrangeCoin, Googles, Diamond; + .@n=rand(getarraysize(.@r)); + + if (.@n > 0) + getitem .@r[.@n], 1; + else + getitem .@r[.@n], rand(60,80); + "> +}, { Id: 700 AegisName: "SmallTentacles" -- cgit v1.2.3-60-g2f50