bzchlorine2/prototypes/epoxy.lua
Simon Brodtmann 06281ea9ca Update to 2.0
2025-10-16 17:38:34 +02:00

40 lines
957 B
Lua

local util = require("data-util");
local cl_name = mods.Krastorio2 and "kr-chlorine" or cl_name
data:extend({
{
type = "fluid",
name = "epoxy",
default_temperature = 25,
heat_capacity = "0.1kJ",
base_color = {r=0.90, g=0.95, b=0.90},
flow_color = {r=0.90, g=1.00, b=0.90},
icon = "__bzchlorine__/graphics/icons/epoxy.png",
icon_size = 128,
order = "a[fluid]-f[epoxy]",
},
})
data:extend({
{
type = "recipe",
name = "epoxy",
results = {
{type="fluid", name="epoxy", amount=10},
{type="item", name="salt", amount=1},
},
main_product = "epoxy",
ingredients = {
{type="fluid", name=cl_name, amount=10},
{type="fluid", name="petroleum-gas", amount=10},
},
enabled = false,
category = "chemistry",
subgroup = "fluid-recipes",
energy_required = 3,
},
})
util.add_unlock("plastics", "epoxy")
util.add_prerequisite("plastics", "chlorine-processing")