[2.0.72] ItemPrototype:additional_fuel_categories

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
thesixthroc
Fast Inserter
Fast Inserter
Posts: 129
Joined: Wed Apr 29, 2020 9:53 pm
Contact:

[2.0.72] ItemPrototype:additional_fuel_categories

Post by thesixthroc »

This API would mirror RecipePrototype:additional_categories (or more realistically the replacement for this API in 2.1).

The heating entity in the Cerys mod consumes only solid fuel. For this to work, solid fuel is changed to a new fuel_category "chemical-or-radiative", and that FuelCategoryID is then added to the fuel_categories of many different BurnerEnergySource.

If another mod similarly wants to give special behavior to solid fuel, the only way to implement is to use more cascadings `-or-`, e.g. `chemical-or-radiative-or-solid`, causing awkward code in mods as with recipe categories in 2.0.
Post Reply

Return to “Modding interface requests”