deathcap / inventory-window

GUI windows for interactively manipulating an inventory
http://deathcap.github.io/inventory-window/
7 stars 2 forks source link

Multiple linkedInventory filtered based on item type #18

Open deathcap opened 10 years ago

deathcap commented 10 years ago

Allow linkedInventory to be set to multiple inventories, directing the item on shift-click based on its type.

Could be useful for https://github.com/deathcap/voxel-furnace - currently, playerLinkedInventory: burnInventory, so shift-clicking goes to the input slot, but would like to shift-click into either the input or fuel slot, whichever is appropriate (if fuel, go to fuel slot by default, etc.).