omnimatter

This commit is contained in:
Brevven 2021-03-19 23:13:23 -07:00
parent 1d3e9fffaf
commit 96997faa85
4 changed files with 16 additions and 2 deletions

View file

@ -1,4 +1,9 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 0.6.5
Date: 2021-03-19
Features:
- Omnimatter recipe for silica
---------------------------------------------------------------------------------------------------
Version: 0.6.4 Version: 0.6.4
Date: 2021-03-15 Date: 2021-03-15
Fixes: Fixes:

View file

@ -1,6 +1,6 @@
{ {
"name": "bzsilicon", "name": "bzsilicon",
"version": "0.6.4", "version": "0.6.5",
"factorio_version": "1.1", "factorio_version": "1.1",
"title": "Silica & Silicon", "title": "Silica & Silicon",
"author": "Brevven", "author": "Brevven",

View file

@ -20,6 +20,15 @@ data:extend(
ingredients = {{"stone-crushed", 4}}, ingredients = {{"stone-crushed", 4}},
result = "silica", result = "silica",
result_count = 5, result_count = 5,
} or mods["omnimatter"] and {
type = "recipe",
name = "silica",
category = "smelting",
enabled = false,
energy_required = 6,
ingredients = {{"stone-crushed", 4}},
result = "silica",
result_count = 5,
} or } or
{ {
type = "recipe", type = "recipe",

View file

@ -2,7 +2,7 @@ local util = require("__bzsilicon__.util");
if not mods["Krastorio2"] then if not mods["Krastorio2"] then
util.remove_ingredient("concrete", "stone-brick"); util.remove_ingredient("concrete", "stone-brick");
if mods["Bio_Industries"] then if mods["Bio_Industries"] or mods["omnimatter"] then
util.add_ingredient("concrete", "stone-brick", 3); util.add_ingredient("concrete", "stone-brick", 3);
util.add_ingredient("concrete", "silica", 10); util.add_ingredient("concrete", "silica", 10);
else else