Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
DropSingleItem
Fork of TechGuard/DropSingleItem. Right click to place one item instead of the whole stack. Updated for Valheim 1.0.
| Date uploaded | 12 hours ago |
| Version | 1.2.1 |
| Download link | cjayride-DropSingleItem-1.2.1.zip |
| Downloads | 85 |
| Dependency string | cjayride-DropSingleItem-1.2.1 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2350README
DropSingleItem
Updated for Valheim 1.0
A fork of TechGuard/DropSingleItem
Original Nexus page: Drop Single Item
Inventory shortcuts
- Left click a stack to pick it up. Right click an empty slot (or a matching stack) to place 1 item. The rest stays on the cursor for the next click.
- Shift + right click a stack in its slot (do not pick it up first) to split it in half into two inventory slots when there is an empty slot.
- Right click outside the inventory grids while holding a stack to drop 1 item on the ground. The rest stays on the cursor.
- Double left click a stack to merge matching stacks into that slot. Items stay in the inventory; they are not picked up.
Configuration
A config file BepInEx/config/TechGuard.DropSingleItem.cfg is created after running the game once with this mod.
InventoryUseItem if you set this to anything other than right-mouse-button, you do not need to hold shift to pick up half a stack.
Contact
-
𝕏: x.com/cjayride
-
Discord: discord.gg/cjayride (find me at the top of the user list) "cjayride"
-
Twitch: twitch.tv/cjayride
AI Generated
This code was not AI Generated, however, AI was used to verify that it works with the new version of the game.
CHANGELOG
v1.2.1
- Verified in-game on Valheim 1.0
- Shift + right click splits a stack in its slot (no pickup); uses MoveItemToThis so it is not flagged as a cheated item
- Double left click merges matching stacks into the clicked slot and does not pick them up
- Place one / drop one keep the remaining stack on the cursor
v1.2.0
- Updated for Valheim 1.0 (Unity 6)
- Build now references Unity assemblies from valheim_Data/Managed
- BepInEx dependency updated to denikson-BepInExPack_Valheim-5.4.2350
- Keep the dragged stack on the cursor while right-clicking (ZInput.GetMouseButton in UpdateItemDrag)
- Place 1 item from a held stack with right click; remaining items stay on the cursor
- Right click outside the inventory grids drops 1 item from the held stack
v1.1.1
- Updated to work with Mistlands
v1.1.0
- Added config entry to override inventory "use" input (defaults to right-click)
- Shift + Right-click will pick up half of the stack
- Double Left-click will grab a full stack of the selected item