Jump to content

[Solved] Custom recipe - Where to write quantity and description?


Recommended Posts

Hey!

I'm using the following coding for a custom Light Bulb recipe (it's in my modmain.lua) :

Spoiler

AddRecipe("lightbulb", { Ingredient("spoiled_food", 1)}, RECIPETABS.REFINE, TECH.NONE,nil,nil,nil,nil,"moleperson")

It requires one spoiled food to make it. The "moleperson" tag is used to make this recipe character specific.

My question is: I would like this recipe to make not one, but five Light Bulbs. How can I achieve that?

Bonus question: How can I add a description to this recipe (that appears in the crafting menu)?

Edited by BillTheCipher
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...