no glass w tin

This commit is contained in:
Brevven 2022-07-15 18:12:10 -07:00
parent 5989040ba6
commit 52df9a6f46
3 changed files with 7 additions and 1 deletions

View file

@ -1,4 +1,9 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 0.2.3
Date: 2022-07-16
Changes:
- Refractory: When Tin mod is used, glass should not have a refractory recipe at all.
---------------------------------------------------------------------------------------------------
Version: 0.2.2 Version: 0.2.2
Date: 2022-07-06 Date: 2022-07-06
Fixes: Fixes:

View file

@ -1,6 +1,6 @@
{ {
"name": "bzfoundry", "name": "bzfoundry",
"version": "0.2.2", "version": "0.2.3",
"factorio_version": "1.1", "factorio_version": "1.1",
"title": "Foundry", "title": "Foundry",
"author": "Brevven", "author": "Brevven",

View file

@ -223,6 +223,7 @@ if util.me.founding_plates() then
if (name == "steel-plate" or if (name == "steel-plate" or
name == "imersium-plate" or name == "imersium-plate" or
name == "tungsten-carbide" or -- exclude base recipe but not casting recipe name == "tungsten-carbide" or -- exclude base recipe but not casting recipe
(name == "glass" and mods.bztin) or -- exclude glass when tin is in use, thematically
name == "se-naquium-ingot") then goto continue end name == "se-naquium-ingot") then goto continue end
local new_recipe = make_recipe(recipe ) local new_recipe = make_recipe(recipe )
if new_recipe then if new_recipe then