API request: LuaPlayer.pipette_item()

gparker
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Dec 23, 2015 8:44 am
Contact:

API request: LuaPlayer.pipette_item()

Post by gparker »

API request: add a function LuaPlayer.pipette_item(item_name, allow_ghost), similar to pipette_entity() but for items.
It should act as if an item in the inventory window or crafting window had been pipetted by the player.
Bilka
Factorio Staff
Factorio Staff
Posts: 3644
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: API request: LuaPlayer.pipette_item()

Post by Bilka »

This was added as LuaPlayer::pipette().
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Implemented mod requests”