Inventory item that generates / drops random items like a mob drop?

Inventory item that generates / drops random items like a mob drop?

WithinAmnesia's picture

Inventory item that generates / drops random items like a mob drop? As in like with Old School RuneScape there are a few items that the player can obtain that have random items 'within' them that once 'opened' generate random amounts and or random types of items (with potentially random amounts) like a loot drop table of an enemy slain but in an inventory format. Example: https://oldschool.runescape.wiki/w/Casket + https://oldschool.runescape.wiki/w/Bird_nest + https://oldschool.runescape.wiki/w/Mystery_box . Is this feature possible to have featured within the Flare Engine? If so how can this be in game / how can with be made? Somehow so that an item can be used within the inventory that somehow exec reward_item... item drop table (is there even a command like that O.o)? Eh how would this play out in Flare, is it possible with the current build? I am kind of rolling the idea around in my head by I am kind of stuck as to how to pull it off XD.