From 82c24582b975ab061abb76eefdb0921d47ad6549 Mon Sep 17 00:00:00 2001 From: Brevven Date: Mon, 15 Aug 2022 14:00:34 -0700 Subject: [PATCH] se matter --- changelog.txt | 5 +++++ info.json | 2 +- lead-recipe-se.lua | 1 + lead-recipe.lua | 2 -- me.lua | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/changelog.txt b/changelog.txt index 01c0fa1..76266ed 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 1.2.12 +Date: 2022-08-16 + Features: + - Support for SE matter fusion and SE+K2 matter liberation +--------------------------------------------------------------------------------------------------- Version: 1.2.11 Date: 2022-08-05 Features: diff --git a/info.json b/info.json index a9089e7..e78e2df 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bzlead", - "version": "1.2.11", + "version": "1.2.12", "factorio_version": "1.1", "title": "Lead", "author": "Brevven", diff --git a/lead-recipe-se.lua b/lead-recipe-se.lua index 9321d0e..ac8ceff 100644 --- a/lead-recipe-se.lua +++ b/lead-recipe-se.lua @@ -22,6 +22,7 @@ if mods["space-exploration"] then }) if string.sub(mods["space-exploration"], 1, 3) == "0.6" then + util.se_matter({ore="lead-ore", energy_required=1, quant_out=10, stream_out=60}) data:extend({ { type = "item-subgroup", diff --git a/lead-recipe.lua b/lead-recipe.lua index d0300c1..c0d0245 100644 --- a/lead-recipe.lua +++ b/lead-recipe.lua @@ -95,8 +95,6 @@ data:extend({ } or nil, }) end -log("BZZZZZZ") -log(serpent.dump(data.raw.recipe["lead-plate"])) if mods["IndustrialRevolution"] then data:extend({ diff --git a/me.lua b/me.lua index 38c4900..b83122f 100644 --- a/me.lua +++ b/me.lua @@ -5,7 +5,7 @@ me.lead_ore = "lead-ore" me.lead_plate = "lead-plate" function me.byproduct() - return me.get_setting("bzlead-byproduct") + return me.get_setting("bzlead-byproduct") and not me.get_setting("bz-no-byproduct") end function me.more_entities()