RimWorld

RimWorld

749 ratings
Adaptive Primitive Storage
4
7
3
4
4
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5
File Size
Posted
Updated
14.507 MB
Jan 3 @ 8:12pm
May 25 @ 1:05pm
5 Change Notes ( view )

Subscribe to download
Adaptive Primitive Storage

In 1 collection by vin
Vin's Workshop
6 items
Description

This mod is an independent port of Primitive Storage by Hydromancerx and velcroboy333 from the LWM's Deep Storage to the Adaptive Storage Framework using the Primitive Storage Retexture and restyle made by Phaneron. This mod fully implements cellars that cool perishable food, updating textures, and fixes to Phaneron's textures. Enjoy the performance increase. This was a requested mod, feel free to ask me to take a look at other mods to port. The next mod in my sights is porting Doors Expanded to the vanilla door system.




Why should I consider using the Adaptive Storage Framework over LWM's Deep Storage?
LWM's Deep Storage has a passive overhead and is generally less optimized than ASF. LWM was a great mod when it was released because it allowed you to store items in objects using its own integrated system prior to support. However, now this is out of date because this feature is supported natively. ASF's thingdefs use the vanilla maxItemsInCell field while LWM's runs alongside vanilla creating passive overhead along side retaining various limitations regarding stack numbers causing a drain on your TPS and FPS. Beyond just using the vanilla system ASF also introduces some seriously cool features like graphics that update as you store items and allows you to hide the rendering of items that are stored away. This mod is a backend rewrite of Primitive Storage to utilize this new framework so we can enjoy Phaneron's awesome art and reap the performance benefits of ASF and implements a performance friendly version of the cellars made by alt4s using code developed in Simple Utilities: Fridge by our beloved wizard Owlchemist

I'd greatly recommend you check out a great performance mod made by the talented creator of ASF bbradson on GitHub!
Performance Fish[github.com]


Is this mod compatible with LWM Deep Storage?
Yes. ASF and this mod are perfectly compatible with LWM's Deep Storage. ASF even allows you to choose systems between the two. However, if you continue to use mods dependent on LWM's Deep Storage then I would recommend you look into LWM's Shallow Storage an updated fork that switches port to the vanilla storage fields improving performance.

Is this mod compatible with the X storage mod?
This mod should be compatible with all other storage mods including LWM's Adaptive Storage. If one isn't let me know as it's probably a simple fix regarding the defnames that I have been lazy to update to make sure they're unique.

The log pile doesn't appear when I build it!
Its a log pile spot! Try storing some logs in it. Thats why its free to build.

Dubs paint tool doesn't work.
Disable "Job based painting" and color it manually. Apparently the pawns are unable to reach some of the objects due to their size or some soft incompatibility with the passability of the objects.

How do I edit the storage capacity of the objects?
Find the ThingDef.xml for the object you want to edit and change the # value in:
<maxItemsIncell>#</maxItemsInCell>

The dynamic objects (like the log piles, meat rack, etc) are a bit more complicated and call that you edit their GraphicsDef.xml too and scale the minimum stack count in each entry to reflect the change you did in the ThingDef.xml. Scale up/down the value in entry with the following line:
<minimumStackCount>#</minimumStackCount>

Can I add this mid-play through? Yes!
Here are some different scenarios:
- I want to replace Primitive Storage and or LWM's Deep Storage with the Adaptive series.
1. Deconstruct all instances of PS and LWMs.
2. Save the game and quit.
3. Add my mod.

- I already am using ASF. + I don't have any LWMs Deep Storage mods.
1. You can add my mod directly to your save.

- I dont plan on removing LWM's Deep Storage and or Primitive Storage.
1. Add my mod. Thats it. My mods are compatible with the originals. In fact, ASF include menu support for LWMs so you can even switch around features as you like.

The cellars don't respond to environmental temperature. Its -10°C and my perishables are rotting!
Unfortunately, this is a known limitation of the C# code I'm using. I don't have the coding expertise capable of dealing with this. My recommendation is to remove the <modextension> section in the XML code for the cellars if you plan on living in colder environments like the ice sheets. This will remove the "cooling" functionality and make apply the environment/room temp to perishables.

If anyone wants to try to add the ability for the cellars to use environmental temps in their cooling calculations or implement a work-around contact me for the source code. I'd be happy to share and implement the change into the mod.

Thanks to the ASF team!

[ko-fi.com]

[ko-fi.com]




This mod is an independent port of Primitive Storage by Hydromancerx and velcroboy333 and uses no assets from the original mod. I am not affiliated with the ASF team. This mod was made with the permission of Phaneron to use his textures in the port. Please check out his mods including Adaptive Neolithic Storage a mod that goes more than well alongside this one for both tribal, medieval, and viking playthroughs! I claim no rights to the contents of this mod meaning you are free to modify it and re-upload it as you please. Please just credit the original authors!

If you use Progression:Storage and want to keep the cellars and meat racks bring feel free to try this patch to keep them in!
https://steamcommunity.com/sharedfiles/filedetails/?id=3417113151
Popular Discussions View All (1)
0
May 24 @ 2:29pm
Expanded Woodworking patch
Draylynn
218 Comments
vin  [author] Jun 1 @ 1:12pm 
@49C-10
Comment below by brad.
bradson Jun 1 @ 2:29am 
That log has a bunch of errors related to race mods and vehicles or similar, but nothing relevant to temperature from what I can tell. How are you testing there? It looks like it should be working. Refrigeration only applies to items stored inside of a building, not the cell itself, the building or pawns moving there
49C-10 Jun 1 @ 12:10am 
@vin The temperature of the room where the basement is located is controlled at 21C, but the refrigeration still doesn't work, and there is no error related to it in the log, even if you remove all the other mods it still doesn't work, I don't know what went wrong

my log:
https://gist.github.com/HugsLibRecordKeeper/75594e5b9744711fcd8bfbb028214e92
vin  [author] May 31 @ 7:56am 
@Beltane
Glad to hear it.
vin  [author] May 31 @ 7:56am 
@Hustle Bear
Yes! Just delete the "fixed storage settings" section in the thingdef.xml for it and you can store what you like.
vin  [author] May 31 @ 7:54am 
@49C-10
What is the temperature of the room/environment the cellar is in? If it is at or below 75F (~23C) it should be effective. If the temperature is sufficient, then I'd verify that its not a mod conflict. Let me know if you figure out if its another mod so I can report the conflict and see if we can get it fixed.
49C-10 May 31 @ 7:46am 
Hello, for some reason, when I use the stone cellar in this series of mods, the function of maintaining low temperature does not work at all. I re-downloaded the mod and turned off other mods, but it still does not work. Is there something wrong with the framework?
Hustle Bear May 28 @ 1:31pm 
Is there anyway that the granary could be allowed to store hay?
Beltane May 25 @ 10:35pm 
Thank you! It's working now
vin  [author] May 25 @ 5:29pm 
Should be fixed now.