My item won't go into the furnace..

Place to get help with not working mods / modding interface.
YoloJoe
Inserter
Inserter
Posts: 34
Joined: Wed Apr 13, 2016 2:56 pm
Contact:

My item won't go into the furnace..

Post by YoloJoe »

This code is set up as "Zofg-Smelting.lua" and requred in the data.lua file:

Code: Select all

data:extend(
{
  {
    type = "recipe",
    name = "Zofg-Ingot",
    category = "smelting",
    enabled = false,
    energy_required = 13,
    ingredients = {{"Zofg-Ore", 5}},
    result = "Zofg-Ingot"
  }
}
)
Still I can't put the 'Zofg Ingot' into my furnace ingame? Am I missing something?
User avatar
Arch666Angel
Smart Inserter
Smart Inserter
Posts: 1636
Joined: Sun Oct 18, 2015 11:52 am
Contact:

Re: My item won't go into the furnace..

Post by Arch666Angel »

If you want to test it, you have to enable the recipe.

Recipes are either enabled from the start, then set enabled=true, or they can be unlocked by research, then set enabled=false
YoloJoe
Inserter
Inserter
Posts: 34
Joined: Wed Apr 13, 2016 2:56 pm
Contact:

Re: My item won't go into the furnace..

Post by YoloJoe »

Arch666Angel wrote:If you want to test it, you have to enable the recipe.

Recipes are either enabled from the start, then set enabled=true, or they can be unlocked by research, then set enabled=false

Wow thanks, that makes a lot of sense! Thanks a lot! :D
Post Reply

Return to “Modding help”