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 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({
{

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

View file

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

View file

@ -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.

View file

@ -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
{