From 13f1834a55f4fe82cfcc754a6a3051b2c9ffb0e5 Mon Sep 17 00:00:00 2001 From: Brevven Date: Sat, 13 Jan 2024 13:39:32 -0800 Subject: [PATCH] matter update --- changelog.txt | 3 +++ recipes/silica-matter.lua | 24 ++++++++++++------------ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/changelog.txt b/changelog.txt index 1e14281..bc8d0f6 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,9 @@ Version: 0.11.11 Date: 2023-04-23 Fixes: - Fix some typos + Changes: + - K2: Silica matter recipe balance + - SE+K2: Silica matter recipe requires stabilizer --------------------------------------------------------------------------------------------------- Version: 0.11.10 Date: 2023-02-12 diff --git a/recipes/silica-matter.lua b/recipes/silica-matter.lua index 8b0dc3d..d2e86be 100644 --- a/recipes/silica-matter.lua +++ b/recipes/silica-matter.lua @@ -1,14 +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) + local util = require("data-util"); + util.k2matter({ + k2matter = { + item_name = "silica", + minimum_conversion_quantity = 20, + matter_value = .65, + energy_required = 2, + only_deconversion = false, + need_stabilizer = false, + unlocked_by_technology = "kr-matter-stone-processing" + }, + }) end