Page 1 of 1

[1.1.86] Crash when rocket silo has fluid recipe with no fluid boxes

Posted: Thu Jul 06, 2023 1:29 am
by Xorimuth
Adding the following code will cause a crash when you hold a rocket silo in your cursor.

Code: Select all

data.raw.recipe["rocket-part"].ingredients = {
  {"rocket-control-unit", 10},
  {"low-density-structure", 10},
  {type = "fluid", name = "steam", amount = 100},
}
Can be prevented in my mod by actually adding a fluid box to the rocket silo, so no big deal.
factorio-previous.log
(19.11 KiB) Downloaded 49 times

Re: [1.1.86] Crash when rocket silo has fluid recipe with no fluid boxes

Posted: Thu Jul 06, 2023 10:03 am
by boskid