Description
Using ctrl+click on a loot item will move it into a matching container marked with a @loot tag. For instance, if you mark your Documents case with a @loot tag and put it in your secure container, all keys you loot using ctrl+click will be placed in that documents case automatically. Works only in raid - will not work with your hideout stash!
Installation
Copy CactusPie.ContainerQuickLoot.dll to BepInEx\plugins directory
Settings (F12 menu)
- Enable for Ctrl+click - whether or not the items should be automatically transferred to containers when moving them using ctrl+click in the loot menu
- Enable for loose loot - whether or not loose loot you pick up should be automatically palced in a container. This works for all the loot you just find lying around on the ground, shelves, etc.
Usage
- Put a container in your inventory. For instance a Documents case:
- Right click the container and select the "tag" option
- Set a @loot tag for the item.
- Ctrl+clicking a compatible loot item (such as a key) in raid or picking up loose loot will now put it in the documents case
Removing the @loot tag will stop the items from being automatically put in it
You can also add numbered suffixes to @loot tags in order to give a certain container a priority. For instance a container with @loot2 tag will take higher priority than a container with @loot3 tag. Not specifying any suffix assumes a "0" suffix/priority. Examples:
- @loot will take higher priority than @loot1
- @loot10 will take higher priorty than @loot20
- In case of two containers with the same @loot tag, the game will automatically assign a higher priority to one
-
Version 1.3.1
- CactusPie
- 401 Downloads
If the first matching container is full, put the loot into the next matching container
-
Version 1.3.0
- CactusPie
- 69 Downloads
Added priority container selection/sorting, for instance @loot2 will take higher priority than @loot3
-
Version 1.2.0
- CactusPie
- 106 Downloads
Automatically merge stacks (such as money, ammo, etc.) when transferring them
-
Version 1.1.0
- CactusPie
- 158 Downloads
- Added support for loose loot
- Switched to a prefix patch instead of a postfix patch for a minor performance improvement
-
Version 1.0.0
- CactusPie
- 154 Downloads
First release for 3.7.2
Claus1978
This mod is a godsend!, damn i was tired of things landing in my vest and having to transfer it during raid.
Alsaher
work on stash or just in raid ?
CactusPie Author
Nope, only in raid for now
Gala1221
Using 1.3.0 and noticed a strange thing happening.
So I am able to have 2 containers in my backpack. With @loot and @loot1 on the containers, after the first one fills, the second one seems to be ignored and everything else is just being tossed into my backpack instead. Is this intended?
CactusPie Author
Nope! Fixed now
Gala1221
Thank you!
erawa4
I am using v1.2.0 and I meet a question that when I take pmc‘s dog tag it will get into junkbox instead of tag bag.I wonder if there is a way to avoid that.
(Money not into wallet as well)
CactusPie Author
You carry an entire junkbox with you?
Well, for now if there are multiple containers you tagged with
@loot tag, it will deposit your loot into the first matching container. Since the junk box can contain dog tags they might end up in there.
I'm not planning to add tagging based on an item category for now, but I might at least add some form of ordering of the containers soon.
FenrisWolf
Does this work recursively? For those of us who enjoy loot goblin/hoarding.
IE. Automatically putting items into a container inside of a bag
CactusPie Author
I think it should, as long as you tag the specific container (or containers) you want the loot to end up in. The order in which they will get filled will be kinda unpredictable though
erawa4
Really helpful.So many times picking items but still have to open bag and put them into right case really annoying me.Now I can focus on raid.Much thanks to your work:)
SlaveToTheGames
Do you plan on extending this to other tags such as:
@Meds
@Food
@Drink
@Collector
@Ammo
@Armor
@Weapons
Etc..?
CactusPie Author
It will transfer all items to a container marked with the @loot tag. You can use an ammo box, if you prefer and tag it so it will automatically get all your ammo.
Unless you want a more granular approach, specifying what type of items should be automatically deposited, in which case I have no plans for that at the moment.
SlaveToTheGames
Yeah, I definitely meant a more granular approach. In my mind I picture multiple cases having these tags based off the type of case. So say I had a mix off items from what I stated above in my backpack/on character. I would then just hit the key bind plus click and they would go to the correct cases/containers. Meds to meds, drink to drink, etc.
But yeah, no worries if you have no plans right now.
Brin
In terms of granularity, I'd love something for in-raid that worked based on the tag structure of Inventory Organizing Features.
I'd love to be able to just use the same tags as that mod to be able to ctrl+click stuff from bodies/containers right into the exact loot containers I want it to go in.
Lord Khaos
I was wondering this as well.
First of all thank you for all these awesome QoL mods, we greatly appreciate it.
Like the others said, if a certain @tag can used to automatically put certain categories of items with the ctrl+click.
Say for example a keytool in your secure container that uses at @key tag, so any found keys will automatically go into it until full.
But again thank you so much for this mod and your others!
CactusPie Author
Yes, I agree this would be useful, I use Inventory Organizing Features too. However, I'm currently working on some other things and as such, I don't have the time to implement any kind of complex tagging system. In the first place I intended this mod to be very simple and straightforward, but if someone is willing to implement something like that I would welcome a pull request though!
Danersx
Very cool idea. Would be possible to disallow certain containers to be used? For example, I don't want the loot to be put in a chest rig (mags and ammo go there automatically) unless manually.
CactusPie Author
Yes, this is something that annoys me too. I'll take a look when I have a moment, but no promises!
CactusPie Author
FYI, I made a separate mod for this
Custom inventory container priority
Danersx
Very cool, thanks. Although the images you have added in CUSTOM INVENTORY CONTAINER PRIORITY don't work.
CactusPie Author
Ah, shit. Thanks for letting me know!
gangsterhotline
Man I was really hoping something along this avenue would be possible eventually, this sounds like a great start. Was the tag system added by BSG just to like label and color code your containers for physical organization and no logical workings behind it?
One of the mods on here for key storage (adds keyrings) has a cool workaround to make the keyrings only accept storing certain keys by adding them like a weapons addon system. Quite creative indeed haha.
CactusPie Author
Oh, I'll probably keep it using tags for now. I want to keep the mod simple, but the idea you posted is kinda genius
Klee
This is a great idea. Some questions tho.
If I mark multiple containers as such (is this even possible?) which gets priority?
What are your plans for continued development, if any?
From the way you write it, I take it that picking up loose loot isn't hoovered into the marked case?
CactusPie Author
Definitely possible, but I'm not sure which one would get priority to be honest. The game would either go with the one that's placed earlier in the inventory, or some arbitrary hidden value. I considered adding some priority to the containers, but decided it's gonna be very rare for anyone to have to matching containers in their inventory. It shouldn't be much of an issue, and I'd like to keep this mod simple.
Nope. For now it's only for Ctrl+click in the loot screen. If I implement it it, guess I'll have to rename the mod
I have some minor improvements in mind, like what you and gangster hotline mentioned, but we'll see. Can't promise I'll have the time and motivation to implement these
CactusPie Author
Just an update - I've added support for loose loot as well