event = {entity = "assembler", recipe = "recipe" }
I want this for assemblers, but I might be able to see some use for players too.
defines.event.on_entity_crafting_complete
Re: defines.event.on_entity_crafting_complete
We specifically don't have such an event because it would be a massive drain on game performance.
If you want to get ahold of me I'm almost always on Discord.
-
- Filter Inserter
- Posts: 841
- Joined: Mon Sep 14, 2015 7:40 am
- Contact:
Re: defines.event.on_entity_crafting_complete
Don't we already have this for players?Mylon wrote: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
Yes, because the player count is not in the 10s of thousands and has a fixed crafting speed.Supercheese wrote:Don't we already have this for players?Mylon wrote:event = {entity = "assembler", recipe = "recipe" }
I want this for assemblers, but I might be able to see some use for players too.
If you want to get ahold of me I'm almost always on Discord.
-
- Filter Inserter
- Posts: 841
- Joined: Mon Sep 14, 2015 7:40 am
- Contact:
Re: defines.event.on_entity_crafting_complete
Indeed, I was just pointing that event out because it seemed the OP wasn't aware of it.Rseding91 wrote:Yes, because the player count is not in the 10s of thousands and has a fixed crafting speed.
- IsaacOscar
- Filter Inserter
- Posts: 840
- Joined: Sat Nov 09, 2024 2:36 pm
- Contact:
Re: defines.event.on_entity_crafting_complete
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?