Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Complex inventory system woes

1714569771
Quinn
Pro
Sheet Author
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?
1714594476
GiGs
Pro
Sheet Author
API Scripter
Quinn said: is this concept just too complex for roll20's framework? Yes.