Project Zomboid

Project Zomboid

Not enough ratings
QuickLootHotkey
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
18.788 KB
11 Jul, 2022 @ 12:21pm
12 Jan @ 7:56pm
4 Change Notes ( view )

Subscribe to download
QuickLootHotkey

Description
Note: In b42, this mod seems to occasionally fail. One of the situations happens when an item just _barely_ can't fit inside the target bag. The other situation is when you are trying to loot a key while you have a special key ring equipped. Other than that, it seems to be running perfectly and I will try to get around to fixing the above mentioned issues soon.

This mod seeks to make looting more efficient and comfortable for the player.

Currently, the mod is in its infancy, but it works.

Hover over any item in one of the inventory panes. Then press T to have that item be looted / dropped.

If the item in question is already in your inventory, the item will be placed in whatever world container you currently have open (or the ground if none are open).

If the item in question is on the ground / in a world container, it will be looted into your "best" container that has space. ("Best" is based on weight reduction. So it sort all your player's containers by weight reduction and attempt to place it in each one in that order. If none of your containers have room, it'll loot it onto your person.

If you're hovering over a stack of items, it'll loot the whole stack.

Hold control and press T to only move one item from the stack.

Some things that I would like to add in the (hopefully) near future:

- Make the hotkey customizable.
- Make the modifier hotkey (currently control) customizable.
- Add a "Move All" button / modifier.
- (Done) Make it so that keys automatically get placed in the keyring.
- Make it so that if you have multiple items selected (highlighted) that T will move all of them instead of only moving what is being moused over.

I would love any and all feedback. If you find any issues or have any suggestions / requests, please comment and I'll do my best!

Thank you.

Workshop ID: 2833900925
Mod ID: QuickLootHotkey
6 Comments
basics :)  [author] 9 Jan @ 7:04pm 
I've updated the mod to work for unstable build 42. It's not thoroughly tested, but works for containers that I tested it on immediately after spawning. I don't play zomboid anymore (I'm sure I will be back in the future) but if you run into any problems, please try to describe the issue and I'll see if I can fix it.
Kride500 23 Nov, 2024 @ 5:00pm 
I LOOKED FOR SUCH A MOD FOR HOURS MAN
Should be absolutely vanilla, similar to the "drop one" and "unpack" buttons on the items in your inventory itself
MariusTitus 30 Sep, 2023 @ 5:01am 
This is probably the best mod ever, along with grab & drop. Too bad it doesn't work with Inventory tetris.
goagoa 28 Jul, 2023 @ 3:08am 
Hey great mod! A hotkey rebind would be much appreciated <3
basics :)  [author] 11 Jul, 2022 @ 11:24pm 
@ThereforeAliens Thanks! And yeah, this has been a mod I've been wanting to make for a while. I never felt like the looting was very ergonomic. This mod still has a lot of room to improve though. Some of my ideas for future improvements are in the description above, but I'll try to think of more while playing. Maybe some other people will comment with some good ideas as well.
ThereforeAliens 11 Jul, 2022 @ 4:32pm 
This sounds pretty handy for kb and mouse users. Thanks for the Unpack endorsement the other day on the discord. Sub'd!