strange matter
This commit is contained in:
parent
8543ae1d33
commit
07f8a714db
2 changed files with 50 additions and 2 deletions
|
@ -2,8 +2,8 @@ require("recipe-updates")
|
||||||
require("matter")
|
require("matter")
|
||||||
-- require("omni")
|
-- require("omni")
|
||||||
require("map-gen-preset-updates")
|
require("map-gen-preset-updates")
|
||||||
-- require("strange-matter")
|
require("strange-matter")
|
||||||
-- require("compatibility/248k")
|
require("compatibility/248k")
|
||||||
|
|
||||||
local util = require("data-util");
|
local util = require("data-util");
|
||||||
|
|
||||||
|
|
48
strange-matter.lua
Normal file
48
strange-matter.lua
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
local util = require("data-util");
|
||||||
|
|
||||||
|
local ore = "gas"
|
||||||
|
local ore_icon = "__bzgas__/graphics/icons/gas.png"
|
||||||
|
|
||||||
|
if mods["StrangeMatter"] then
|
||||||
|
data:extend({
|
||||||
|
{
|
||||||
|
type = "recipe",
|
||||||
|
name = ore.."-synthesis",
|
||||||
|
icons = {
|
||||||
|
{ icon = ore_icon, icon_size = 128 },
|
||||||
|
{ icon = "__StrangeMatter__/graphics/icons/fluid/matter.png", icon_size = 32, scale=0.5, shift= {-8, -8}},
|
||||||
|
},
|
||||||
|
enabled = false,
|
||||||
|
energy_required = 1,
|
||||||
|
ingredients = {{type="fluid", name="strange-matter", amount = 1}},
|
||||||
|
results = {{type="fluid", name="gas", amount = 10}},
|
||||||
|
category = "crafting-with-fluid",
|
||||||
|
subgroup = "synthesis",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type = "technology",
|
||||||
|
name = ore.."-synthesis",
|
||||||
|
icons = {
|
||||||
|
{ icon = "__StrangeMatter__/graphics/icons/fluid/matter.png", icon_size = 32, shift= {-6, 0}},
|
||||||
|
{ icon = ore_icon, icon_size = 128, scale=0.125, shift={8, 8}},
|
||||||
|
},
|
||||||
|
prerequisites = {"stone-synthesis"},
|
||||||
|
effects = {
|
||||||
|
{
|
||||||
|
type = "unlock-recipe",
|
||||||
|
recipe = ore.."-synthesis",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
unit = {
|
||||||
|
count = 800,
|
||||||
|
time = 30,
|
||||||
|
ingredients = {
|
||||||
|
{"automation-science-pack", 1},
|
||||||
|
{"logistic-science-pack", 1},
|
||||||
|
{"chemical-science-pack", 1},
|
||||||
|
{"production-science-pack", 1},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
end
|
Loading…
Add table
Add a link
Reference in a new issue