disable advanced carbon furnace with foundry mod

This commit is contained in:
Brevven 2022-01-09 23:42:33 -08:00
parent 77b53a87e7
commit 0da6130a81
5 changed files with 10 additions and 3 deletions

View file

@ -1,7 +1,7 @@
local futil = require("util"); local futil = require("util");
local util = require("__bztungsten__.data-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") log("Using advanced carbon furnace")
data:extend({ data:extend({
{ {

View file

@ -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 Version: 0.5.1
Date: 2022-01-06 Date: 2022-01-06
Changes: Changes:

View file

@ -1,5 +1,5 @@
{ "name": "bztungsten", { "name": "bztungsten",
"version": "0.5.1", "version": "0.5.2",
"factorio_version": "1.1", "factorio_version": "1.1",
"title": "Tungsten", "title": "Tungsten",
"author": "Brevven", "author": "Brevven",

View file

@ -58,7 +58,7 @@ bztungsten-mining-fluid-amount-k2=Mining fluid amount for Krastorio2
[mod-setting-description] [mod-setting-description]
bztungsten-recipe-bypass=Skip modifying these recipes (comma-separated list). 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-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=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. 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.

View file

@ -19,6 +19,7 @@ data:extend({
setting_type = "startup", setting_type = "startup",
default_value = "no", default_value = "no",
allowed_values = {"yes", "no"}, allowed_values = {"yes", "no"},
hidden = not not (mods.Krastorio2 or mods.bzfoundry),
}, },
mods["Krastorio2"] and mods["Krastorio2"] and
{ {