So, I have just started using this script:
https://forums.rpgmakerweb.com/index.php?threads/galvs-random-loot-v1-4.43741/ to create random loot in chests, but I get weird and unwanted results. In the script, you can separate gear into "families". For instance, I can set an item as family 1 (food), family 2 (drugs), family 3 (grenades), etc.
Let's say I want a chest to only give out 1 random drug of a certain rarity range. So, in the script format [random_item(type, rarity_min, rarity_max, subtype=0, monster_id=0, family=0)], I use random_item(1, 1, 10, 2) [the last number specifies the family ID]. It should only give 1 drug right? No, it seems to also include other items as well. If I wanted it to give other items, I would not specify a family. If I use random_item(1, 1, 10, 0 ,0, 2), then the chests are always empty. Anyone else know why I am getting these results?