Commit graph

11 commits

Author SHA1 Message Date
teknomunk
b67f2261ed Get redstone torches mostly workng (had to disable only calling node update routines when power level changes which is incorrect behavior, three redstone torch oscillator is not working correctly) 2024-06-15 07:09:53 -05:00
teknomunk
bbbc90e514 Add direction hash reversal lookup table, reverse direction for input rule checking 2024-06-15 07:09:53 -05:00
teknomunk
1da30698d7 Fix crash in comparitor code, add input rule processing 2024-06-15 07:09:53 -05:00
teknomunk
74d3fff5ff Change over redstone torcher (don't work), change hopper-comparator interaction again, start working on dig/place node handlers (doesn't work yet) 2024-06-15 07:09:53 -05:00
teknomunk
b3a04aae3b Add delay support to vl_redstone.set_power, switch repeater over 2024-06-15 07:09:53 -05:00
teknomunk
d3072fdf20 Fix power level when multiple sources power nodes (update distance was wrong) 2024-06-15 07:09:53 -05:00
teknomunk
781ccc04f6 Convert from storing power information directly in node metadata to storing in memory in a multipower table that gets loaded and saved to node metadata as needed, change all locally cached functions to have the source prefix in the name for better core readability, fix global access in mcl_util.assign_uuid 2024-06-15 07:09:53 -05:00
teknomunk
6396b6f56c Move force_get_node to mcl_util and swap all minetest.get_node to force_get_node in the new redstone code, implement conductors 2024-06-15 07:09:53 -05:00
teknomunk
13888236d6 Implement comparator accurately and remove WIP, remove ABMs for comparators and make updates triggered instead of polled, changes to redstone power transmission 2024-06-15 07:09:53 -05:00
teknomunk
e970a5f414 make mcl_util.call_safe and use it to make sure that mesecon devices are isolated from each other and can't crash the server, handle powered solid blocks, increase powered on to 16 2024-06-15 07:09:53 -05:00
teknomunk
6107bba52f Disable mesecons processing, create initial redstone power propigation code, change wall lever to use new code, modify scheduler to provide backtraces when tasks error 2024-06-15 07:09:53 -05:00