1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-12-26 02:20:20 +01:00
plantlife_modpack/trunks
Vanessa Dannenberg f01e4bb55f Convert moss to wallmounted mode
I couldn't use leaf decay to make moss disappear when a trunk is dug,
because it breaks leaf decay on that tree's leaves: the leafdecay
function is not a true "register"- type function that can be run more
than once on a given trunk node, it's an all-or-nothing override and
only the last call for any given trunk actually sticks.

Since moss is... was facedir, attached_node didn't work right either, as
it doesn't have a mode to look for a vertical surface behind the
attached object (like how it works with wallmounted items), so this
converts moss to true wallmounted and uses attached_node like I
originally wanted.

To avoid losing the effect where moss can be rotated randomly when
generated, I registered 4 nodes for each moss type, with
increasingly-rotated textures.
2021-06-20 23:30:26 -04:00
..
locale Remove translations in minetest.log output 2020-02-15 14:32:06 +00:00
textures OPTIMIZE _ALL_ THE TEXTURES! \:D/ 2015-01-23 14:08:08 -05:00
crafting.lua Fix two typos 2018-02-10 17:17:09 +01:00
generating.lua Convert moss to wallmounted mode 2021-06-20 23:30:26 -04:00
init.lua Remove translations in minetest.log output 2020-02-15 14:32:06 +00:00
mod.conf Remove translations in minetest.log output 2020-02-15 14:32:06 +00:00
nodes.lua Convert moss to wallmounted mode 2021-06-20 23:30:26 -04:00
trunks_settings.txt Imported dryplants and ferns mods and all components of the Undergrowth modpack 2014-08-12 15:08:11 -04:00