
I'm working on a homebrew system that includes complex, diablo-style 'loot' rules - equipment that can be generated at different levels of rarity with multiple affixes. A given item is a pretty complex object, with a base item, rarity, affixes, and levels for each affix. This is already tricky to implement without being able to nest repeating sections, but that's manageable. The next challenge is equipping items. The best idea I had for how to transfer items between inventory and equipment slots was to have each equipment slot generate a dropdown list, where you pick an item from your inventory... but it seems like there's no way to dynamically generate the content of a dropdown list, so that's not possible. Is there any plausible way to equip items from a repeating section that doesn't involve writing ten thousand lines of fiddly javascript, or is this concept just too complex for roll20's framework?