Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Use selected hotbar slot when items are added to the hotbar #1

Closed
SalieriC opened this issue Jul 30, 2023 · 3 comments
Closed

Comments

@SalieriC
Copy link

Might be out of scope for this mod but I think it'd like to suggest it anyway because it's also been an annoyance for me (as well as having to open the inventory just to move an item in order to be able to perform a certain action):
Currently the game tries to fill the hotbar from left to right when picking something up or using Shift+LMB to send an item from the backpack to the hotbar. If you want to have something in a specific slot this can be very frustrating and also leads to unnecessary inventory micro-management. I'd prefer if the game would always use the selected hotbar slot instead if a) the slot is empty or has the same item that was picked but and b) there is no other partial stack of the picked up item already in the bar (if the item is stackable).
This should only apply to the above mentioned actions I think as the player does this actively. When picking up drops, the default behaviour should apply I think.

@mass8326
Copy link
Owner

This is something that has started to bother me recently as well, so I'm glad you brought it up!

I'll take a look into it, though I make no promises. This mod was straightforward enough for my limited C# knowledge, but modifying pre-existing behavior might be beyond me.

@mass8326
Copy link
Owner

mass8326 commented Aug 2, 2023

To give an update, I've been able to get this working for rocks and sticks on the ground!

However, I'd like for it to work for crates, piles, and ground storage too. That'll take me a bit more time to explore and implement.

It looks like this kind of tweak needs to be run on the server, unfortunately, so I'll likely release it as a different mod to keep this one client-side only.

@mass8326
Copy link
Owner

mass8326 commented Aug 4, 2023

Published the new mod! Thanks for suggesting the idea!
https://mods.vintagestory.at/pickupartist
https://github.com/mass8326/vintagestory-pickupartist

@mass8326 mass8326 closed this as completed Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants