Recipe troubles! [Solved -ish, for the most part]

Started by Shinzy, January 09, 2015, 09:24:09 AM

Previous topic - Next topic

Shinzy

can I have a recipe def to use only the Metallic things?

    <stuffCategories>
      <li>Metallic</li>
    </stuffCategories>

cause that works with the recipe makers of the item
but not so much in actual recipe def (or then I'm just doing it wrong)

the thing is that I need the craft to plop out some side products not just the item itself

Alternatively can I have the recipe maker things to produce extra products =P

say if I were to make a "donut dough" recipe which would
use "magical bake powder", "flour", 25 Metallic stuffs and a "rolling pin" and I'd like the recipe to
give back the "rolling pin" and the "Donut dough"
Names of materials have been changed to protect the identity of product

now again the problem is that recipe defs don't seem to know what 'Metallic' stuffs are
and the recipe maker cannot (?) give multiple/different products

Also bad at explaining things! sorry bout that, it's not my strong suit ;D

Rikiki

I don't know about the metallic part, sorry.

You can have a recipe spawn multiple products (like give back the tool used to complete the bill).
However, you will lose the ability to select "Do until X" as the game does not know what is the main output product...
(In my opinion, it should be modified so the game only watch the number of the first item in the output product list).

I am not sure a recipe can take more than 3 different kinds of input product. ???

Shinzy

Quote from: Rikiki on January 09, 2015, 09:37:17 AM
You can have a recipe spawn multiple products (like give back the tool used to complete the bill).

can I do this through the ThingDef?
like how Apparel and melee weaponry are made?

mrofa

#3
<fixedIngredientFilter>
  <categories>
     <li>ResourcesRaw</li>
  </categories>
</fixedIngredientFilter>


or if you want to be more specific

<fixedIngredientFilter>
  <thingDefs>
     <li>Plasteel</li>
     <li>Gold</li>
     <li>Steel</li>
     <li>Silver</li>
  </thingDefs>
</fixedIngredientFilter>
All i do is clutter all around.

Shinzy

aw, then I'd have to make list of all the other materials that are added by other mods (read: materiello)
I'm just gna not use materials in my metal armors =P pff.. I mean magic donut dough

Thanks Rikikikikiki and Mrofster!
need to study the FixedIngredientFilter bit now

mipen


Shinzy

Quote from: mipen on January 10, 2015, 02:57:42 AM
Shinzy you are awesome. Just saying
Ooh I agree! but I do wish I could make my donuts more magical =P

StorymasterQ

Quote from: Shinzy on January 10, 2015, 05:56:38 AM
Quote from: mipen on January 10, 2015, 02:57:42 AM
Shinzy you are awesome. Just saying
Ooh I agree! but I do wish I could make my donuts more magical =P
Sprinkles. Sprinkles make anything magical, including donuts. Even power armors.

Except vampires. Sprinkles do nothing to vampires.
I like how this game can result in quotes that would be quite unnerving when said in public, out of context. - Myself

The dubious quotes list is now public. See it here