add recipe for AAI

This commit is contained in:
Brevven 2021-05-20 17:43:08 -07:00
parent 2891486dbe
commit 5400e72e8a
3 changed files with 40 additions and 0 deletions

View file

@ -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:

View file

@ -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

View file

@ -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