fix fuel categories k2 aai
This commit is contained in:
parent
7892d73671
commit
b6f5796273
4 changed files with 15 additions and 2 deletions
|
@ -1,4 +1,9 @@
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 0.0.14
|
||||||
|
Date: 2022-08-04
|
||||||
|
Fixes:
|
||||||
|
- AAI: Can use processed fuel for basic chem plant with Krastorio 2
|
||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 0.0.13
|
Version: 0.0.13
|
||||||
Date: 2022-08-02
|
Date: 2022-08-02
|
||||||
Features:
|
Features:
|
||||||
|
|
|
@ -8,6 +8,13 @@ local util = require("data-util");
|
||||||
-- core mining balancing
|
-- core mining balancing
|
||||||
util.add_to_product("se-core-fragment-omni", "gas", -56)
|
util.add_to_product("se-core-fragment-omni", "gas", -56)
|
||||||
|
|
||||||
|
-- Fix basic chemical plant fuels for K2
|
||||||
|
if mods.Krastorio2 and
|
||||||
|
data.raw["assembling-machine"]["basic-chemical-plant"] and
|
||||||
|
data.raw["assembling-machine"]["basic-chemical-plant"].energy_source and
|
||||||
|
data.raw["assembling-machine"]["basic-chemical-plant"].energy_source.fuel_categories then
|
||||||
|
table.insert(data.raw["assembling-machine"]["basic-chemical-plant"].energy_source.fuel_categories , "vehicle-fuel")
|
||||||
|
end
|
||||||
|
|
||||||
-- Vanilla burner phase tweaks -- green circuits after electronics
|
-- Vanilla burner phase tweaks -- green circuits after electronics
|
||||||
-- Electronic circuit recipe set below in compatibility script
|
-- Electronic circuit recipe set below in compatibility script
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bzgas",
|
"name": "bzgas",
|
||||||
"version": "0.0.13",
|
"version": "0.0.14",
|
||||||
"factorio_version": "1.1",
|
"factorio_version": "1.1",
|
||||||
"title": "Natural Gas",
|
"title": "Natural Gas",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
|
|
|
@ -54,11 +54,12 @@ plant_e.animation.east.layers[1].hr_version.filename="__bzgas__/graphics/entity/
|
||||||
plant_e.animation.west.layers[1].filename="__bzgas__/graphics/entity/chemical-plant.png"
|
plant_e.animation.west.layers[1].filename="__bzgas__/graphics/entity/chemical-plant.png"
|
||||||
plant_e.animation.west.layers[1].hr_version.filename="__bzgas__/graphics/entity/hr-chemical-plant.png"
|
plant_e.animation.west.layers[1].hr_version.filename="__bzgas__/graphics/entity/hr-chemical-plant.png"
|
||||||
plant_e.next_upgrade="chemical-plant"
|
plant_e.next_upgrade="chemical-plant"
|
||||||
|
|
||||||
plant_e.energy_source = {
|
plant_e.energy_source = {
|
||||||
type = "burner",
|
type = "burner",
|
||||||
fuel_inventory_size = 1,
|
fuel_inventory_size = 1,
|
||||||
effectivity = 1,
|
effectivity = 1,
|
||||||
fuel_categories = mods["aai-industry"] and {"chemical", "processed-chemical"} or {"chemical"},
|
fuel_categories = {"chemical"},
|
||||||
smoke = {
|
smoke = {
|
||||||
{
|
{
|
||||||
name = "smoke",
|
name = "smoke",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue