Page 1 of 1

More access to player crafting queue

Posted: Mon Nov 23, 2015 12:38 pm
by Divran
Hi

Would be great if we could have more access to the player's crafting queue, such as a parameter on the player object that returns what they're crafting, and also an event that is called when crafting is started, and possibly another event that is called when each intermediate product is finished.

This would be used in https://forums.factorio.com/forum/vie ... 33&t=17964

Re: More access to player crafting queue

Posted: Wed May 18, 2016 11:36 pm
by AenAllAin
Can I bump this request? ...I just started working on a mod I call IdleHands to keep your player crafting queue running when you are not using it actively; it sets item slots and quantities (with an infinite option) just like setting a requester chest slot, but instead it would trigger you to manually craft when your crafting queue is empty (of course it would cancel everything if you actually manually clicked something to craft). Then after some review of the API, the mod is DOA :( ...it would have been nice too.

It seems the only way to make it work is to simulate a crafting queue, pretend that your player is crafting, and after the proper amount of time just fabricate the items.

Re: More access to player crafting queue

Posted: Thu May 19, 2016 12:00 am
by Rseding91

Re: More access to player crafting queue

Posted: Thu May 19, 2016 2:13 am
by AenAllAin
Oh! Sweet! Thanks ...I knew I was forgetting to check something; sorry.