To List of all Items

Friend Gift | 612

Sent by your friend. Can be open at level 5.

ID 612

This Item has Trade restrictions

ID for use in Discord:
Expert View

You'd like to see behind the curtain? Then you are here at the right place - lots of data only contributors would normally see.

Open raw JSON
ID 612
AegisName FriendGift

Script to execute when the item is used/equipped.

          if (BaseLevel < 5) {dispbottom l("You must reach level 5 to open this gift.");
getitembound FriendGift, 1, 1;
} else {getitem ScorpionStinger, rand(1,3);
getitem BugLeg, rand(1,3);
getitem MaggotSlime, rand(1,3);
if (rand(1,2) == 1)getitem Beer, 1;
elsegetitem CottonCloth, 1;
[email protected]=PiouLegs;
switch(rand(1,3)) {case "1":,[email protected]=PiouLegs;
case "2":,[email protected]=Piberries;
case "3":,[email protected]=Cheese;
}getitem [email protected], rand(2,3);
dispbottom l("Dear @@, I send you this gift in hopes you do well in TMW2.", strcharinfo(0));
[email protected]=callfunc("gf_charid", #REFERRAL_PROG);
rodex_sendmail([email protected], "TMW2 Team", "Invite Accepted", strcharinfo(0)+" accepted your invite and got level 5!\nAs they get stronger, more rewards will be sent to you!", rand(25,50));