A merchant randomly appears in the game and offers to buy random items(with soft or hard currency).
For example, two random common item(each 100 gems) and one uncommon(250 gems). Or just one rare item(1000 gems). The price is static, based on rarity.
Can this be somehow implemented through a store(as I understand it, you cannot select drop tables there)? Or does it need to be done through a cloud script?
Perhaps the correct option is to create a shop with all the items and use the drop tables to choose a random item? But for drop tables, we still need to use a cloud script, since they require server api?