diff --git a/lignumis/graphics/icons/casting-gold.png b/lignumis/graphics/icons/casting-gold.png new file mode 100644 index 0000000..84732d3 Binary files /dev/null and b/lignumis/graphics/icons/casting-gold.png differ diff --git a/lignumis/graphics/icons/molten-gold.png b/lignumis/graphics/icons/molten-gold.png new file mode 100644 index 0000000..a40dd4f Binary files /dev/null and b/lignumis/graphics/icons/molten-gold.png differ diff --git a/lignumis/locale/en/strings.cfg b/lignumis/locale/en/strings.cfg index 2e2eca1..9c81d4a 100644 --- a/lignumis/locale/en/strings.cfg +++ b/lignumis/locale/en/strings.cfg @@ -85,6 +85,7 @@ destination-nauvis=Insert this item into a rocket to travel to Nauvis. Notice th [fluid-name] wood-pulp=Wood pulp +molten-gold=Molten gold [recipe-name] moist-stromatolite-remnant-desiccation=Desiccate moist stromatolite remnant diff --git a/lignumis/prototypes/content/gold/intermediates.lua b/lignumis/prototypes/content/gold/intermediates.lua index 3e0e3d4..b2440f1 100644 --- a/lignumis/prototypes/content/gold/intermediates.lua +++ b/lignumis/prototypes/content/gold/intermediates.lua @@ -1,4 +1,5 @@ local item_sounds = require("__base__.prototypes.item_sounds") +local Technology = require("__cf-lib__/data/Technology") data:extend({ { @@ -41,5 +42,58 @@ data:extend({ ingredients = { { type = "item", name = "gold-plate", amount = 1 } }, results = { { type = "item", name = "gold-cable", amount = 2 } }, allow_productivity = true + }, + { + type = "fluid", + name = "molten-gold", + icon = "__lignumis__/graphics/icons/molten-gold.png", + subgroup = "fluid", + order = "b[new-fluid]-0[lignumis]-a[molten-gold]", + default_temperature = 1500, + max_temperature = 2000, + heat_capacity = "0.01kJ", + base_color = { 210, 149, 34 }, + flow_color = { 210, 149, 34 }, + auto_barrel = false + }, + { + type = "recipe", + name = "molten-gold", + category = "metallurgy", + subgroup = "vulcanus-processes", + order = "a[melting]-d[molten-gold]", + auto_recycle = false, + enabled = false, + ingredients = { + { type = "item", name = "gold-ore", amount = 50 }, + { type = "item", name = "calcite", amount = 1 }, + }, + energy_required = 32, + results = { + { type = "fluid", name = "molten-gold", amount = 500 }, + }, + allow_productivity = true, + hide_from_signal_gui = false, + main_product = "molten-gold" + }, + { + type = "recipe", + name = "casting-gold", + category = "metallurgy", + subgroup = "vulcanus-processes", + order = "b[casting]-c[casting-gold]", + icon = "__lignumis__/graphics/icons/casting-gold.png", + enabled = false, + ingredients = { + { type = "fluid", name = "molten-gold", amount = 20, fluidbox_multiplier = 10 }, + }, + energy_required = 3.2, + allow_decomposition = false, + results = { { type = "item", name = "gold-plate", amount = 2 } }, + allow_productivity = true } }) + +local foundry_technology = Technology:new("foundry") +foundry_technology:addRecipe("casting-gold") +foundry_technology:addRecipe("molten-gold") \ No newline at end of file diff --git a/sources/icons/casting-gold.afphoto b/sources/icons/casting-gold.afphoto new file mode 100644 index 0000000..536c887 Binary files /dev/null and b/sources/icons/casting-gold.afphoto differ diff --git a/sources/icons/molten-gold.afphoto b/sources/icons/molten-gold.afphoto new file mode 100644 index 0000000..f477dfc Binary files /dev/null and b/sources/icons/molten-gold.afphoto differ