Get blueprint entity for a LuaEntity

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
alercah
Long Handed Inserter
Long Handed Inserter
Posts: 94
Joined: Sun Apr 07, 2019 5:19 am
Contact:

Get blueprint entity for a LuaEntity

Post by alercah »

I have a small personal mod to make the pipette able to carry the settings of the entity is pipetting. However, it is currently implemented with settings copy-paste onto a ghost, which has a number of limitations; it doesn't work properly for ghosts, struggles with modded entities somewhat, etc.

A better way might be if my mod simply create a blueprint of the entity, similar to Ctrl-C, but without including anything else at that point, and put that on the cursor. The problem with that is that there is no way to easily create a blueprint of a single entity. I think it may be technically possible at the moment, but it would be nice to be able to create the blueprint entity table for an entity directly, rather than having to actually create a blueprint item from the map and extract it that way.

Post Reply

Return to “Modding interface requests”

Who is online

Users browsing this forum: No registered users