- Handle on_rightclick overriding in registry.lua
This simplifies registry of rotatable nodes.
- Move empty-hand right-click to registry.lua
- Move nodecore_filtered_lookup to utility.lua
- Add registry.is_rightclick_filtered and ..
- .. use it in calculate_rotating_state so when it
returns true, the rotation hint won't be shown.
- Use global to hold sub-modules
- Move state calculation to state.lua
- Do manual overriding of on_rightclick functions
- Call default right-click impl when holding pin on door
- Replace on_rightclick of registered node
- Replace on_place of empty hand item to
handle sneak-rightclicking to invert rotation
- Move registry related things to registry.lua
- Fix off-by-one error in nodecore_filtered_lookup
- Detect corner interactions, not just edges
- Corner interactions rotate by 120°
- Add rotate_node function to mimic NodeCore spin