Elin
25 ratings
ResidentsShareFindings
   
Award
Favorite
Favorited
Unfavorite
Gameplay: QoL, Cheat
File Size
Posted
Updated
32.507 KB
22 Dec, 2024 @ 8:55am
25 Feb @ 12:50pm
12 Change Notes ( view )

Subscribe to download
ResidentsShareFindings

Description
Residents/pets will put items that they find (marked as owned by them) in shared containers.
After dumping the items they'll still be tagged as not your property but once you take them into your inventory it'll go away, this also lets you know what items a resident gave you.

Has a setting (off by default) to also let residents/pets dump their entire inventory, not just things they own, in shared containers, this would let your pets dump their inventory when at home instead of you having to take things back.
Note that when pets dump inventory it's possible for other residents to take items out if they are allowed to, most importantly equipment - you can use ResidentsExcludedSharedContainers https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3389898370 to avoid this.
To avoid dumping throwing or ranged weapons that the characters don't think are good for them but you want them to use them anyway, you can use AcceptMoreGifts https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3393596869 together with GiftedEquipmentPriority https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3393701894 and gift the weapons you want to keep to the characters. Check the notes on those mods for how throwing and ranged weapon priorities work.

You can also disable the base behavior of mod which is for residents/pets to dump things that's their property, this lets you use this for mod for automatic inventory dumping with your pets when used with PetsTakeMoreItems https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3391034162 but you don't like the idea of taking items that residents find occasionally.

Note that by default the base functionality of taking resident/pet owned items is enabled and residents/pets dumping their inventory is disabled.

Exceptions in all cases to avoid give-take loops or taking things we're not supposed/want to:
- Gifted/Equipped items
- Currency
- Instruments if character is a bard (as they can generate them out of thin air every day and it's not considered their property)
- Items with certain tags (so merchants don't drop their chests in for example)
- Anything they'd take right back, to avoid obvious loops, like equipment, food, blankets, etc
It's still possible I missed something important so let me know if you find any issue.

In addition to that, some residents will also spawn items out of thin air which is their property, right now the mod covers these cases:
- Residents who can read books have the ability to spawn random books

These residents might not use the item they spawned right away and might wait a while, to avoid the mod being too cheaty you can configure the frequency at which they'll try to dump these items owned by them.
By default it's 1 in 5, residents do not try to dump items very frequently (sometimes it can take them an hour) and so even with the default the odds of them dumping their items aren't very high. Setting the frequency to be 1 in 1 (100%) still doesn't mean they'll dump every item as it's dependent on their dumping timer and they might still use the item first.
As this is very RNG based, let me know if the default value makes sense.

Note that the setting for dumping frequency only affects dumping of items owned by residents/pets and included in the conditions above. For the option of dumping the entire inventory or items owned by them which don't have special conditions they always dump as soon as they can regardless of the frequency setting (as long as the respective options are enabled to allow dumping).

Settings can be adjusted in the config file that appears on Elin\BepInEx\config after the first launch of the game with the mod enabled or by using https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3379819704 (allows changing the settings without restarting the game).
30 Comments
NPOu  [author] 26 Mar @ 2:19pm 
@Tangent Logic
Can you share in what instances you aren't seeing the mod working as it should?
Tangent Logic 20 Mar @ 11:33pm 
latest version it no longer works
NPOu  [author] 25 Feb @ 12:57pm 
Issue was related to the character trying to store a ranged weapon which they could not equip while not having any ranged weapon equipped, since the logic avoids storing their best ranged weapon, this was causing a conflict when trying to find the best ranged weapon in their inventory.
Zuleyus 21 Feb @ 1:28am 
@NPOu
From memory, nothing unusual. Her equipped gear, a Putit in Amber, maybe some purchased food, and some textiles loot. Nothing seemed unusual (for Elin, anyway), other than the fact she wouldn't dump it like every other companion or resident. Sadly don't have a backup with her anymore, either. Sorry, can't provide anything of use there.

I'm gonna try picking her up again, and if the NREs come back I'll prepare an upload.
NPOu  [author] 20 Feb @ 3:07pm 
@Zuleyus
Do you know what specific items she was carrying?
Zuleyus 20 Feb @ 1:20am 
@NPOu
Sorry for not getting back to you any sooner, life and all that.

OTOH, I realized that the NRE spam was limited to a specific character only. I also noticed that she wouldn't drop her carried stuff into the home base containers as the other pets do. Something must have broken specifically with her; soon as I banished her the NREs stopped altogether. Haven't tried picking her back up again yet, so can't tell if that fixed the character. It was one of the leaderboard adventurers, Lazbed the fairy priestess (not sure if the lower ranks are also fixed names or randomized). Sucks to see her go, my healing output dropped noticeably without her.
NPOu  [author] 15 Feb @ 3:36am 
@Zuleyus
Residents will only put things in placed shared containers so yes, unlikely you'll see it anywhere else, however, I cannot reproduce the issue.
I added a couple more null checks but it's a shot in the dark. If possible share your save file with me on Discord, you can message Balrog8655 on Elin's discord.
Zuleyus 14 Feb @ 7:09pm 
@NPOu
At the home base only, but there it's constantly spammed, likely on every single container query (only placed ones? not sure, but highly likely given it doesn't appear in nefias). It became especially apparent after adding Unity Explorer with the exception notification, instead of just glancing at the log every once in a while.

Traces are all pretty much the same, ending at the .Postfix_TryPutSharedItems, otherwise I'd have prepared a full log upload for you already.
NPOu  [author] 14 Feb @ 4:37pm 
@Zuleyus
Didn't notice this notification, sorry.
In what cases are you getting the errors? Or is it all the time?
Zuleyus 14 Feb @ 7:10am 
Confirmed to still throw NREs with only this mod, Mod Options, Mod Config GUI, CWL, and Unity Explorer enabled. Also causes screen flashing for me, which I understand is a common issue with Elin and mod problems.