You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As such, furnace initiates, and swaps to active node but no product is produced, no fuel used, no inputs are taken. Debugging suggests that on_timer() in "templates/multifurnace.lua" is called once and then the node is stuck in active mode with nothing else happening. Inputs and fuels can be removed freely but the target_item is locked in.
However, if the "furnace" craft's cooktime = 0, the furnace then behaves basically as expected. If there is fuel the furnace continues to produce outputs as long as fuel is there. otherwise it produces only one output per on_receive_fields() (because no fuel is actually required.--which is a bit buggy in its self but at least shows that the problem seems to be in how the `on_timer()' function is handling burntime/cooktime.
Its possible that I am implementing something incorrectly as the docs are a little vague here but I've toyed with the mod and tweaked the code enough that I'm fairly sure there is some bug here. Just haven't been able to pinpoint exactly where the problem is. Thanks for any assistance.
The text was updated successfully, but these errors were encountered:
I'm working through this issue currently, and it seems as if simplecrafting_lib.room_for_items(inv, "output", output) fails to return good data. I don't understand what that function does exactly, but for testing purposes I just set it to return true, and autocrafting now works as expected.
Furnaces don't show the output for most items, but some do. Interestingly clicking the show guide button shows everything, so I'm not sure what's going on there.
Really trying to get this to work on my server, will make a pull request if I can get it working.
Should mention that I'm working with the workshop mod that FaceDeer has for different workshops.
Minetest 5.0.0 (up to date, compiled on Linux) in stripped down custom game(few nodes registered for mapgen, not much else)
Steps to reproduce:
As such, furnace initiates, and swaps to active node but no product is produced, no fuel used, no inputs are taken. Debugging suggests that
on_timer()
in "templates/multifurnace.lua" is called once and then the node is stuck in active mode with nothing else happening. Inputs and fuels can be removed freely but the target_item is locked in.However, if the "furnace" craft's
cooktime = 0
, the furnace then behaves basically as expected. If there is fuel the furnace continues to produce outputs as long as fuel is there. otherwise it produces only one output peron_receive_fields()
(because no fuel is actually required.--which is a bit buggy in its self but at least shows that the problem seems to be in how the `on_timer()' function is handling burntime/cooktime.Its possible that I am implementing something incorrectly as the docs are a little vague here but I've toyed with the mod and tweaked the code enough that I'm fairly sure there is some bug here. Just haven't been able to pinpoint exactly where the problem is. Thanks for any assistance.
The text was updated successfully, but these errors were encountered: