Jump to content

Output multiple items per craft


Recommended Posts

I have this code which crafts one gear per time you execute the recipe. I want it to produce more than just one, how can I do that?

Recipe( "gears", { Ingredient("glommerfuel", 1), Ingredient("gears", 1), Ingredient("hammer", 1), Ingredient("flint", 2) }, RECIPETABS.REFINE, TECH.SCIENCE_TWO )

Nevermind, found the answer:
 

Recipe( "gears", { Ingredient("glommerfuel", 1), Ingredient("gears", 1), Ingredient("hammer", 1), Ingredient("flint", 2) }, RECIPETABS.REFINE, TECH.SCIENCE_TWO, nil, nil, nil, 2 )

 

Edited by smhily
Found the answer
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...