player.gui.cursor

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
SupplyDepoo
Filter Inserter
Filter Inserter
Posts: 286
Joined: Sat Oct 29, 2016 8:42 pm
Contact:

player.gui.cursor

Post by SupplyDepoo »

player.gui.cursor should be another gui root container which mods and scenarios can add GUI elements to.

The container would always follow the player's mouse cursor, like the GUI style view (Ctrl+F6) does.

It could be useful for adding important hints or other information depending on what the player is holding, just like blueprint books show the hierarchy of a nested blueprint being held.

Also, the cursor gui would automatically move to keep everything visible when the cursor is near the window edges.

Elements added here would be positioned either before (above) or after (below) the standard cursor tooltips (configurable by mod).

Possible usages:
  • Hints for new or hard-to-remember keyboard shortcuts
  • Additional blueprint info
  • Mod debugging info
  • Custom tooltips
  • Custom tool configuration state
  • Error messages that are not suitable for flying text or chat messages

Post Reply

Return to “Modding interface requests”