se methane
This commit is contained in:
parent
69134c5f5c
commit
1e7be9c581
5 changed files with 81 additions and 6 deletions
46
prototypes/se-recipe.lua
Normal file
46
prototypes/se-recipe.lua
Normal file
|
@ -0,0 +1,46 @@
|
|||
local util = require("data-util");
|
||||
|
||||
if util.se6() then
|
||||
data:extend({
|
||||
{
|
||||
type = "recipe",
|
||||
name = "methane-pre-reforming",
|
||||
category = "chemistry",
|
||||
main_product = "se-methane-gas",
|
||||
icons = {
|
||||
{icon = "__space-exploration-graphics__/graphics/icons/fluid/methane-gas.png", icon_size = 64},
|
||||
{icon = "__bzgas__/graphics/icons/gas.png", icon_size = 128, scale = 0.125, shift={-8,-8}},
|
||||
},
|
||||
enabled = false,
|
||||
ingredients = {
|
||||
{type="fluid", name="gas", amount=25},
|
||||
},
|
||||
energy_required = 1,
|
||||
results = {
|
||||
{type="fluid", name="se-methane-gas", amount = 25},
|
||||
},
|
||||
},
|
||||
{
|
||||
type = "recipe",
|
||||
name = "formaldehyde-methane",
|
||||
category = "chemistry",
|
||||
icons = {
|
||||
{icon = "__bzgas__/graphics/icons/formaldehyde.png", icon_size = 128, scale = 0.125},
|
||||
{icon = "__space-exploration-graphics__/graphics/icons/fluid/methane-gas.png", icon_size = 64, scale = 0.125, shift={-8,-8}},
|
||||
},
|
||||
enabled = false,
|
||||
ingredients = {
|
||||
{type="fluid", name="se-methane-gas", amount=10},
|
||||
},
|
||||
energy_required = 1,
|
||||
results = {
|
||||
{type="fluid", name="formaldehyde", amount = 10},
|
||||
},
|
||||
},
|
||||
})
|
||||
util.add_unlock("se-space-biochemical-laboratory", "methane-pre-reforming")
|
||||
util.add_unlock("se-space-biochemical-laboratory", "formaldehyde-methane")
|
||||
if data.raw.fluid["se-methane-gas"] then
|
||||
data.raw.fluid["se-methane-gas"].fuel_value = "1000KJ"
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue