fix log textures.

This commit is contained in:
trans_soup 2023-10-11 18:26:48 +02:00
parent c3fb8df14a
commit 09feb14dbb

View file

@ -1,12 +1,21 @@
local modname = minetest.get_current_modname() local modname = minetest.get_current_modname()
blockgame.reg_simple_node("log", "Log", { minetest.register_node(modname .. ":log", {
woody = 1, description = "Log",
tiles = {
modname .. "_log_top.png",
modname .. "_log_top.png",
modname .. "_log.png",
},
groups = {
woody = 1,
},
}) })
minetest.register_node(modname .. ":log_alive", { minetest.register_node(modname .. ":log_alive", {
description = "Growing Log", description = "Growing Log",
tiles = { tiles = {
modname .. "_log_top.png", modname .. "_log_top_alive.png",
modname .. "_log_top_alive.png",
modname .. "_log_alive.png", modname .. "_log_alive.png",
}, },
groups = { groups = {