Page 1 of 1

Recipe enable=false doesn't disable recipe

Posted: Wed Apr 18, 2018 8:25 pm
by M.Colcko
I've looked up this post viewtopic.php?f=25&t=58203 and done that but the recipe is still available at the start of the game.

Code: Select all

data:extend({
{
    type = "recipe",
    name = "electric-mining-drill-mk2",
	normal =
    {
		enabled = false,
		energy_required = 4,
		ingredients =
		{
			{"speed-module-2", 2},
			{"steel-plate", 20},
			{"processing-unit", 5},
			{"electronic-circuit", 20}
		},
		result = "electric-mining-drill-mk2"
    },
    expensive =
    {
		enabled = false,
		energy_required = 4,
		ingredients =
		{
			{"speed-module-2", 2},
			{"steel-plate", 20},
			{"processing-unit", 5},
			{"electronic-circuit", 20}
		},
		result = "electric-mining-drill-mk2"
    }
}
})