This pull request fixes the issue where people had to mirror their door textures because the game used a different method to texture the doors.
Speaking of mirrored, this pull request also fixes mirrored doors and improves those greatly.
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3479
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
Co-authored-by: FossFanatic <fossfanatic@noreply.git.minetest.land>
Co-committed-by: FossFanatic <fossfanatic@noreply.git.minetest.land>
* Remove `leaves` group from mangrove roots node registration. Mangrove
roots should not decay like leaves do.
* Fix some formatting weirdness.
* Add a "fixme" comment to some duplicated code that causes luacheck to
complain.
* This group is no longer used and is removed from leaves node groups.
* Since it was never added to GROUPS.md, nothing needs changed there.
* Remove the `leafdecay_distance` parameter from node registrations.
* Add "orphaned" leaves nodes, these are copies of the regular leaves
nodes whose sole purpose is to replace leaves nodes when no more tree
trunks are present nearby. The orphaned nodes are swapped in by a
callback on destruction of tree trunk nodes and will be decayed by a
dedicated abm that processes all nodes in `group:leaves_orphan`.
* Add `mcl_core.update_leaves()` function, a `after_destruct` callback
handler for tree trunk nodes. The function finds leaves nodes nearby
destroyed tree trunk nodes and swaps these for orphaned leaves nodes
if no other tree trunk nodes remain near them.
* Add `after_destruct` callbacks to tree trunk node registrations in
mcl_core/nodes_trees.lua and mcl_mangrove/init.lua to update orphaned
leaves.
* Add entry for group `leaves_orphan` to GROUPS.md
* Also add entry for group `leaves` to GROUPS.md (it was missing).
A quick change to the setting within the wlroots definition that makes the water translucent.
It's not perfect, but I think it looks better blended than opaque.