events.on_entity_finished_crafting

Things that we aren't going to implement
Post Reply
jmickle_
Burner Inserter
Burner Inserter
Posts: 17
Joined: Fri Feb 03, 2017 1:23 pm
Contact:

events.on_entity_finished_crafting

Post by jmickle_ »

Hi, just a simple event request: An event that fires when an assembler or furnace (and possibly boilers?) finishes crafting an item, to enable custom behaviour with the result.

This is already possible by cycling the entities every tick and checking if it has an item in the output, but I imagine an event for this occasion would be much more performant, and simplify code.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13225
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: events.on_entity_finished_crafting

Post by Rseding91 »

We specifically didn't make such an event because it would be a large performance drain on the game to call so often even when there isn't a single mod listening to it.
If you want to get ahold of me I'm almost always on Discord.

jmickle_
Burner Inserter
Burner Inserter
Posts: 17
Joined: Fri Feb 03, 2017 1:23 pm
Contact:

Re: events.on_entity_finished_crafting

Post by jmickle_ »

That makes sense! Thanks for the response.

Post Reply

Return to “Won't implement”