I want a macro that creates an inventory. It will work like this:
<<inventory [width] [height] [variable]>>
Items will be draggable within the inventory and the [height] is it's height, [width] is it's width, and [variable] is the variable it modifies. It should not be reset with the reloading of a page, and items should be draggable between multiple inventories. The items in the inventory should be stored as a list. In other words, I want an inventory similar to the one in the sidebar of Adventures, but with an unlimited number of inventories availible at any one time. Navigating away from the page will save the current items in the inventory to the variable [variable].
And I want a macro that creates an item, like this:
<<item [name] [tag] [image url]>>
Edit: this might help, as it uses drag-and drop: Using drag and drop to set variables