vulcanus rework
This commit is contained in:
parent
8851bb9caf
commit
0a6dd7dd4e
7 changed files with 59 additions and 2 deletions
|
|
@ -1,4 +1,12 @@
|
|||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.1.0
|
||||
Date: 2025-01-19
|
||||
Changes:
|
||||
- Space Age: Changes to Vulcanus production chains:
|
||||
Most recipes made from lava now have a byproduct of both stone and zircon. So, recyclers
|
||||
are no longer required for full automation, but will help with balancing once available.
|
||||
LDS casting now requires zirconia.
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.0.3
|
||||
Date: 2025-01-15
|
||||
Fixes:
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ require("map-gen-preset-updates")
|
|||
require("omni")
|
||||
require("strange-matter")
|
||||
require("zircon-rocks")
|
||||
require("zirconium-recipe-updates-lds")
|
||||
require("compatibility/crafting-efficiency")
|
||||
|
||||
|
||||
|
|
|
|||
2
data.lua
2
data.lua
|
|
@ -5,4 +5,6 @@ require("magazine")
|
|||
require("zirconium-enriched") -- Enriched for Krastorio 2
|
||||
require("zirconium-recipe-se") -- Space Exploration special recipes (depends on K2 if present)
|
||||
require("compatibility.hot-metals")
|
||||
require("zirconium-recipe-updates-lds")
|
||||
require("vulcanus")
|
||||
-- require("zirconium-compressed")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bzzirconium",
|
||||
"version": "2.0.3",
|
||||
"version": "2.1.0",
|
||||
"factorio_version": "2.0",
|
||||
"title": "Zirconium",
|
||||
"author": "Brevven",
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ zircon-dust=__ITEM__zircon-dust__
|
|||
dirty-water-filtration-zircon=Filter dirty water [item=zircon]
|
||||
zircon-synthesis=Zircon synthesis
|
||||
zirconium-gettering=Zirconium gettering
|
||||
stone-from-lava=Stone from lava
|
||||
|
||||
[recipe-description]
|
||||
zircon-synthesis=Use Gleban biological processes to synthesize zircon from purer materials.
|
||||
|
|
|
|||
46
vulcanus.lua
Normal file
46
vulcanus.lua
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
local util = require("data-util")
|
||||
|
||||
if mods["space-age"] then
|
||||
if not data.raw.recipe["stone-from-lava"] then
|
||||
data:extend({
|
||||
{
|
||||
type = "recipe",
|
||||
name = "stone-from-lava",
|
||||
icons = {
|
||||
{icon = "__space-age__/graphics/icons/fluid/lava.png", icon_size=64, shift={0,-8}},
|
||||
{icon = "__base__/graphics/icons/stone.png", icon_size=64, scale = 0.333, shift={0,8}},
|
||||
},
|
||||
category = "metallurgy",
|
||||
subgroup = "vulcanus-processes",
|
||||
order = "a[melting]-a[lava-a]",
|
||||
auto_recycle = false,
|
||||
enabled = false,
|
||||
ingredients =
|
||||
{
|
||||
{type = "item", name = "calcite", amount = 1},
|
||||
{type = "fluid", name = "lava", amount = 500},
|
||||
{type = "fluid", name = "water", amount = 250},
|
||||
},
|
||||
energy_required = 16,
|
||||
results =
|
||||
{
|
||||
{type = "item", name = "stone", amount = 25},
|
||||
},
|
||||
allow_productivity = true
|
||||
},
|
||||
})
|
||||
util.add_unlock("foundry", "stone-from-lava")
|
||||
end
|
||||
|
||||
-- Any stone byproduct from lava is part stone, part zircon
|
||||
for _, recipe in pairs(data.raw.recipe) do
|
||||
if recipe.category == "metallurgy" and recipe.name:find("from.lava") then
|
||||
local amount = util.get_amount(recipe.name, "stone")
|
||||
if amount then
|
||||
util.replace_some_product(recipe.name, "stone", amount / 2, "zircon", amount / 2)
|
||||
log(amount.." Did "..recipe.name)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
|
@ -4,6 +4,7 @@ if mods.Krastorio2 then
|
|||
util.replace_some_ingredient("low-density-structure", "copper-plate", 5, "zirconia", 5)
|
||||
else
|
||||
util.replace_some_ingredient("low-density-structure", "copper-plate", 10, "zirconia", 10)
|
||||
util.replace_some_ingredient("casting-low-density-structure", "molten-copper", 125, "zirconia", 10)
|
||||
end
|
||||
|
||||
if mods["space-exploration"] then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue