[2.0] Forcing visible fluidboxes

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
BraveCaperCat
Filter Inserter
Filter Inserter
Posts: 519
Joined: Mon Jan 15, 2024 10:10 pm
Contact:

[2.0] Forcing visible fluidboxes

Post by BraveCaperCat »

Currently, I'm working on a mod where certain types of recipes have effects in-world. (creating/destroying/modifying entities)
One of these changes depending on the rotation of the machine - for one particular machine, which currently is using the placeholder graphics of an assembling machine 2, I want to (at least for now) use the existing fluid box graphics to help convey which direction the machine is facing.

I first tried setting the fluid_boxes_off_when_no_fluid_recipe property to false, which I thought would make both fluid boxes visible at all times, but as mentioned here, this property doesn't do what anyone would expect it to do. Instead, it being false just makes the fluid box visible when no recipe is selected. This can't happen with my machine though, since it has fixed_recipe set.

I propose that either the fluid_boxes_off_when_no_fluid_recipe property starts actually doing what it says in the name, or a new property is added that can also allow me to force the fluid boxes to be visible.
If you want to see the mods I've made, press one. If you need me to update a mod to 2.0, press two. If you're looking for QA, press three. If you've been waiting over 1 and a half years for Digital Age, bad luck.
User avatar
protocol_1903
Filter Inserter
Filter Inserter
Posts: 514
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Re: [2.0] Forcing visible fluidboxes

Post by protocol_1903 »

a non-fluid recipe validates the "no fluid recipe" requirement because its not a fluid recipe. perhaps instead it should be fluid_boxes_always_on?
pY and pYblock developer, wielder of fluid networks and subtick events in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903

Buy me a coffee
User avatar
BraveCaperCat
Filter Inserter
Filter Inserter
Posts: 519
Joined: Mon Jan 15, 2024 10:10 pm
Contact:

Re: [2.0] Forcing visible fluidboxes

Post by BraveCaperCat »

protocol_1903 wrote: Sat Jun 13, 2026 10:23 pm a non-fluid recipe validates the "no fluid recipe" requirement because its not a fluid recipe. perhaps instead it should be fluid_boxes_always_on?
Yeah, but it acts as if the fluid part isn't there. When false, it only shows the fluid boxes when there isn't a recipe or when the recipe uses the fluid boxes, but it should always be showing both fluid boxes.

I'm asking for the property to do what it says in that case, or for a new property to be added that does what you'd think setting fluid_boxes_off_when_no_fluid_recipe to false would do.
If you want to see the mods I've made, press one. If you need me to update a mod to 2.0, press two. If you're looking for QA, press three. If you've been waiting over 1 and a half years for Digital Age, bad luck.
Post Reply

Return to “Modding interface requests”