strange matter

This commit is contained in:
Brevven 2021-07-04 16:21:15 -07:00
parent 8e30d7b57f
commit 531334f636
4 changed files with 56 additions and 1 deletions

View file

@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 0.2.6
Date: 2021-07-01
Features:
- Strange matter compatibility
---------------------------------------------------------------------------------------------------
Version: 0.2.5
Date: 2021-06-29
Features:

View file

@ -3,3 +3,4 @@ require("tungsten-matter")
require("omni")
require("map-gen-preset-updates")
require("tungsten-recipe-5d")
require("strange-matter")

View file

@ -1,6 +1,6 @@
{
"name": "bztungsten",
"version": "0.2.5",
"version": "0.2.6",
"factorio_version": "1.1",
"title": "Tungsten",
"author": "Brevven",

49
strange-matter.lua Normal file
View file

@ -0,0 +1,49 @@
local util = require("__bztungsten__.data-util");
local ore = "tungsten-ore"
local ore_icon = "__bztungsten__/graphics/icons/tungsten-ore.png"
if mods["StrangeMatter"] then
data:extend({
{
type = "recipe",
name = ore.."-synthesis",
icons = {
{ icon = ore_icon, icon_size = 64 },
{ 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 = 2}},
result = ore,
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 = 64, scale=0.25, 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