Add a way to see/set what ghost is in a player's hand and appropriate events.
Posted: Wed Feb 27, 2019 11:44 pm
Factorio 0.17 has a nice feature where you can (optionally) have items selected from the quickbar or via pipette create a placeable ghost if you lack the actual item.
However, there does not appear to be a way to query (or change) what this ghost is -- it is not an item in player.cursor_stack and does not raise the on_player_cursor_stack_changed event.
Is there any chance we can get this changed? It would affect any mod that wants to extend what the pipette tool does -- and my particular usage is so QuickItemSwap can rotate between belts/splitters/undergrounds even when holding a ghost or rotating to an item that's not in the player inventory.
However, there does not appear to be a way to query (or change) what this ghost is -- it is not an item in player.cursor_stack and does not raise the on_player_cursor_stack_changed event.
Is there any chance we can get this changed? It would affect any mod that wants to extend what the pipette tool does -- and my particular usage is so QuickItemSwap can rotate between belts/splitters/undergrounds even when holding a ghost or rotating to an item that's not in the player inventory.