RimWorld

RimWorld

LWM's Deep Storage
Maestro 8. des. 2019 kl. 13.59
Storage.xml file
Can you help me edit this. My mods add new metals to the game and they are not in deep storage category. So I edited this

<categories>
<li>ResourcesRaw</li>
<li>Textiles</li>
<li>MortarShells</li>
<li>Drugs</li><!-- can hold more things b/c bags! -->
<li>PlantMatter</li>
</categories>

to this:

<categories>
<li>ResourcesRaw</li>
<li>Metalls</li>
<li>Textiles</li>
<li>MortarShells</li>
<li>Drugs</li><!-- can hold more things b/c bags! -->
<li>PlantMatter</li>
</categories>


adding in "Metalls" category


But it does not seem to add effect and shows a red line on the left in Notepad++ meaning code is not properly written.
< >
Viser 113 av 13 kommentarer
lilwhitemouse  [utvikler] 8. des. 2019 kl. 15.55 
What is the mod?

It looks, at first glance, that you added them to Pallets with Wrappings, which have sacks to store stuff in...probably not what you meant. But I can probably add a compatability patch if I have the full mod name and the category def.

Is it "Metalls" with two Ls?
Maestro 8. des. 2019 kl. 16.46 
mod is: RimOverhaul

yes it's spelled with 2 L's, and yes I did added them on pallets with wrappings
Sist redigert av Maestro; 9. des. 2019 kl. 3.13
Maestro 10. des. 2019 kl. 13.18 
Oh sorry forgot about the category def

<ThingCategoryDef>
<defName>RimOverhaulSpecialMetalls</defName>
<label>Metalls</label>
<parent>RimOverhaulSpecial</parent>
</ThingCategoryDef>



here is one more it has Specials category as well because Metalls is under Specials category, idk if it helps

<ThingCategoryDef>
<defName>RimOverhaulSpecial</defName>
<label>special</label>
<parent>Root</parent>
</ThingCategoryDef>
Sist redigert av Maestro; 10. des. 2019 kl. 13.19
lilwhitemouse  [utvikler] 10. des. 2019 kl. 15.39 
So you would ideally like RimOverhaulSpecialMetalls to go where all the vanilla metals go?
Maestro 10. des. 2019 kl. 15.43 
It does not matter which section/category they go to it only matters that I can store them in deep storage either pallet or skip. Right now they don't exist in deep storage selection
lilwhitemouse  [utvikler] 10. des. 2019 kl. 15.44 
I mean, *I* don't use RimOverhaul, so you should suggest a place :) Both skips and pallets sounds reasonable, I suppose?
Maestro 10. des. 2019 kl. 15.45 
Ok, then wehre the rest of vanilla metals are is fine place
Maestro 11. des. 2019 kl. 9.56 
I don't want to rush you, you are already helpful by just responding. Can you direct me what code do I need to write in to have these resource option available, it does not matter for me where they are gonna be placed category wise or whatever if it is in a skip or pallet or wherever.

I have a vanilla default storage that takes 1/4 of my map because I run a Quarry mod as well and these metalls are mined from there. So I need a large space to store them into. Kinda running out of space
lilwhitemouse  [utvikler] 11. des. 2019 kl. 10.45 
Hehe. 1/4 is awesome.

I'm testing a new feature before I push it out, so the change hasn't gone into Steam yet. The reason your change didn't work is because you grabbed the Label and not the defName - if you make those changes, it should stick around....until I push out my next update, which should have the compatibility patch in place.

Alternately, you could try the mod settings - specify that your metals are allowed in skips/pallets, etc.
lilwhitemouse  [utvikler] 11. des. 2019 kl. 10.46 
And my awesome, I mean, horrifying ;D I'd love to see a screenshot of that!
lilwhitemouse  [utvikler] 11. des. 2019 kl. 10.52 
Speaking of which, I suppose the darknet drugs should go in the medicine cabinet, and the medieval shells should go on pallets too. This mod adds a lot, doesn't it? If there's anything I missed once I roll it out, lemme know?
Maestro 11. des. 2019 kl. 11.22 
Ok, setting it up in mod configuration helped. Tnx. 1/4 is a figure of speech but basiclly I have like 100 stacks of 75 on each tile so it takes a lot of space

This is what it adds in category.xml

<Defs>

<ThingCategoryDef>
<defName>MedievalShells</defName>
<label>medieval shells</label>
<parent>Manufactured</parent>
<iconPath>UI/Icons/ThingCategories/MortarShells</iconPath>
</ThingCategoryDef>

<ThingCategoryDef>
<defName>RimOverhaulSpecial</defName>
<label>special</label>
<parent>Root</parent>
</ThingCategoryDef>

<ThingCategoryDef>
<defName>RimOverhaulSpecialMetalls</defName>
<label>Metalls</label>
<parent>RimOverhaulSpecial</parent>
</ThingCategoryDef>

<ThingCategoryDef>
<defName>DarkNetItems</defName>
<label>DarkNET</label>
<parent>Root</parent>
</ThingCategoryDef>

<ThingCategoryDef>
<defName>DarkNetItems_Drugs</defName>
<label>DarkNET Drugs</label>
<parent>DarkNetItems</parent>
</ThingCategoryDef>

</Defs>


Yes drugs for medicine cabinet and shells on pallets. Yes it adds alot, quests, events,, new armor, ect. Just makes Rimworld more alive and fun.
Sist redigert av Maestro; 11. des. 2019 kl. 11.23
lilwhitemouse  [utvikler] 12. des. 2019 kl. 15.34 
New update should have all that!
< >
Viser 113 av 13 kommentarer
Per side: 1530 50