Hide Fluidbox Indicators in Cursor

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
Stringweasel
Filter Inserter
Filter Inserter
Posts: 404
Joined: Thu Apr 27, 2017 8:22 pm
Contact:

Hide Fluidbox Indicators in Cursor

Post by Stringweasel »

Hello!

I propose having the ability to completely þhide the fluid box indicators on buildings. Or more specifically, while the item is in the cursor.

Use Case:
I have 1x1 assembling machines and generators with fluid connections in all directions in my Fluidic Power mod. It's not necessary to show the indicators in this case really clutters the screen. See below an example of a placed assembling machine (left) without indicators and the item in the cursor (right) which still shows the indicators.

Image

What's available currently:
The only way to manipulate it, that I know of, is by using the "hide-alt-info" flag on the entity. This doesn't disable it completely but does make that the indicators will not always show. It will only show when the mouse hovers over it, or while it's in the cursor. There are also entities that don't show the fluidbox connections ever, for example, the storage tank. This makes it hard to mix and match fluid components with your mod application.

However, it's impossible to hide these indicators while the building is in the cursor.

Why should you bother spending time on it?
It's not mod-breaking at all and strictly a visual detail. It would give the ability to make some buildings in some mods look much nicer.
Alt-F4 Author | Factorio Modder
My Mods: Hall of Fame | Better Victory Screen | Fluidic Power | Biter Power | Space Spidertron | Spidertron Dock | Weasel's Demolition Derby
Official Contributor to Space Exploration

Xorimuth
Filter Inserter
Filter Inserter
Posts: 685
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

Re: Hide Fluidbox Indicators in Cursor

Post by Xorimuth »

This is implemented in 1.1.67 with FluidBox::hide_connection_info :D
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings

Post Reply

Return to “Modding interface requests”