Is it possible to turn rock chunks into stuff?

Started by 1000101, January 14, 2015, 05:20:08 PM

Previous topic - Next topic

1000101

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?
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

Rikiki

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, ...). ???

1000101

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.
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

mrofa

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>
All i do is clutter all around.

1000101

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.
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By