Here is a small mod that I used while testing this:
Code: Select all
data.raw["rocket-silo"]["rocket-silo"].fixed_recipe = nil
data.raw["recipe"]["rocket-part"].hidden = false
data:extend{
{
type = "recipe",
name = "rocket-part-alt",
energy_required = 1,
enabled = true,
hidden = false,
category = "rocket-building",
ingredients = {
{"raw-fish", 10}
},
result= "grenade"
}
}
1) Copy the above code to a data.lua file to run as a mod
2) Create a new game and enter cheat mode
3) Place a rocket silo
4) Click and set a recipe on the silo
5) Copy/cut/blueprint the silo, and place it somewhere else
6) The recipe will not be preserved