Lay
TFS 1.2
- Joined
- Dec 7, 2012
- Messages
- 67
- Solutions
- 9
- Reaction score
- 29
Hey,
I need action script with an easy way to change/add sacrificedItems and rewardItems,
two of the same items will be removed and reward will be added into backpack (20% chance for rewardItem from list) or 20% chance for each trash item (4 trash items). Screen is only for example, id of items can be any.
With functions:
I would be very grateful!
Thanks for Help =]
I need action script with an easy way to change/add sacrificedItems and rewardItems,
two of the same items will be removed and reward will be added into backpack (20% chance for rewardItem from list) or 20% chance for each trash item (4 trash items). Screen is only for example, id of items can be any.
With functions:
- 'You have no room to take it' - if the backpack was filled
- 'You need two the same items for sacryfice' - if some1 will try without sacrificedItems
- 'You can't sacryfice this items' - if some1 will try items not from the list
I would be very grateful!
Thanks for Help =]