[1.1.86] Crash when rocket silo has fluid recipe with no fluid boxes
Posted: Thu Jul 06, 2023 1:29 am
Adding the following code will cause a crash when you hold a rocket silo in your cursor.
Can be prevented in my mod by actually adding a fluid box to the rocket silo, so no big deal.
Code: Select all
data.raw.recipe["rocket-part"].ingredients = {
{"rocket-control-unit", 10},
{"low-density-structure", 10},
{type = "fluid", name = "steam", amount = 100},
}