diff --git a/changelog.txt b/changelog.txt index 3d8a1b0..fab9829 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,12 @@ --------------------------------------------------------------------------------------------------- +Version: 0.0.8 +Date: 2021-05-20 + Changes: + - Heat pipes now require tungsten plate + - AAI, if K2 not enabled, coal recipe for tungsten carbide + Features: + - Compatibility: superheater, expanded rocket payloads (recipes only) +--------------------------------------------------------------------------------------------------- Version: 0.0.7 Date: 2021-05-20 Features: diff --git a/modules.lua b/modules.lua index 4498cdb..c09c4cc 100644 --- a/modules.lua +++ b/modules.lua @@ -11,6 +11,9 @@ if mods["space-exploration"] then table.insert(recipes, "enriched-tungsten-smelting-vulcanite") end end +if data.raw.recipe["tungsten-carbide-coal"] then + table.insert(recipes, "tungsten-carbide-coal") +end for i, recipe in pairs(recipes) do if data.raw.recipe[recipe] then diff --git a/tungsten-recipe-se.lua b/tungsten-recipe-se.lua index ebcd866..4f32344 100644 --- a/tungsten-recipe-se.lua +++ b/tungsten-recipe-se.lua @@ -61,3 +61,32 @@ if mods["space-exploration"] then util.add_effect("se-processing-vulcanite", {type = "unlock-recipe", recipe= "tungsten-smelting-vulcanite"}) end end +if mods["aai-industry"] and not mods["Krastorio2"] then + data:extend({ + { + type = "recipe", + name = "tungsten-carbide-coal", + category = "smelting", + order = "z[tungsten-carbide]", + icons = + { + { icon = "__bztungsten__/graphics/icons/tungsten-carbide.png", icon_size = 128 }, + { icon = "__base__/graphics/icons/coal.png", icon_size = 64, icon_mipmaps=4, scale=0.25, shift= {-10, -10}}, + }, + normal = { + enabled = false, + energy_required = 50, + ingredients = {{"tungsten-plate", 5}, {"coal", 1}}, + result = "tungsten-carbide", + result_count = 2, + }, + expensive = { + enabled = false, + energy_required = 50, + ingredients = {{"tungsten-plate", 5}, {"coal", 1}}, + result = "tungsten-carbide", + }, + } + }) + util.add_effect("tungsten-processing", {type = "unlock-recipe", recipe= "tungsten-carbide-coal"}) +end