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

This subforum contains all the issues which we already resolved.
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 614
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

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

Post 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 2868 times
Don't forget, you're here forever.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

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

Post by kovarex »

Thanks for the report, it is now fixed for 1.1
Post Reply

Return to “Resolved Problems and Bugs”