reforming recipe k2

This commit is contained in:
Brevven 2022-07-18 03:11:04 -07:00
parent 02272467c5
commit ff38efcef4
2 changed files with 27 additions and 1 deletions

25
prototypes/k2-recipe.lua Normal file
View file

@ -0,0 +1,25 @@
local util = require("data-util");
if mods.Krastorio2 then
data:extend({
{
type = "recipe",
name = "gas-reforming",
category = "chemistry",
main_product = "hydrogen",
icons = {
{icon = kr_fluids_icons_path.."hydrogen.png", icon_size = 64, icon_mipmaps = 4},
{icon = "__bzgas__/graphics/icons/gas.png", icon_size = 128, scale = 0.125, shift={-8,-8}},
},
enabled = "false",
ingredients = {
{type="fluid", name="gas", amount=25},
{type="fluid", name="water", amount=50},
},
energy_required = 3,
results = {
{type="fluid", name="hydrogen", amount = 100},
},
},
})
util.add_effect("kr-advanced-chemistry", {type="unlock-recipe", recipe="gas-reforming"})
end