From e289099a4c2e4a0d7cf0bf32639825dadfcae7ac Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 2 Jul 2018 18:46:08 -0300 Subject: Friend Referall Prototype --- db/re/item_db.conf | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'db/re/item_db.conf') diff --git a/db/re/item_db.conf b/db/re/item_db.conf index db3eaf0fc..3e14c7164 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -2204,6 +2204,38 @@ item_db: ( doevent "rand_sc_heal::OnUse"; "> }, +{ + Id: 612 + AegisName: "FriendGift" + Name: "Friend Gift" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 0 + KeepAfterUse: false + Refine: false + Trade: { + notrade: true + nodrop: true + noselltonpc: true + nogstorage: true + nomail: true + noauction: true + } + Script: <" + if (BaseLevel < 5) { + dispbottom l("You must reach level 5 to open this gift."); + getitembound FriendGift, 1, 1; + } + getitem any(ScorpionStinger, BugLeg, MaggotSlime), rand(1,3); + getitem any(ScorpionStinger, BugLeg, MaggotSlime), rand(1,3); + Zeny=Zeny+50; + getitem any(Beer, CottonCloth), rand(1,2); + getitem any(PiouLegs, Piberries, Cheese), rand(1,2); + dispbottom l("Letter from @@:", #REFERRAL_PROG$); + dispbottom l("Dear @@, I send you this gift in hopes you do well in TMW2.", strcharinfo(0)); + "> +}, { Id: 700 AegisName: "SmallTentacles" -- cgit v1.2.3-60-g2f50