Blueprint Events (on_marked)

Post Reply
AenAllAin
Long Handed Inserter
Long Handed Inserter
Posts: 61
Joined: Sat Apr 02, 2016 3:10 am
Contact:

Blueprint Events (on_marked)

Post by AenAllAin »

Are there any blueprint events? Is there an event to capture when a player creates a blueprint? If not can we get one?

I'm trying to figure out a way to get blueprints to work nicely with my invisible helper entities. I just want the blueprint to have/reflect the main entity/item of my grouped item sets (items that produce multiple entities).

User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: Blueprint Events (on_marked)

Post by Adil »

Some way to transport a bit of lua data into blueprint would be nice indeed.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3700
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Blueprint Events (on_marked)

Post by DaveMcW »

You can already edit blueprints (and data can be added with constant-combinator), but we need an event to tell you when to edit them.

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

Re: Blueprint Events (on_marked)

Post by Bilka »

See on_player_setup_blueprint and LuaEntity.tags.
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”