Skip to content

Instantly share code, notes, and snippets.

@oorzkws
Created July 26, 2020 21:48
Show Gist options
  • Save oorzkws/537422be8e31b5fd5ddb4b366b7fbadf to your computer and use it in GitHub Desktop.
Save oorzkws/537422be8e31b5fd5ddb4b366b7fbadf to your computer and use it in GitHub Desktop.
{
allow_decomposition = false,
category = "crafting-with-fluid",
expensive = {
allow_decomposition = false,
category = "crafting-with-fluid",
enabled = false,
energy_required = 0.2,
hide_from_player_crafting = true,
ingredients = {
{
amount = 50,
name = "oxygen",
type = "fluid"
},
{
amount = 1,
name = "empty-barrel",
type = "item"
}
},
results = {
{
amount = 1,
name = "oxygen-barrel",
type = "item"
}
}
},
hide_from_player_crafting = true,
icon_mipmaps = 4,
icon_size = 64,
icons = {
{
icon = "__base__/graphics/icons/fluid/barreling/barrel-fill.png",
icon_mipmaps = 4,
icon_size = 64
},
{
icon = "__base__/graphics/icons/fluid/barreling/barrel-fill-side-mask.png",
icon_mipmaps = 4,
icon_size = 64,
tint = {
a = 0.75,
b = 0.4,
g = 0.4,
r = 0.75
}
},
{
icon = "__base__/graphics/icons/fluid/barreling/barrel-fill-top-mask.png",
icon_mipmaps = 4,
icon_size = 64,
tint = {
a = 0.75,
b = 0.6,
g = 0.6,
r = 0.8
}
},
{
icon = "__Krastorio2__/graphics/icons/fluids/oxygen.png",
icon_size = 64,
scale = 0.25,
shift = {
-8,
-8
}
}
},
localised_name = {
"recipe-name.fill-barrel",
{
"fluid-name.oxygen"
}
},
name = "fill-oxygen-barrel",
normal = {
allow_decomposition = false,
category = "crafting-with-fluid",
enabled = false,
energy_required = 0.2,
hide_from_player_crafting = true,
ingredients = {
{
amount = 50,
name = "oxygen",
type = "fluid"
},
{
amount = 1,
name = "empty-barrel",
type = "item"
}
},
results = {
{
amount = 1,
name = "oxygen-barrel",
type = "item"
}
}
},
order = "b[fill-oxygen-barrel]",
subgroup = "fill-barrel",
type = "recipe"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment