diff --git a/changelog.txt b/changelog.txt index 0c91e90..b5c0ece 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.6.5 +Date: 2021-03-19 + Features: + - Omnimatter recipe for silica +--------------------------------------------------------------------------------------------------- Version: 0.6.4 Date: 2021-03-15 Fixes: diff --git a/info.json b/info.json index 849446a..788894d 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bzsilicon", - "version": "0.6.4", + "version": "0.6.5", "factorio_version": "1.1", "title": "Silica & Silicon", "author": "Brevven", diff --git a/prototypes/silica-recipe.lua b/prototypes/silica-recipe.lua index 64881b8..6418f92 100644 --- a/prototypes/silica-recipe.lua +++ b/prototypes/silica-recipe.lua @@ -20,6 +20,15 @@ data:extend( ingredients = {{"stone-crushed", 4}}, result = "silica", 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 { type = "recipe", diff --git a/recipe-updates.lua b/recipe-updates.lua index 95eb412..0edff22 100644 --- a/recipe-updates.lua +++ b/recipe-updates.lua @@ -2,7 +2,7 @@ local util = require("__bzsilicon__.util"); if not mods["Krastorio2"] then 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", "silica", 10); else