Posted in

Item Mass Transfer V1.0

Item Mass Transfer

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

Credits:

9ate7six

Download

FileDescriptionFile sizeDownloads
zip Mass Transfer Mod - Il2Cpp-1-04 KB22
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x