Ludeon Forums

RimWorld => Mods => Help => Topic started by: 1000101 on January 14, 2015, 05:20:08 PM

Title: Is it possible to turn rock chunks into stuff?
Post by: 1000101 on January 14, 2015, 05:20:08 PM
I've been experimenting with the rock chunks, trying to turn them into their own "chunky" stuff so low-low-tech things can be made.

I've got a simple thing which accept chunky stuff, I've added the stuffprops to chunks and the game tells me I can build my thing with a chunk except...it doesn't provide a list of my chunks (despite say, "sandstone chunk thing") and tells me I have no usable material even though I have various chunks in my stockpile.

I'm wondering if I'm missing something in my process.

td;lr

How do I turn chunks into stuff?
Title: Re: Is it possible to turn rock chunks into stuff?
Post by: Rikiki on January 15, 2015, 03:40:48 AM
Sorry but I am quite confused with your question. ???
Could you provide your code and spot us where is the problem?

Rock chunks are already made of stuff (limestone, granite, ...). ???
Title: Re: Is it possible to turn rock chunks into stuff?
Post by: 1000101 on January 15, 2015, 12:21:31 PM
Well, it seems the stuff is applied to the blocks, not the chunks.  Stone blocks are stuff, stone/rock chunks are not.

I'll see about reducing my mod down to the relevant point of this thread.
Title: Re: Is it possible to turn rock chunks into stuff?
Post by: mrofa on January 15, 2015, 12:58:23 PM
They are  set in xml by categories, so if you want to make  stuff you just need to set proper category right like "Stony" :D
Or do custom categories in StuffCategoryDefs xml and add it to them to chunks like this
<stuffProps>
      <categories>
        <li>MyCustomCategoryName</li>
      </categories>
</stuffProps>
Title: Re: Is it possible to turn rock chunks into stuff?
Post by: 1000101 on January 15, 2015, 06:37:55 PM
I tried that actually.  I made a "Chunky" stuff in StuffCategoryDefs, created my building (just a bed) which used the "Chunky" stuff.  I'll have to get that working separately from the rest of the mod.

thanks for your thoughts though.