1
0
mirror of https://github.com/Wyrrrd/Rocket_Turrets.git synced 2026-03-25 15:19:49 +01:00
Files
Wyrrrd 458dfd619e Added dynamic tips&tricks page
Also:
- removed redundant wikimod integrations
- maintenance
2022-08-10 15:40:34 +02:00

18 lines
853 B
Lua

require("integrations.bobplates.ingredients")
if mods["bobplates"] and mods["bobwarfare"] then
-- if bobplates enabled, change tiered turret recipes and tech (if existing)
data.raw.recipe["rocket-turret-mk2"].ingredients = rocket_mk2_ingred
data.raw.recipe["rocket-turret-mk3"].ingredients = rocket_mk3_ingred
table.insert(data.raw.technology["rocket-turret-mk3"].prerequisites,"zinc-processing")
table.insert(data.raw.technology["rocket-turret-mk3"].prerequisites,"invar-processing")
data.raw.recipe["rocket-turret-mk4"].ingredients = rocket_mk4_ingred
table.insert(data.raw.technology["rocket-turret-mk4"].prerequisites,"titanium-processing")
data.raw.recipe["rocket-turret-mk5"].ingredients = rocket_mk5_ingred
table.insert(data.raw.technology["rocket-turret-mk5"].prerequisites,"nitinol-processing")
end