Sorry for the double post Philipsz and I hope you don't mind, but I had a look at the code and would like to suggest the following changes:
acid_plant.con
order = 1025,
placementParams = {
buildOrder = 14,
initWeight = 2,
tags = { "INPUT_SULPHUR", "INPUT_WATER" },
distanceWeights = {
INPUT_ACID = 2,
INPUT_SULPHUR = -1,
INPUT_WASTE_WATER = 1,
INPUT_WATER = -2,
},
},
}
local stockListConfig = {
stocks = { "SULPHUR", "WATER" },
rule = { input = { { 1,2 } }, output = { ACID = 2, WASTE_WATER = 1 }, capacity = 600 },
separation_plant.con
order = 1030,
placementParams = {
buildOrder = 15,
initWeight = 1,
tags = { "INPUT_OIL_SAND", "INPUT_WATER", },
distanceWeights = {
INPUT_OIL = 1,
INPUT_SAND = 1,
INPUT_WATER = 1,
INPUT_WASTE_WATER = -1,
INPUT_OIL_SAND = -1,
},
},
}
local stockListConfig = {
stocks = { "OIL_SAND", "WASTE_WATER" },
rule = { input = { { 1,0, }, { 0,1 } }, output = { OIL = 1, SAND = 1, WATER = 1 }, capacity = 600 },
This provides a source for Waste Water.
I have increased the water requirement in the Acid Plant for balance, and corrected an error in the Separation Plant code.
I've tested my alterations, and played with them for some time, and I believe they are a fair and balanced solution.
If you agree, would you be kind enough to make these alterations official?
Thanks again mate for this excellent mod!