Have CustomInput respect the hidden property
- protocol_1903
- Filter Inserter
- Posts: 356
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
Have CustomInput respect the hidden property
As in title. Currently, when you have the hidden or hidden_in_factoriopedia flag to true, the custom input is not hidden from the controls GUI. This is counterintuitive and means that mods cannot have custom inputs that are not modifiable by the player, and they must always be shown. You can get around this by using linked_game_control but this is unreliable due to players being able to change those controls, and your selection of input sequences is limited.
Py and PyBlock developer, wielder of LUA in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
https://mods.factorio.com/user/protocol_1903
Re: Have CustomInput respect the hidden property
Even if this existed, the player could still modify the binding in the config.ini file outside of the game. What is your use-case for a input that the player can't change?
If you want to get ahold of me I'm almost always on Discord.
- protocol_1903
- Filter Inserter
- Posts: 356
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
Re: Have CustomInput respect the hidden property
Detecting arbitrary events that have no direct binding, mostly mouse clicks, to override vanilla GUI interactions
Py and PyBlock developer, wielder of LUA in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
https://mods.factorio.com/user/protocol_1903