Change leaves to plantlike nodes

master
migdyn 2019-01-20 10:53:10 -05:00
parent fac0800dfd
commit 869b7d1ad5
1 changed files with 14 additions and 2 deletions

View File

@ -124,7 +124,13 @@ minetest.register_node("main:log_oak", {
--Oak Leaves
minetest.register_node("main:leaves_oak", {
drawtype = "allfaces",
drawtype = "plantlike",
paramtype = "light",
light_propagates = true,
sunlight_propagates = true,
walkable = false,
climbable = true,
is_ground_content = false,
description = "Oak Leaves",
tiles = {"main_leaves_oak.png"},
groups = {snappy = 3},
@ -139,7 +145,13 @@ minetest.register_node("main:log_apple", {
--Apple Tree Leaves
minetest.register_node("main:leaves_apple", {
drawtype = "allfaces",
drawtype = "plantlike",
paramtype = "light",
light_propagates = true,
sunlight_propagates = true,
walkable = false,
climbable = true,
is_ground_content = false,
description = "Apple Tree Leaves",
tiles = {"main_leaves_apple.png"},
groups = {snappy = 3},