diff --git a/changelog.txt b/changelog.txt index 5e8c4a9..b16f7d5 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,11 @@ --------------------------------------------------------------------------------------------------- +Version: 0.0.21 +Date: 2022-08-18 + Changes: + - In modded games, if sand exists, prefer sand to silica in basic chem plant recipe. This should + help avoid some strange unlock orders. + - Minor locale fixes +--------------------------------------------------------------------------------------------------- Version: 0.0.20 Date: 2022-08-18 Fixes: diff --git a/data-final-fixes.lua b/data-final-fixes.lua index 67c7eaa..224def1 100644 --- a/data-final-fixes.lua +++ b/data-final-fixes.lua @@ -46,6 +46,14 @@ end util.add_prerequisite("nanobots", "electronics") util.remove_ingredient("small-lamp", "blank-circuit") -- mod mash +data.raw["assembling-machine"]["basic-chemical-plant"].localised_description = data.raw["assembling-machine"]["chemical-plant"].localised_description +if util.se6() then + if data.raw["assembling-machine"]["basic-chemical-plant"] and + data.raw["assembling-machine"]["chemical-plant"] then + data.raw["assembling-machine"]["basic-chemical-plant"].localised_description = data.raw["assembling-machine"]["chemical-plant"].localised_description + end +end + -- Should come as late as possible, doesn't need to be last require("compatibility/electronic-circuit") diff --git a/info.json b/info.json index 1217ccd..e42cff0 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bzgas", - "version": "0.0.20", + "version": "0.0.21", "factorio_version": "1.1", "title": "Natural Gas", "author": "Brevven", diff --git a/prototypes/basic-chemical-plant.lua b/prototypes/basic-chemical-plant.lua index 05eacc9..d236671 100644 --- a/prototypes/basic-chemical-plant.lua +++ b/prototypes/basic-chemical-plant.lua @@ -19,6 +19,7 @@ data:extend({ util.add_ingredient("basic-chemical-plant", "lead-plate", 4) util.replace_ingredient("basic-chemical-plant", "iron-plate", "aluminum-plate") util.replace_ingredient("basic-chemical-plant", "copper-plate", "tin-plate") +util.replace_ingredient("basic-chemical-plant", "stone-brick", "sand", 10) util.replace_ingredient("basic-chemical-plant", "stone-brick", "silica", 10) -- item