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

Place to get help with not working mods / modding interface.
Post Reply
vedrit
Filter Inserter
Filter Inserter
Posts: 292
Joined: Sun Aug 03, 2014 2:25 am
Contact:

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

Post 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


vedrit
Filter Inserter
Filter Inserter
Posts: 292
Joined: Sun Aug 03, 2014 2:25 am
Contact:

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

Post by vedrit »

Ok, that works for the player, but is there any way to get it to work for blueprints?

Bilka
Factorio Staff
Factorio Staff
Posts: 3123
Joined: Sat Aug 13, 2016 9:20 am
Contact:

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

Post by Bilka »

I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

vedrit
Filter Inserter
Filter Inserter
Posts: 292
Joined: Sun Aug 03, 2014 2:25 am
Contact:

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

Post 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

Post Reply

Return to “Modding help”