From afc6357657d19043407cc96d3a694af3cdb1b2cb Mon Sep 17 00:00:00 2001 From: Brevven Date: Fri, 29 Dec 2023 17:22:52 -0800 Subject: [PATCH] se science packs use --- changelog.txt | 5 +++++ info.json | 2 +- prototypes/recipe-updates-se.lua | 13 +++++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index a4f131b..273e194 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.0.15 +Date: 2023-12-29 + Changes: + - SE: Meteor/umbrella defense tech requires rocket science packs +--------------------------------------------------------------------------------------------------- Version: 0.0.14 Date: 2023-04-16 Fixes: diff --git a/info.json b/info.json index 4fbe4ec..817b273 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bzgold", - "version": "0.0.14", + "version": "0.0.15", "factorio_version": "1.1", "title": "Noble Metals", "author": "Brevven", diff --git a/prototypes/recipe-updates-se.lua b/prototypes/recipe-updates-se.lua index 335681e..e73c2a7 100644 --- a/prototypes/recipe-updates-se.lua +++ b/prototypes/recipe-updates-se.lua @@ -14,6 +14,19 @@ if util.se6() then util.remove_prerequisite("se-meteor-defence", "advanced-electronics-2") util.add_prerequisite("se-meteor-defence", "se-rocket-science-pack") + util.set_tech_recipe("se-meteor-defence", { + {"automation-science-pack", 1}, + {"logistic-science-pack", 1}, + {"chemical-science-pack", 1}, + {"se-rocket-science-pack", 1}, + }) + util.set_tech_recipe("se-energy-beam-defence", { + {"automation-science-pack", 1}, + {"logistic-science-pack", 1}, + {"chemical-science-pack", 1}, + {"se-rocket-science-pack", 1}, + }) + if util.me.silver() then