RimWorld

RimWorld

Extended Storage
CosmicDan Aug 18, 2016 @ 4:02pm
Support for mod-added items/categories
I brought this up first in comments, but it's better to move over into a thread.

First of all, love the mod of course.

This thread is about incompatibility with other mod items (in this case I was trying to store Vegetable Garden goods) - as you pointed out already it's because they add their own categories.

I had a look at Vegetable Garden's XML, all the new items that are incompatible with Extended Storage are children of the vanilla "ResourceBase" category. Well, children of children technically - it goes ResourceBase > PlantProductBase > CookingProductBase > "Raw Dough" for example. PlantProductBase has a thingCategories element set to "CookingSupplies" - so that's a new category, yeah.

In that case, is it possible for your storage items to automatically allow all children of a particular category? Or would that break the current storage filters that are in place? If not, could you not just add a "CookingSupplies" category to your e.g. pallet storage building or is that not allowed since it's not already defined in the base game?

I don't know anything about RimWorld modding so I apologize if I've made some wrong assumptions here.

Thanks!
Last edited by CosmicDan; Aug 18, 2016 @ 4:05pm
< >
Showing 1-15 of 19 comments
Lorebot Aug 26, 2016 @ 5:00pm 
I'd really like to see something like this too. I'm really enjoying the storage furniture you've added, but having a bunch of stuff that doesn't fit into any of them is pretty annoying. I'd be happy with just a compatibility mod/patch that i could use.
Skullywag  [developer] Aug 27, 2016 @ 11:38pm 
That stuff woud be storable on the wooden pallet then wouldnt it?
Lorebot Aug 28, 2016 @ 2:44am 
saddly no...at least not as far as I've seen. I'm pretty sure I checked all the different storage items and none of them could hold certain items added by other mods. Specifically if those mods add new item categories for the stuff they add. Vegetable Garden adds a bunch of stuff under new defcategories like 'sweetmeals' and 'cookingsupplies'...since none of your storage items are configured to hold items from these categories they don't fit :(

I mentioned this to Vegetable Garden's author and he pointed me to some short instructions on how to alter your mod to allow these items to fit. He also mentioned that the new version of the mod for A15 should be more compatible with your storage items, but he didn't say why so I'm not sure what's changing.
Last edited by Lorebot; Aug 28, 2016 @ 2:47am
CosmicDan Aug 29, 2016 @ 1:24am 
Yep, I can concur 100% with what Lorebot says.

The change can be made in XML? I had a lookk but I couldn't figure it out. I will wait for A15 mod versions and try it out then.
James Ruan Aug 29, 2016 @ 5:26am 
Want it too.
It feel bad for the in consistence that some thing 'supposed to be' work didn't work.
Sir Luis Feb 10, 2018 @ 11:02pm 
can you mke a storage container thats just for bone or bonecrete bone ash?
DarkArtistryNKP Dec 30, 2019 @ 10:10pm 
So on this topic it looks like this mod or VGP got patched so that they work with each other a lot.
But there are still a few items from other mods that don't seem to add in. Specifically [RF] Fertile Fields - Plant scraps. The item is listed under Foods rather than plant matter, but doesn't add it's own sub category. Oddly enough though Clay, dirt, sand And a number of other items from Fertile Fields and able to be placed on pallets. The shellfish from the fishing mod also do not show up.
I'd love for these to be able to work together.
@DarkArtistryNKP - "[...] Clay, dirt, sand And a number of other items from Fertile Fields and able to be placed on pallets."

That's because they are under the Vanilla categories of either "ResourcesRaw" or "PlantMatter", while the others you mention are not in a serviced Vanilla category.
DarkArtistryNKP Jan 2, 2020 @ 6:57am 
Originally posted by TerraggosaurusRex:
@DarkArtistryNKP - "[...] Clay, dirt, sand And a number of other items from Fertile Fields and able to be placed on pallets."

That's because they are under the Vanilla categories of either "ResourcesRaw" or "PlantMatter", while the others you mention are not in a serviced Vanilla category.

Plant Scraps & Shellfish are listed under the Food category. Food is a vanilla category.
TerraggosaurusRex Jan 3, 2020 @ 10:01pm 
Correct. Hence the serviced modifier in my statement - "FoodRaw", "PlantMatter", "Drugs" are the Vanilla categories storable by Food Basket - it does not store "Food".
DarkArtistryNKP Jan 3, 2020 @ 11:18pm 
Originally posted by TerraggosaurusRex:
Correct. Hence the serviced modifier in my statement - "FoodRaw", "PlantMatter", "Drugs" are the Vanilla categories storable by Food Basket - it does not store "Food".

So you are saying it can't be fixed then?
DarkArtistryNKP Jan 3, 2020 @ 11:37pm 
Originally posted by TerraggosaurusRex:
Correct. Hence the serviced modifier in my statement - "FoodRaw", "PlantMatter", "Drugs" are the Vanilla categories storable by Food Basket - it does not store "Food".
Wait so why does it accept pemmican then?
Pemmican is only under the "Foods" category it's not in a sub-category.
TerraggosaurusRex Jan 4, 2020 @ 12:04am 
"So you are saying it can't be fixed then?"

Well, nothing is broken. What we're seeing is the two authors (ES + FF) have two design goals that as of right now are mutually exclusive. ES author can cater to a single mod's category structure / thingDefs or the FF author can re-categorize thingDefs to accommodate a single mod.

Raising the impasse with both authors directly is probably that fastest way to gauge if they will resolve it.
TerraggosaurusRex Jan 4, 2020 @ 12:11am 
"Wait so why does it accept pemmican then?"

Because it also stores specific Vanilla thingDefs: "MedicineHerbal", "Pemmican", and "Kibble".

The Food Basket XML is at:

<your-local-copy-of-the-mod>/Defs/ThingDefs/Storage/Storage_Basket.xml

if you want see exactly what is / is not stored.
TerraggosaurusRex Jan 4, 2020 @ 12:19am 
If you are feeling extra motivated, write an XPath XML patch and make a pull request on the ES codebase with it.
< >
Showing 1-15 of 19 comments
Per page: 1530 50