152 lines
No EOL
5.1 KiB
Lua
152 lines
No EOL
5.1 KiB
Lua
local util = require("data-util")
|
|
|
|
if mods["248k-Redux"] then
|
|
data:extend({
|
|
{
|
|
type = "fluid",
|
|
name = "fi-arc-pure-tantalum",
|
|
default_temperature = 3000,
|
|
max_temperature = 5450,
|
|
heat_capacity = "100kJ",
|
|
base_color = { r=0.92, g=0.29, b=0.22 },
|
|
flow_color = { r=0.92, g=0.29, b=0.22 },
|
|
pressure_to_speed_ratio = 0.400,
|
|
flow_to_energy_ratio = 0,
|
|
icon = "__Tantalite2__/graphics/icons/fi-arc-pure-tantalum.png",
|
|
icon_size = 64, icon_mipmaps = 4,
|
|
order = "a-a"
|
|
},
|
|
{
|
|
type = "item",
|
|
name = "fi-materials-pure-tantalum",
|
|
icon = "__Tantalite2__/graphics/icons/fi-materials-pure-tantalum.png",
|
|
icon_size = 64,
|
|
stack_size = 100,
|
|
subgroup = "fi_item_subgroup_a-c",
|
|
order = "b-a",
|
|
},
|
|
{
|
|
type = "fluid",
|
|
name = "fi-arc-pure-niobium",
|
|
default_temperature = 2500,
|
|
max_temperature = 4750,
|
|
heat_capacity = "100kJ",
|
|
base_color = { r=0.92, g=0.29, b=0.22 },
|
|
flow_color = { r=0.92, g=0.29, b=0.22 },
|
|
pressure_to_speed_ratio = 0.400,
|
|
flow_to_energy_ratio = 0,
|
|
icon = "__Tantalite2__/graphics/icons/fi-arc-pure-niobium.png",
|
|
icon_size = 64, icon_mipmaps = 4,
|
|
order = "a-a"
|
|
},
|
|
{
|
|
type = "item",
|
|
name = "fi-materials-pure-niobium",
|
|
icon = "__Tantalite2__/graphics/icons/fi-materials-pure-niobium.png",
|
|
icon_size = 64,
|
|
stack_size = 100,
|
|
subgroup = "fi_item_subgroup_a-c",
|
|
order = "b-a",
|
|
},
|
|
{
|
|
type = "recipe",
|
|
name = "fi-purify-tantalite-recipe",
|
|
enabled = false,
|
|
category = "el_purifier_category",
|
|
main_product = "el_dirty_water",
|
|
ingredients = {
|
|
{type="fluid", name="water", amount=100},
|
|
{type="item", name="tantalite-ore", amount=20}
|
|
},
|
|
results = {
|
|
{type="fluid", name="el_dirty_water", amount=100},
|
|
{type="item", name="fi-materials-pure-tantalum", amount=5},
|
|
{type="item", name="fi-materials-pure-niobium", amount=5},
|
|
},
|
|
energy_required = 1,
|
|
always_show_made_in = true,
|
|
icon_size = 64,
|
|
icons = (mods["Krastorio2"] and
|
|
{
|
|
{ icon = "__248k-Redux__/ressources/fluids/el_dirty_water.png", icon_size = 64},
|
|
{ icon = "__Tantalite2__/graphics/icons/tantalite-ore.png", icon_size = 64, scale=0.2, shift= {-8, -8}},
|
|
} or {
|
|
{ icon = "__Tantalite2__/graphics/icons/tantalite-ore.png", icon_size = 64},
|
|
}),
|
|
group = "fi_item_group",
|
|
subgroup = "fi_item_subgroup_f",
|
|
order = "f-a",
|
|
},
|
|
{
|
|
type = "recipe",
|
|
name = "fi-arc-pure-tantalum-recipe",
|
|
enabled = false,
|
|
category = "el_arc_furnace_category",
|
|
ingredients = {
|
|
{type="item", name="fi-materials-pure-tantalum", amount=1},
|
|
},
|
|
results = {
|
|
{type="fluid", name="fi-arc-pure-tantalum", amount=200},
|
|
},
|
|
energy_required = 0.2,
|
|
order = "a-b",
|
|
group = "fi_item_group",
|
|
subgroup = "fi_item_subgroup_f",
|
|
always_show_made_in = true
|
|
},
|
|
{
|
|
type = "recipe",
|
|
name = "fi-cast-pure-tantalum-recipe",
|
|
enabled = false,
|
|
category = "el_caster_category",
|
|
ingredients = {
|
|
{type="fluid", name="fi-arc-pure-tantalum", amount=100},
|
|
},
|
|
results = {
|
|
{type="item", name="tantalum-plate", amount=1},
|
|
},
|
|
energy_required = 0.2,
|
|
order = "a-b",
|
|
always_show_made_in = true,
|
|
allow_decomposition = false
|
|
},
|
|
{
|
|
type = "recipe",
|
|
name = "fi-arc-pure-niobium-recipe",
|
|
enabled = false,
|
|
category = "el_arc_furnace_category",
|
|
ingredients = {
|
|
{type="item", name="fi-materials-pure-niobium", amount=1},
|
|
},
|
|
results = {
|
|
{type="fluid", name="fi-arc-pure-niobium", amount=200},
|
|
},
|
|
energy_required = 0.2,
|
|
order = "a-b",
|
|
group = "fi_item_group",
|
|
subgroup = "fi_item_subgroup_f",
|
|
always_show_made_in = true
|
|
},
|
|
{
|
|
type = "recipe",
|
|
name = "fi-cast-pure-niobium-recipe",
|
|
enabled = false,
|
|
category = "el_caster_category",
|
|
ingredients = {
|
|
{type="fluid", name="fi-arc-pure-niobium", amount=100},
|
|
},
|
|
results = {
|
|
{type="item", name="niobium-plate", amount=1},
|
|
},
|
|
energy_required = 0.2,
|
|
order = "a-b",
|
|
always_show_made_in = true,
|
|
allow_decomposition = false
|
|
}
|
|
})
|
|
util.add_unlock("fi_caster_tech","fi-arc-pure-tantalum-recipe")
|
|
util.add_unlock("fi_caster_tech","fi-cast-pure-tantalum-recipe")
|
|
util.add_unlock("fi_purifier_tech","fi-purify-tantalite-recipe")
|
|
util.add_unlock("fi_caster_tech","fi-arc-pure-niobium-recipe")
|
|
util.add_unlock("fi_caster_tech","fi-cast-pure-niobium-recipe")
|
|
end |