Clothing Item with specific material?

Started by litenthadark, November 16, 2016, 05:30:50 PM

Previous topic - Next topic

litenthadark

Hey everyone! I am currently working on a mod, but I want there to be a clothing item that can ONLY be made with Hyperweave. I was wondering how to set it up?

I know that <stuffCategories> defines which category of material can be used, but I was wondering if there was a more specific option, so that it is ONLY hyperweave.

Also, is there a way to force the item to only spawn in a few different colors? I'd like to only have it be a select few.

Thanks!

kaptain_kavern

#1
In place of <costStuff> you can use <costList> and a list of thingdef or category. You can look in Core there are numerous example.

And I know there is an explained recipedefs file in this documentation project : https://ludeon.com/forums/index.php?topic=26498

PS : this is the help forum, look at the pinned threads ;-)