Hopper compatibility and iron furnace fix #11
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "HandfulOfFrogs/industrialtest:master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WIP: Changes from my forkto Changes from my forkChanges from my forkto Hopper compatibility and iron furnace fix@ -363,0 +378,4 @@
return inv, "src", mcl_util.select_stack(hop_inv, hop_list, inv, "src")
end
definition._mcl_hoppers_on_after_push=function(pos)
minetest.get_node_timer(pos):start(1.0)
Use
industrialtest.updateDelay
instead of hardcoding1.0
.@ -301,0 +305,4 @@
definition._mcl_hoppers_on_try_pull = mcl_furnaces.hoppers_on_try_pull
definition._mcl_hoppers_on_try_push = mcl_furnaces.hoppers_on_try_push
definition._mcl_hoppers_on_after_push = function(pos)
minetest.get_node_timer(pos):start(1.0)
Same as above.
@ -361,2 +363,4 @@
}
definition._mcl_blast_resistance=3.5
definition._mcl_hardness=3.9
definition._mcl_hoppers_on_try_pull=function(pos, hop_pos, hop_inv, hop_list)
Problem with this code is that not every machine has
dst
orsrc
slots. For example Canning Machine hastarget
slot instead ofdst
.I see, maybe this can be moved into
registerSimpleElectricItemProcessor
specifically?Or, rather, have canning machine use dst slot too
Yeah this seems like a better solution though fact that
src
anddst
are "special" should be documented somehow.Alright I renamed inventory list names to
src
anddst
where it was making sense in2669b7bc27
.Oh, great!
I think I accidentally frogged up this merge request by merging upstream into my branch, let me see if I can fix it, or i'll just open a new one
804b40e2bd
to2d4fa3b68b
There we go, should be fine now