Heat Shielding

by MrLumme

Adds heat shielding as an item and a technology. Also changes some techs and recipes in the game, however this can be turned off with a setting. Made mostly to be used by my other mods, Heated Fabrication and Advanced Rocket Parts

Content
9 months ago
2.0
1.23K
Manufacturing

g Error

7 months ago

Failed to load mods: HeatShielding/prototypes/recipe.lua:51: attempt to index field 'rsc-construction-stage5' (a nil value)
stack traceback:
HeatShielding/prototypes/recipe.lua:51: in main chunk
[C]: in function 'require'
HeatShielding/data.lua:2: in main chunk

7 months ago

Hallo! I'm having some trouble figuring out what the problem is. Do you have the Rocket Silo Construction mod installed?

7 months ago

Yes I had it installed

6 months ago
(updated 6 months ago)

I have the same error. It occurred during startup.
I also have the rocket silo construction mod
I turned off the second original recipe related option and it started successfully :)

a month ago
(updated a month ago)

i had the same error noted here
i tried the last noted workaround - turn off the base integration setting in heat shielding startup settings (also the rocket silo construction mod needs to be inactive for this to work). with that setting off both mods load up fine.

(...edited to remove my previously posted but incorrect info...)

cheers
_md

8 days ago
(updated 8 days ago)

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

New response