Page 1 of 1

Modify what item is returned when pressing 'Q' on an entity

Posted: Mon Mar 18, 2019 11:45 pm
by vedrit
Hi all, I was wondering if it were possible to change the item that pops into a players 'hand' when they press 'Q' while mousing over an entity? I ask as my mod discreetly replaced certain entities when certain technologies are researched, but when a player presses 'Q' or copies them via a blueprint, they get a different reference

Re: Modify what item is returned when pressing 'Q' on an entity

Posted: Tue Mar 19, 2019 1:23 pm
by DaveMcW

Re: Modify what item is returned when pressing 'Q' on an entity

Posted: Tue Mar 19, 2019 10:58 pm
by vedrit
Ok, that works for the player, but is there any way to get it to work for blueprints?

Re: Modify what item is returned when pressing 'Q' on an entity

Posted: Tue Mar 19, 2019 11:09 pm
by Bilka

Re: Modify what item is returned when pressing 'Q' on an entity

Posted: Tue Mar 19, 2019 11:26 pm
by vedrit
Bilka wrote: Tue Mar 19, 2019 11:09 pm https://wiki.factorio.com/Prototype/Entity#placeable_by - also works with the pipette tool.
Well now, that did the trick quite nicely! Thanks