ResidentsExcludedSharedContainers
Block residents from taking items out of shared containers with certain names but still allow them to put items in, effectively creating a resident dumping container that’s safe from other residents.
Works seamlessly with ResidentsShareFindings https://steamcommunity.com/sharedfiles/filedetails/?id=3389569673 and PetsTakeMoreItems https://steamcommunity.com/sharedfiles/filedetails/?id=3391034162 allowing residents/pets to put their findings or inventory in a container without worrying about other residents/pets taking items from it.
Note that due to how the game makes residents scan for food and how it bypasses the method used to retrieve items and uses something more hardcoded, residents and pets will still be able to access and eat food in shared containers even if they are filtered by this mod. To avoid this you should use NoResidentSharedFood https://steamcommunity.com/sharedfiles/filedetails/?id=3389359940 for now.
You can set the name or type of the containers to be considered for exclusion in the config and if pets should respect the exclusions or not (by default they do not). When filtering by type it filters all containers of that type.
By default anything named "NoResidents" or of the type "_container_magic" (intentional typo, remove the "_" to filter this type) will be excluded.
Additionally, you can also invert the filtering logic, making it so only containers with a certain name or of a certain type can be used by residents (if pets are set to respect the exclusions they’ll also follow this setting for this filter).
Container types can be at https://docs.google.com/spreadsheets/d/175DaEeB-8qU3N4iBTnaal1ZcP5SU6S_Z
The container type is its ID (column A) or its name (column F).
You can also set specific rules for specific pets, for example:
Farris-NoFarrisContainer,NoFarris|Kitten-NoKittenContainer
This blocks Farris from the NoFarrisContainer and the NoFarris shared containers and kittens from NoKittenContainer.
This filter also supports container types and can be inverted.
Additionally, if using "All" as the pet names, it’ll apply to all pets.
When making pets respect the filter set for residents, keep in mind that it’s applied in order, so first the containers will be restricted down to what’s on the resident filter and then the pet specific filter will be apply to get the final list of containers for the pets.
Character names can be found at https://docs.google.com/spreadsheets/d/1CJqsXFF2FLlpPz710oCpNFYF4W_5yoVn
Pet names can be by ID (column A), name (column D) or specific given name (only seen in game).
For example:
"Samany the little sister" (as seen on the hover text) can be filtered with "Samany" (given name, specific for her or other Samanys) or "sister" (specific for all little sisters).
For Older Younger Sister, both "olderyoungersister" and "older younger sister" work as shown in the spreadsheet.
Unique NPCs all have their unique names as shown on the spreadsheet but things like "a kitten" can’t be specifically filtered and you have to filter all kittens at once.
None of the filters are case sensitive so don’t worry if it’s "olderyoungersister" or "OlderYoungerSister", although what you see on the spreadsheet should be the correct case sensitive namings.
Practical example #1:
– Wanting to filter out residents from accessing a container named "NoResidents" or of the type "container_magic"
– Wanting to filter out all pets from accessing the same containers as residents and an additional "NoPets" container and Farris from accessing "NoFarris"
Practical example #2:
– Wanting residents to only access a container named "Residents" or of the type "container_magic"
– Wanting to filter out all pets from accessing the container named "Residents" and Farris from accessing containers of the type "container_magic"
Practical example #3:
– Wanting residents to only access a container named "Residents"
– Wanting all pets to only access a container named "Pets" and Farris to also access a container named "Farris"
Practical example #4:
– Wanting residents to only access a container named "Residents" or "Residents2" or "Residents3", etc
– Wanting all pets to only access the same containers as residents but restrict Farris to only "Residents"
Settings can be adjusted in the config file that appears on ElinBepInExconfig after the first launch of the game with the mod enabled or by using https://steamcommunity.com/sharedfiles/filedetails/?id=3379819704 (allows changing the settings without restarting the game).