basic chem plant: sand over silica

This commit is contained in:
Brevven 2022-08-19 09:21:33 -07:00
parent bbad394de4
commit 79af9f197a
4 changed files with 17 additions and 1 deletions

View file

@ -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 Version: 0.0.20
Date: 2022-08-18 Date: 2022-08-18
Fixes: Fixes:

View file

@ -46,6 +46,14 @@ end
util.add_prerequisite("nanobots", "electronics") util.add_prerequisite("nanobots", "electronics")
util.remove_ingredient("small-lamp", "blank-circuit") -- mod mash 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 -- Should come as late as possible, doesn't need to be last
require("compatibility/electronic-circuit") require("compatibility/electronic-circuit")

View file

@ -1,6 +1,6 @@
{ {
"name": "bzgas", "name": "bzgas",
"version": "0.0.20", "version": "0.0.21",
"factorio_version": "1.1", "factorio_version": "1.1",
"title": "Natural Gas", "title": "Natural Gas",
"author": "Brevven", "author": "Brevven",

View file

@ -19,6 +19,7 @@ data:extend({
util.add_ingredient("basic-chemical-plant", "lead-plate", 4) 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", "iron-plate", "aluminum-plate")
util.replace_ingredient("basic-chemical-plant", "copper-plate", "tin-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) util.replace_ingredient("basic-chemical-plant", "stone-brick", "silica", 10)
-- item -- item