Page 1 of 1

defines.event.on_entity_crafting_complete

Posted: Tue May 16, 2017 1:50 pm
by Mylon
event = {entity = "assembler", recipe = "recipe" }

I want this for assemblers, but I might be able to see some use for players too.

Re: defines.event.on_entity_crafting_complete

Posted: Tue May 16, 2017 4:38 pm
by Rseding91
We specifically don't have such an event because it would be a massive drain on game performance.

Re: defines.event.on_entity_crafting_complete

Posted: Tue May 16, 2017 7:00 pm
by Supercheese
Mylon wrote:event = {entity = "assembler", recipe = "recipe" }

I want this for assemblers, but I might be able to see some use for players too.
Don't we already have this for players?

Re: defines.event.on_entity_crafting_complete

Posted: Tue May 16, 2017 7:39 pm
by Rseding91
Supercheese wrote:
Mylon wrote:event = {entity = "assembler", recipe = "recipe" }

I want this for assemblers, but I might be able to see some use for players too.
Don't we already have this for players?
Yes, because the player count is not in the 10s of thousands and has a fixed crafting speed.

Re: defines.event.on_entity_crafting_complete

Posted: Tue May 16, 2017 8:10 pm
by Supercheese
Rseding91 wrote:Yes, because the player count is not in the 10s of thousands and has a fixed crafting speed.
Indeed, I was just pointing that event out because it seemed the OP wasn't aware of it.

Re: defines.event.on_entity_crafting_complete

Posted: Wed Dec 25, 2024 5:47 am
by IsaacOscar
Sorry for necroing an old thread, but would it be possible to have the recipe and/or crafting machine's prototype opt in to an event? So any performance problems can be minimised?