diff --git a/Nylon2/info.json b/Nylon2/info.json index 3140351..7dc3de0 100644 --- a/Nylon2/info.json +++ b/Nylon2/info.json @@ -11,9 +11,9 @@ "? aai-industry", "? bobassembly", "? BrimStuff-Updated", - "? bzcarbon", - "? bzchlorine", - "? bzgas", + "? bzcarbon2", + "? bzchlorine2", + "? bzgas2", "? Cobalt2", "? IfNickel-Updated", "? Limestone2", diff --git a/Nylon2/prototypes/recipes.lua b/Nylon2/prototypes/recipes.lua index 8b05a4e..4c518f9 100644 --- a/Nylon2/prototypes/recipes.lua +++ b/Nylon2/prototypes/recipes.lua @@ -17,7 +17,7 @@ end local ketone_alcohol_oil_ingredients = {{type="item", name="coal", amount = 5}, (data.raw.fluid["kr-hydrogen"] and { type = "fluid", name = "kr-hydrogen", amount = 10 }) or ({ type = "fluid", name = "water", amount = 10 }), (data.raw.item["cobalt-plate"] and {type="item", name="cobalt-plate", amount = 1}) or {type="item", name="iron-plate", amount=1}} -if mods["bzgas"] then +if mods["bzgas2"] then ketone_alcohol_oil_ingredients = {{type="item", name="phenol", amount = 5}, (data.raw.item["cobalt-plate"] and {type="item", name="cobalt-plate", amount = 1}) or {type="item", name="iron-plate", amount=1}} if data.raw.fluid["kr-hydrogen"] then table.insert(ketone_alcohol_oil_ingredients, { type = "fluid", name = "kr-hydrogen", amount = 10 }) @@ -393,7 +393,7 @@ if mods["Krastorio2"] then results = {{ type = "fluid", name = "kr-nitric-acid", amount = 10 }}, } }) -if mods["bzchlorine"] then +if mods["bzchlorine2"] then local ethylene_oxide_epoxy_ingredients = {{ type = "fluid", name = "ethylene-oxide", amount = 10 }} if mods["Limestone2"] then table.insert(ethylene_oxide_epoxy_ingredients, {type="item", name="quicklime", amount=4}) @@ -404,7 +404,7 @@ if mods["bzchlorine"] then type = "recipe", name = "ethylene-oxide-epoxy", icons = { - { icon = "__bzchlorine__/graphics/icons/epoxy.png", icon_size = 128}, + { icon = "__bzchlorine2__/graphics/icons/epoxy.png", icon_size = 128}, { icon = "__Nylon2__/graphics/icons/ethylene-oxide.png", icon_size = 128, scale=0.125, shift= {-8, -8}}, }, category = "chemistry", @@ -420,7 +420,7 @@ end util.add_productivity("bio-nitric-acid") end -if mods["bzcarbon"] and mods["Krastorio2"] then +if mods["bzcarbon2"] and mods["Krastorio2"] then data:extend({ { type = "item", @@ -451,10 +451,10 @@ if mods["bzcarbon"] and mods["Krastorio2"] then order = "d[graphite]", icons = (mods["Krastorio2"] and { - { icon = "__bzcarbon__/graphics/icons/graphite.png", icon_size = 128}, + { icon = "__bzcarbon2__/graphics/icons/graphite.png", icon_size = 128}, { icon = "__Nylon2__/graphics/icons/raw-graphite.png", icon_size = 128, scale=0.125, shift= {-8, -8}}, } or { - { icon = "__bzcarbon__/graphics/icons/graphite.png", icon_size = 128}, + { icon = "__bzcarbon2__/graphics/icons/graphite.png", icon_size = 128}, }), enabled = false, energy_required = 12, diff --git a/Nylon2/prototypes/technology.lua b/Nylon2/prototypes/technology.lua index d60c51e..97564c1 100644 --- a/Nylon2/prototypes/technology.lua +++ b/Nylon2/prototypes/technology.lua @@ -94,7 +94,7 @@ data:extend({ }) util.add_prerequisite("logistics-2","nylon-processing") -if mods["bzcarbon"] and mods["Krastorio2"] then +if mods["bzcarbon2"] and mods["Krastorio2"] then data:extend( { { diff --git a/Nylon2/recipe-modify.lua b/Nylon2/recipe-modify.lua index 666174b..f6ab143 100644 --- a/Nylon2/recipe-modify.lua +++ b/Nylon2/recipe-modify.lua @@ -32,7 +32,7 @@ if mods["space-exploration"] then end end -if mods["Krastorio2"] or (mods["bzcarbon"] and mods["bzgas"]) then +if mods["Krastorio2"] or (mods["bzcarbon2"] and mods["bzgas2"]) then util.add_unlock("nylon-processing","destructive-distillation") end @@ -40,7 +40,7 @@ if mods["Krastorio2"] then util.add_unlock("nylon-processing","bio-nitric-acid") util.add_unlock("kr-fuel","solid-fuel-coal-tar") util.replace_ingredient("kr-advanced-lab", "copper-cable", "nylon-machine-parts", 10) - if mods["bzchlorine"] then + if mods["bzchlorine2"] then util.add_unlock("organic-chemistry","ethylene-oxide-epoxy") end end