Add molten gold

This commit is contained in:
Simon Brodtmann 2025-02-13 20:07:12 +01:00
parent 1974dad572
commit bf89fb4e04
6 changed files with 55 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

View file

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

View file

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

Binary file not shown.

Binary file not shown.