Merge pull request 'Animated Nether Tree Textures' (#3155) from FossFanatic/MineClone2:animated_nether_trees_possible into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3155
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
This commit is contained in:
ancientmarinerdev 2022-12-20 21:19:45 +00:00
commit 1c24adb714

View file

@ -283,10 +283,10 @@ minetest.register_node("mcl_crimson:warped_hyphae", {
tiles = { tiles = {
"warped_hyphae.png", "warped_hyphae.png",
"warped_hyphae.png", "warped_hyphae.png",
"warped_hyphae_side.png", {
"warped_hyphae_side.png", image="warped_hyphae_side.png",
"warped_hyphae_side.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.0}
"warped_hyphae_side.png", },
}, },
paramtype2 = "facedir", paramtype2 = "facedir",
on_place = mcl_util.rotate_axis, on_place = mcl_util.rotate_axis,
@ -321,7 +321,12 @@ minetest.register_node("mcl_crimson:warped_nylium", {
minetest.register_node("mcl_crimson:warped_hyphae_bark", { minetest.register_node("mcl_crimson:warped_hyphae_bark", {
description = S("Warped Hyphae Bark"), description = S("Warped Hyphae Bark"),
_doc_items_longdesc = S("This is a decorative block surrounded by the bark of an hyphae."), _doc_items_longdesc = S("This is a decorative block surrounded by the bark of an hyphae."),
tiles = {"warped_hyphae_side.png"}, tiles = {
{
image="warped_hyphae_side.png",
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.0}
},
},
paramtype2 = "facedir", paramtype2 = "facedir",
on_place = mcl_util.rotate_axis, on_place = mcl_util.rotate_axis,
groups = {handy = 1, axey = 1, bark = 1, building_block = 1, material_wood = 1}, groups = {handy = 1, axey = 1, bark = 1, building_block = 1, material_wood = 1},
@ -468,10 +473,10 @@ minetest.register_node("mcl_crimson:crimson_hyphae", {
tiles = { tiles = {
"crimson_hyphae.png", "crimson_hyphae.png",
"crimson_hyphae.png", "crimson_hyphae.png",
"crimson_hyphae_side.png", {
"crimson_hyphae_side.png", image="crimson_hyphae_side.png",
"crimson_hyphae_side.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.0}
"crimson_hyphae_side.png", },
}, },
paramtype2 = "facedir", paramtype2 = "facedir",
on_place = mcl_util.rotate_axis, on_place = mcl_util.rotate_axis,
@ -487,7 +492,12 @@ minetest.register_node("mcl_crimson:crimson_hyphae", {
minetest.register_node("mcl_crimson:crimson_hyphae_bark", { minetest.register_node("mcl_crimson:crimson_hyphae_bark", {
description = S("Crimson Hyphae Bark"), description = S("Crimson Hyphae Bark"),
_doc_items_longdesc = S("This is a decorative block surrounded by the bark of an hyphae."), _doc_items_longdesc = S("This is a decorative block surrounded by the bark of an hyphae."),
tiles = {"crimson_hyphae_side.png"}, tiles = {
{
image="crimson_hyphae_side.png",
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.0}
},
},
paramtype2 = "facedir", paramtype2 = "facedir",
on_place = mcl_util.rotate_axis, on_place = mcl_util.rotate_axis,
groups = {handy = 1, axey = 1, bark = 1, building_block = 1, material_wood = 1}, groups = {handy = 1, axey = 1, bark = 1, building_block = 1, material_wood = 1},