diff --git a/advanced-carbon-furnace.lua b/advanced-carbon-furnace.lua index 49ad861..68268cf 100644 --- a/advanced-carbon-furnace.lua +++ b/advanced-carbon-furnace.lua @@ -1,7 +1,7 @@ local futil = require("util"); local util = require("__bztungsten__.data-util"); -if util.me.get_setting("bztungsten-advanced-carbon-furnace") == "yes" and not mods["Krastorio2"] then +if util.me.get_setting("bztungsten-advanced-carbon-furnace") == "yes" and not mods.Krastorio2 and not mods.bzfoundry then log("Using advanced carbon furnace") data:extend({ { diff --git a/changelog.txt b/changelog.txt index f947949..c5297b1 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,10 @@ --------------------------------------------------------------------------------------------------- +Version: 0.5.2 +Date: 2022-01-10 + Changes: + - Advanced carbon furnace disabled if Foundry mod is enabled. + - Minor english text changes +--------------------------------------------------------------------------------------------------- Version: 0.5.1 Date: 2022-01-06 Changes: diff --git a/info.json b/info.json index 328d0bd..fd52d02 100644 --- a/info.json +++ b/info.json @@ -1,5 +1,5 @@ { "name": "bztungsten", - "version": "0.5.1", + "version": "0.5.2", "factorio_version": "1.1", "title": "Tungsten", "author": "Brevven", diff --git a/locale/en/tungsten.cfg b/locale/en/tungsten.cfg index da9822b..b419df5 100644 --- a/locale/en/tungsten.cfg +++ b/locale/en/tungsten.cfg @@ -58,7 +58,7 @@ bztungsten-mining-fluid-amount-k2=Mining fluid amount for Krastorio2 [mod-setting-description] bztungsten-recipe-bypass=Skip modifying these recipes (comma-separated list). -bztungsten-avoid-military=If 'yes', rocketry will no longer require military science. +bztungsten-avoid-military=If 'yes', rocketry will no longer require military science, allowing research of rocket engine nozzles for saves not using military. bztungsten-advanced-carbon-furnace=A furnace to smelt tungsten carbide quickly. Meant only for very large factories. bztungsten-mining-fluid-amount=Amount of fluid (water) needed to mine, default 10. Note, this is displayed as 1/10th the value in some parts of the game. bztungsten-mining-fluid-amount-k2=Mining fluid amount for Krastorio2, default 1. Note, this is displayed as 1/10th the value in some parts of the game. diff --git a/settings.lua b/settings.lua index ee300c1..65fa88a 100644 --- a/settings.lua +++ b/settings.lua @@ -19,6 +19,7 @@ data:extend({ setting_type = "startup", default_value = "no", allowed_values = {"yes", "no"}, + hidden = not not (mods.Krastorio2 or mods.bzfoundry), }, mods["Krastorio2"] and {