From b39a4060fd55432d031ec62e6f6613a05adba1ce Mon Sep 17 00:00:00 2001 From: Brevven Date: Fri, 12 Feb 2021 19:28:59 -0800 Subject: [PATCH] concrete fixes --- changelog.txt | 8 ++++++++ data.lua | 1 + info.json | 2 +- recipe-updates.lua | 5 ++--- recipes/silica-matter.lua | 14 ++++++++++++++ 5 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 recipes/silica-matter.lua diff --git a/changelog.txt b/changelog.txt index dc74093..bb1274f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,8 +1,16 @@ --------------------------------------------------------------------------------------------------- +Version: 0.3.4 +Date: 2021-01-31 + Changes: + - Concrete will always try to keep stone brick in some step of the chain. + Concrete will also use sand where possible. I.e concrete "realism". + This may be further adjusted but these goals will remain. +--------------------------------------------------------------------------------------------------- Version: 0.3.3 Date: 2021-01-31 Changes: - SE Delivery cannon capsules + - K2 Silica matter --------------------------------------------------------------------------------------------------- Version: 0.3.2 Date: 2021-01-30 diff --git a/data.lua b/data.lua index bc367f5..11f4914 100644 --- a/data.lua +++ b/data.lua @@ -1,4 +1,5 @@ require("prototypes/silica-recipe") require("prototypes/silicon-recipe") require("prototypes/optical-fiber") +require("recipes/silica-matter") diff --git a/info.json b/info.json index 95cc38d..bd31822 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bzsilicon", - "version": "0.3.3", + "version": "0.3.4", "factorio_version": "1.1", "title": "Silica & Silicon", "author": "Brevven", diff --git a/recipe-updates.lua b/recipe-updates.lua index 01216f1..a7f5822 100644 --- a/recipe-updates.lua +++ b/recipe-updates.lua @@ -16,16 +16,15 @@ if not mods["Krastorio2"] then util.replace_ingredient("speed-module", "electronic-circuit", "silicon") util.add_prerequisite("modules", util.silicon_processing) else - util.remove_ingredient("concrete", "stone-brick"); + util.add_ingredient("concrete", "silica", 15); if not mods["aai-industry"] then - util.add_ingredient("concrete", "sand", 25); + util.add_ingredient("concrete", "sand", 10); end end util.replace_ingredient("beacon", "copper-cable", "optical-fiber") util.add_prerequisite("effect-transmission", "fiber-optics") - -- Circuit network changes util.replace_ingredient("green-wire", "copper-cable", "optical-fiber") util.replace_ingredient("green-wire", "electronic-circuit", "silicon") diff --git a/recipes/silica-matter.lua b/recipes/silica-matter.lua new file mode 100644 index 0000000..8b0dc3d --- /dev/null +++ b/recipes/silica-matter.lua @@ -0,0 +1,14 @@ +if mods["Krastorio2"] then +local matter = require("__Krastorio2__/lib/public/data-stages/matter-util") +local silica_matter = + { + item_name = "silica", + minimum_conversion_quantity = 10, + matter_value = .65, + energy_required = 2, + only_deconversion = false, + need_stabilizer = false, + unlocked_by_technology = "kr-matter-stone-processing" + } +matter.createMatterRecipe(silica_matter) +end