Grantapher / ValheimPlus

A HarmonyX Mod aimed at improving the gameplay and quality of life of the game Valheim.
GNU Affero General Public License v3.0
210 stars 23 forks source link

Added auto "stack all" to all chests in range #75

Closed Bellian closed 1 month ago

Bellian commented 1 month ago

This feature will perform the "Stack all" function on all chests in range. This will automaticaly sort all items from the player inventory into chests in range.

Works with the "stack all" button in inventory as well as holding the "E" button.

Also adds a feature to disable equipment to be placed in chests using the "Stack all" feature. So you keep your hammer in inventory if another hammer is inside of a chest.

Bellian commented 1 month ago

Don't know for sure how to test this for multiplayer. Pretty new to this. Any advice here @Grantapher?

Grantapher commented 1 month ago

I believe you can open the game multiple times on the same computer, but you will need to set up a dedicated server as well (which can also likely be done on the same computer).

Bellian commented 1 month ago

Nope, just got me banned from this server XD Will test tomorrow with someone else.

Bellian commented 1 month ago

Works in multiplayer. Will also prevent auto sorting in chests if they are opened by anyone else. Guess this is intended since inventories are exclusively blocked if opened to prevent sideeffects.

But it will show a message. Should i see if i can remove this message?

Bellian commented 1 month ago

changed and tested