From f952c4b7725ffdae4a45173ac6e9f55e5524995a Mon Sep 17 00:00:00 2001 From: Brevven Date: Sat, 6 Mar 2021 23:23:44 -0800 Subject: [PATCH] the big furnace compatibility --- changelog.txt | 5 +++++ info.json | 2 +- titanium-recipe.lua | 28 +++++++++++++++++++++++++++- 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index 755f1d3..420a900 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.9.17 +Date: 2021-03-06 + Features: + - The Big Furnace recipe +--------------------------------------------------------------------------------------------------- Version: 0.9.16 Date: 2021-02-12 Fixes: diff --git a/info.json b/info.json index 7df4aa8..e616096 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bztitanium", - "version": "0.9.16", + "version": "0.9.17", "factorio_version": "1.1", "title": "Titanium", "author": "Brevven", diff --git a/titanium-recipe.lua b/titanium-recipe.lua index 9d8d4b3..064780b 100644 --- a/titanium-recipe.lua +++ b/titanium-recipe.lua @@ -71,7 +71,11 @@ data:extend( { type = "unlock-recipe", recipe = util.titanium_plate - } + }, + mods["TheBigFurnace"] and { + type = "unlock-recipe", + recipe = "big-titanium-plate", + } or nil, }, unit = { @@ -91,6 +95,28 @@ data:extend( prerequisites = {"lubricant"}, order = "b-b" }, + mods["TheBigFurnace"] and { + type = "recipe", + name = "big-titanium-plate", + category = "big-smelting", + order = "d[titanium-plate]", + normal = + { + enabled = false, + energy_required = 8.75, + ingredients = {{"titanium-ore", 50}}, + result = util.titanium_plate, + result_count = 10, + }, + expensive = + { + enabled = false, + energy_required = 16, + ingredients = {{"titanium-ore", 100}}, + result = util.titanium_plate, + result_count = 10, + } + } or nil, } ) end