Allow modders to read how many quickbars and shortcut bars a player has

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
Gerkiz
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Fri Nov 30, 2018 3:36 pm
Contact:

Allow modders to read how many quickbars and shortcut bars a player has

Post by Gerkiz »

Greetings,

As per the title, currently there is no way to read how many rows of "quickbars" or "shortcut bar rows" a player has.
The same thing goes for the option "Tool window next to quickbar" - there is no way of knowing where the frame is located.

I currently create a lookalike frame to the quickbar and create new buttons that I "snap" near the quickbar, however if a player has anything else than 2 rows or the "tool window next to quickbar" is unticked - it looks kinda funky.
quickbar.png
quickbar.png (67.21 KiB) Viewed 257 times


While I understand the initial response might involve "just mod it", I'm optimistic about the potential for this to be integrated into the LuaPlayer::GameViewSettings API.

Cheers and thanks in advance!
Attachments
LTdBQK.mp4
(520.89 KiB) Downloaded 20 times

Post Reply

Return to “Modding interface requests”