new building
Posted: Tue May 21, 2013 12:42 am
please tell me what to do to the material prepared from nothing only spending energy?
sorry for my english!
sorry for my english!
Actually I noticed that drs9999 did this quite a while agokovarex wrote:Hello,
it is an interesting idea.
This is not possible in this version as if you specify empty ingredients in recipe it crashes.
Code: Select all
ingredients = {},
Code: Select all
{
type = "recipe-category",
name = "your-crafting-category" --whatever name you want to give your crafting category
},
{
type = "recipe",
name = "material", --recipe name, typically the same name of material the building will be producing
category = "your-crafting-category", --the name you gave the crafting category above
energy_required = 10,
ingredients = {},
result = "material", --name of the material produced
result_count = 10 --number of 'material' that will be produced in one 'turn'
},