Page 1 of 1

[kovarex] [1.0.0] Rocket silos without fixed_recipe don't save their current recipe to blueprints

Posted: Sun Aug 30, 2020 2:31 am
by raiguard
What it says on the tin. If you remove fixed_recipe from the rocket silo (and un-hide the rocket part so you can select it in the menu), the silo will not save the set recipe to blueprints.

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"
  }
}
Steps to reproduce:

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

2020-08-29 20_30_43-Factorio 1.0.0.png
2020-08-29 20_30_43-Factorio 1.0.0.png (187.14 KiB) Viewed 2869 times

Re: [kovarex] [1.0.0] Rocket silos without fixed_recipe don't save their current recipe to blueprints

Posted: Sun Oct 04, 2020 10:06 pm
by kovarex
Thanks for the report, it is now fixed for 1.1