Hi,
entity.is_crafting() and entity.crafting_progress are supposed to work on CraftingMachine, but they trigger error on Furnaces.
Is it a bug, or a missing feature ? It would be nice to have these values on furnaces too, because they are crafting a lot of things too.
[resolved] Add is_crafting() for furnaces
[resolved] Add is_crafting() for furnaces
Last edited by binbinhfr on Thu Jul 14, 2016 12:36 pm, edited 1 time in total.
My mods on the Factorio Mod Portal
Re: [0.13.8] is_crafting and furnaces ?
Well the docs state it only works for crafting machine, so i will move this to modding interface requestsbinbinhfr wrote:Hi,
entity.is_crafting() and entity.crafting_progress are supposed to work on CraftingMachine, but they trigger error on Furnaces.
Is it a bug, or a missing feature ? It would be nice to have these values on furnaces too, because they are crafting a lot of things too.
Re: Add is_crafting() for furnaces
What are you talking about? They work perfectly on furnaces. I just tested both of them and everything reports correct values.
If you want to get ahold of me I'm almost always on Discord.
Re: Add is_crafting() for furnaces
Ooops, sorry guys, it was a typo in my code... It works indeed.
My mods on the Factorio Mod Portal