wood coke recipe
This commit is contained in:
parent
b23dfe0a95
commit
a12ced6888
7 changed files with 67 additions and 3 deletions
|
|
@ -31,6 +31,23 @@ data:extend({
|
|||
enabled=false,
|
||||
},
|
||||
})
|
||||
if util.me.woodcoke() then
|
||||
data:extend({
|
||||
{
|
||||
type = "recipe",
|
||||
name = "woodcoke",
|
||||
result = "coke",
|
||||
category = "founding",
|
||||
ingredients = {{"coal", 1}, {"wood", 2}},
|
||||
energy_required = 3.2,
|
||||
enabled=false,
|
||||
icons = {
|
||||
{ icon = "__bzfoundry__/graphics/icons/coke-icon.png", icon_size = 128},
|
||||
{ icon = "__base__/graphics/icons/wood.png", icon_size = 64, scale=0.25, shift={8,-8}},
|
||||
},
|
||||
},
|
||||
})
|
||||
end
|
||||
elseif util.me.carbon() == "solid-fuel" then
|
||||
data:extend({
|
||||
{
|
||||
|
|
@ -43,4 +60,21 @@ data:extend({
|
|||
enabled=false,
|
||||
},
|
||||
})
|
||||
if util.me.woodcoke() then
|
||||
data:extend({
|
||||
{
|
||||
type = "recipe",
|
||||
name = "woodcoke",
|
||||
result = "solid-fuel",
|
||||
category = "founding",
|
||||
ingredients = {{"coal", 3}, {"wood", 2}},
|
||||
energy_required = 3.2,
|
||||
enabled=false,
|
||||
icons = {
|
||||
{ icon = "__base__/graphics/icons/solid-fuel.png", icon_size = 64, icon_mipmaps=4},
|
||||
{ icon = "__base__/graphics/icons/wood.png", icon_size = 64, scale=0.25, shift={8,-8}, icon_mipmaps=4},
|
||||
},
|
||||
},
|
||||
})
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -43,8 +43,10 @@ data:extend({
|
|||
},
|
||||
order = "foundry",
|
||||
},
|
||||
|
||||
})
|
||||
if util.me.woodcoke() then
|
||||
util.add_unlock("foundry", "woodcoke")
|
||||
end
|
||||
|
||||
if mods.Krastorio2 then
|
||||
util.add_prerequisite("foundry", "kr-stone-processing")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue