- 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
- Add register_rotatable
Registers a node that can be rotated.
- Add fix_rotatable_facedir
Looks up equivalent facedir value from
loopup array specified when registering.
- Replace rotate_node with rotate_facedir
Rotates a facedir value instead of a node in-world.
- Add calculate_rotating_state
To separate state-creation into its own function,
and to fix an issue where HUD wouldn't update.
- Add nodecore_filtered_lookup
Mimics NodeCore's rotation filtering to create
a lookup table based on a passed-in function.
- Register lenses, prisms and panels