fuel with k2

This commit is contained in:
Brevven 2022-02-12 00:04:10 -08:00
parent c5cbd638a2
commit 45486340c3
2 changed files with 6 additions and 1 deletions

View file

@ -2,6 +2,7 @@
Version: 0.0.12 Version: 0.0.12
Date: 2022-02-12 Date: 2022-02-12
Fixes: Fixes:
- Processed fuel works in foundries with K2 + AAI Industry both enabled, once again.
- Refractory recipes: Productivity no longer applies to refractories - Refractory recipes: Productivity no longer applies to refractories
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 0.0.11 Version: 0.0.11

View file

@ -1,6 +1,10 @@
require("util") require("util")
local futil = require("data-util") local futil = require("data-util")
local fuel = {"chemical"}
if mods.Krastorio2 then table.insert(fuel, "vehicle-fuel") end
if mods["aai-industry"] then table.insert(fuel, "processed-chemical") end
data:extend({ data:extend({
{ {
type = "assembling-machine", type = "assembling-machine",
@ -32,7 +36,7 @@ data:extend({
energy_source = energy_source =
{ {
type = "burner", type = "burner",
fuel_category = "chemical", fuel_categories = fuel,
effectivity = 1, effectivity = 1,
emissions_per_minute = 8, emissions_per_minute = 8,
fuel_inventory_size = 1, fuel_inventory_size = 1,