i finally got this to work
changed
if mods["Rocket-Silo-Construction"] then
local mp = settings.startup["rsc-st-cost-mp"].value
table.insert(
data.raw.recipe["rsc-construction-stage5"].ingredients,
{name = "heat-shielding", type = "item", amount = 10 * mp}
)
end
to
if mods["Rocket-Silo-Construction"] then
local mp = settings.startup["rsc-st-cost-mp"].value
table.insert(data.raw.recipe["rsc-construction-stage5"].ingredients,
{type="item", name="heat-shielding", amount = 10 * mp})
end
--
no idea why it works in that order vs the other way but i tested a full rocket silo construction last night with that instead and heat shielding showed up in the stage 5 ingredients