Project Zomboid

Project Zomboid

评价数不足
QuickLootHotkey
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
18.788 KB
2022 年 7 月 11 日 下午 12:21
1 月 12 日 下午 7:56
4 项改动说明 ( 查看 )

订阅以下载
QuickLootHotkey

描述
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 条留言
basics :)  [作者] 1 月 9 日 下午 7:04 
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 2024 年 11 月 23 日 下午 5:00 
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 2023 年 9 月 30 日 上午 5:01 
This is probably the best mod ever, along with grab & drop. Too bad it doesn't work with Inventory tetris.
goagoa 2023 年 7 月 28 日 上午 3:08 
Hey great mod! A hotkey rebind would be much appreciated <3
basics :)  [作者] 2022 年 7 月 11 日 下午 11:24 
@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 2022 年 7 月 11 日 下午 4:32 
This sounds pretty handy for kb and mouse users. Thanks for the Unpack endorsement the other day on the discord. Sub'd!