Kenshi
Not enough ratings
Storage != Outpost
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
4.657 KB
30 Dec, 2018 @ 1:05pm
23 Feb, 2020 @ 10:02am
6 Change Notes ( view )

Subscribe to download
Storage != Outpost

Description
A huge thank you to AVE#1242 at the Kenshi Community Discord for telling me this setting exists

Storage units will no longer be enough to be considered an Outpost by the game.

This will let you put ore storage next to rocks without getting raided by Dust Bandits or mandatory Prayer Day

This also works for Crafting and Farming storage
18 Comments
Neme 6 Jan, 2022 @ 7:56pm 
Ofcoruse i still need to research the storage containers right .. I'ma dumbass some times lol
Thundercraft 23 Feb, 2020 @ 12:34pm 
@ Charger1968 [author]
No prob. Everyone makes mistakes. It's a part of learning. To be honest, I've only just started modding Kenshi, myself. And doing so is quite different from my experience modding other games.

"I see there's an option for both 'Is Interior Furniture' and 'Is Exterior Furniture' would it be best to just set both of those to true for 'Food Store' and 'Storage: Riceweed'?"

I only noticed it -now- that I've looked at the code again, but:
Believe it or not, in a vanilla (unmodded) game, 'Food Store' already has both 'Is Interior Furniture' and 'Is Exterior Furniture' set to 'True'. Since it is that way by default, setting both to True should be fine. BTW: 'Storage: Riceweed' only has 'Is Interior Furniture' set to True. You could probably set the 'Is Exterior Furniture' to True on this, also, without issue.
Charger1968  [author] 23 Feb, 2020 @ 9:54am 
@Thundercraft To be honest, this is the first time I've modded a game in any way so any weird choices/coincidences are likely completely accidental. It's been a bit over a year since I last played Kenshi but looking at the FCS now I see there's an option for both "Is Interior Furniture" and "Is Exterior Furniture" would it be best to just set both of those to true for "Food Store" and "Storage: Riceweed"? Or would that create problems within the game?
Thundercraft 22 Feb, 2020 @ 6:29am 
@ Charger1968 [author]
In the FCS, after opening your mod, click on [Changes]. Unlike for other storage items where only "creates player town" was changed, you also changed "is interior furniture" from [True] => [False] for "Food Store" and "Storage: Riceweed" - and only those two. Is this just a coincidence? Or is this the reason why players can no longer place a Food Store indoors in their own buildings?

May I suggest that you remove that "is interior furniture" [True] => [False] from these two? If desired, you could create duplicates of these, named "Food Store Outside" and "Storage Outside: Riceweed". That would give you the functionality you want without breaking vanilla functionality.

PS: You also changed "Storage: Copper" with a MODREF "functionality : Resource storage". But the vanilla game already had this, so isn't this change unnecessary? Also, "Storage: Leather" has a bunch of extra stuff added. Are those intentional and necessary?
Charger1968  [author] 9 Mar, 2019 @ 2:43pm 
@Nacquarani I actually made this mod because i ran a player owned building in a town. I can't seem to figure out how to fix the food storage despite changing it's properties like I did every other storage building. I'll give it another look though, hopefully I can find something to help fix it
Nacqurani 9 Mar, 2019 @ 2:26pm 
Just FYI, but this appears to cause some issues with player-owned buildings in towns. I could not place a food storage indoors in my own building while this mod was active, but disabling this mod (and only this mod, as I am using several others though this one is loaded last) removes the issue.
kaiomnamaste 17 Jan, 2019 @ 9:08am 
I tested the issue with the suggested mod and without, food storage still says 'invalid container type'. If it helps im placing the food store outside and not in a structure, so it may be reading it wrong.
Charger1968  [author] 16 Jan, 2019 @ 10:58pm 
The animal feeder should no longer create a player town. As for the Food Store, units not autohauling to it or eating from it sounds like a boundary problem. I haven't tested this myself but I strongly believe this mod might work best with this one https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1610265806&searchtext=
I did also change the Food Store so it's no longer exclusively an interior structure

What happens is that when a structure no longer creates a player town the game lets you place it anywhere (even if it would be too close to a town) and behaves strangely if it's placed where it wouldn't have been allowed to before (i.e units not autohauling to it). To my knowledge the mod I liked shortens the restriction boundary near cities and should, in theory make this one work better. Again, I haven't tested it myself.

There was another change I ended up backing out of so if the problem still persists I might have to try that.
kaiomnamaste 16 Jan, 2019 @ 8:43pm 
the food storage now doesnt recognize food items, and my units wont autohaul to it or go eat from it.
the animal feeder also creates an outpost, otherwise i appreciate your work
Charger1968  [author] 16 Jan, 2019 @ 3:11pm 
@kaiomnamaste Looks like I missed another one. Sorry for the late reply but it should be fixed now. Let me know if it works.