make saplings look identical to living logs.

This commit is contained in:
trans_soup 2023-10-17 09:43:25 +02:00
parent 098e07a1e6
commit c41d161802
1 changed files with 13 additions and 3 deletions

View File

@ -12,7 +12,7 @@ blockgame.register_node(modname .. ":log", {
},
})
blockgame.register_node(modname .. ":log_alive", {
description = "Growing Log",
description = "Living Log",
tiles = {
modname .. "_log_top_alive.png",
modname .. "_log_top_alive.png",
@ -25,8 +25,18 @@ blockgame.register_node(modname .. ":log_alive", {
drop = modname .. ":log",
})
blockgame.reg_simple_node("sapling", "Sapling", {
planty = 1,
blockgame.register_node(modname .. ":sapling", {
description = "Growing Log",
tiles = {
modname .. "_log_top_alive.png",
modname .. "_log_top_alive.png",
modname .. "_log_alive.png",
},
groups = {
woody = 1,
planty = 1,
},
drop = modname .. ":log",
})
local function reg_leaves (name, desc, groups, drop)