Code: Select all
game.player.force.recipes["solar-panel"].enabled = false
- If the player's cursor is over any entity, the information panel under the minimap will disappear and not reappear until the cursor is over a different entity. The selection box, radius visualizations, power boxes (the blue ones), and other "overlays" are not affected.
- If the player's cursor is over an item in a GUI, it will be treated as if the GUI was not there, for one frame. If there is an entity behind the GUI under the cursor, it will show that entity's information panel for one frame. If the cursor is over a GUI element with a tooltip, the tooltip will not be displayed for one frame.