Event request: on_crafting_completed
Event request: on_crafting_completed
I'm messing around with Klonan's Oil Steam Boiler mod, and there's a couple of ways to do what I want, but an on_crafting_completed event would be the simplest and have the most application outside of my specific problem.
Re: Event request: on_crafting_completed
Does this not do what you're asking for? https://forums.factorio.com/wiki/inde ... afted_item
If you want to get ahold of me I'm almost always on Discord.
Re: Event request: on_crafting_completed
That actually explicitly does not, since the recipes I'm mucking around with are fluid recipes. Plus that only applies to the player himself and not assembling machines, doesn't it?
-
- Filter Inserter
- Posts: 952
- Joined: Sat May 23, 2015 12:10 pm
- Contact:
Re: Event request: on_crafting_completed
so you want to have a function run each time a machine fills up the progress bar?
what do you need to do that can't that be done with the recipe itself?
what do you need to do that can't that be done with the recipe itself?
Re: Event request: on_crafting_completed
Heating the fluid in the output fluidbox, since the temperature can't be configured in the recipe. This seems like a more general-purpose solution than asking for that.
Re: Event request: on_crafting_completed
So really this should be "Allow recipes to define the fluid input and output temperature"?
If you want to get ahold of me I'm almost always on Discord.
Re: Event request: on_crafting_completed
I would also include temperature in resource field itself and potentially as also required temperature for input on recipe.Rseding91 wrote:So really this should be "Allow recipes to define the fluid input and output temperature"?
This would make a lot of things that mods do with temperatures much easier.
Re: Event request: on_crafting_completed
That would suffice for this particular problem, yes.Rseding91 wrote:So really this should be "Allow recipes to define the fluid input and output temperature"?
Re: Event request: on_crafting_completed
Rseding91 wrote:So really this should be "Allow recipes to define the fluid input and output temperature"?
this seems to be implemented
http://lua-api.factorio.com/latest/Conc ... ml#Product
Last edited by laku on Wed Oct 04, 2017 2:45 am, edited 1 time in total.
Re: Event request: on_crafting_completed
That has been supported since 0.13.0.laku wrote:this would still be very niceRseding91 wrote:So really this should be "Allow recipes to define the fluid input and output temperature"?
If you want to get ahold of me I'm almost always on Discord.
Re: Event request: on_crafting_completed
and this is not in the "Implemented mod requests"-subforum, because he originaly asked for something else?Rseding91 wrote:That has been supported since 0.13.0.laku wrote:this would still be very niceRseding91 wrote:So really this should be "Allow recipes to define the fluid input and output temperature"?
Re: Event request: on_crafting_completed
That or I did it at an unrelated time because it sounded useful or just forgot to move it.laku wrote:and this is not in the "Implemented mod requests"-subforum, because he originaly asked for something else?
If you want to get ahold of me I'm almost always on Discord.