LuaPlayer.cursor_stack.set_stack and LuaPlayer.pipette_entity
Neither of these allows the possibility to set the player cursor to a fluid or a virtual signal, but the player can do so themselves if e.g. pipetting a signal in a constant combinator, or pipetting a signal in any circuit condition.
I tried
Code: Select all
player.cursor_stack.set_stack({ type = "fluid", name = "water" })
Why?
I'm sick of having to click an empty slot and search for things. If you have 10 things to search for, doing it with a mod or by being able to pipette fluids and signals from mod UIs (see other feature request) would make the user experience sooooo much better.