fix fuel categories k2 aai

This commit is contained in:
Brevven 2022-08-03 16:32:52 -07:00
parent 7892d73671
commit b6f5796273
4 changed files with 15 additions and 2 deletions

View file

@ -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
Date: 2022-08-02
Features:

View file

@ -8,6 +8,13 @@ local util = require("data-util");
-- core mining balancing
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
-- Electronic circuit recipe set below in compatibility script

View file

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

View file

@ -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].hr_version.filename="__bzgas__/graphics/entity/hr-chemical-plant.png"
plant_e.next_upgrade="chemical-plant"
plant_e.energy_source = {
type = "burner",
fuel_inventory_size = 1,
effectivity = 1,
fuel_categories = mods["aai-industry"] and {"chemical", "processed-chemical"} or {"chemical"},
fuel_categories = {"chemical"},
smoke = {
{
name = "smoke",