This mod introduces a quality-of-life enhancement to Schedule I’s inventory system by enabling mass transfers of item stacks using a new keybind combination:
CTRL + SHIFT + Left Click:
Transfers all matching stacks of the clicked item from the current inventory to the opposite one
How it Works:
Hooks into the inventory click logic (SlotClicked in ItemUIManager)
On detection of the keybind + click, the mod:
Determines which inventory is active (hotbar vs container)
Finds all slots with matching ItemInstance.Definition
Moves each stack to the opposing inventory, skipping locked/invalid slots
Includes full null-safety and exception logging to prevent crashes
Stability Features:
Automatically falls back to PlayerInventory.GetAllInventorySlots() for hotbar slots that lack a SlotOwner
Avoids modifying inventory during iteration by copying the source list
Gracefully handles invalid or empty slots without interruption
Logs helpful feedback to the Melon console for debugging and transparency
9ate7six