A few recent changes made it so the fuel_value field on fluids is more supported, such as allowing fusion-generator to use it. However, this causes problems with any machine that allows any fluid, such as the K2 gas power generators.
Adding a fuel category to fluids, defaulting to "default" to not be a breaking change, would let mods using the fuel_value field keep to themselves unless specifically made compatible. FluidEnergySource, FusionGenerator, and Generator would also need a fuel_categories field (also optional, defaulting to {"default"}). Any fluid not in that category would act as if it had no fuel value, and destroy_non_fuel_fluid would operate as expected.
Make FluidPrototype implement fuel_category
-
- Burner Inserter
- Posts: 15
- Joined: Tue Feb 04, 2025 7:34 pm
- Contact:
- protocol_1903
- Filter Inserter
- Posts: 324
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
Re: Make FluidPrototype implement fuel_category
This would be a much more interesting take on the 'allow fluid filters' request, I like it. +1
If you need to reach me, message me on discord.
I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
- MrSmoothieHuman
- Fast Inserter
- Posts: 154
- Joined: Sat Aug 05, 2023 1:20 am
- Contact:
Re: Make FluidPrototype implement fuel_category
+1, literally have been wanting this for over a year for things like fuel-powered generators
coder? i hardly know her!