Make all leaves walkable=false climbable=true so you can climb up through the leaves on trees

pull/8/head
Brandon 2015-07-06 15:08:37 -05:00
parent ee2a33e005
commit 72289a6a19
4 changed files with 12 additions and 0 deletions

View File

@ -309,6 +309,8 @@ minetest.register_node("default:jungleleaves", {
tiles = {"default_jungleleaves.png"},
paramtype = "light",
waving = 1,
walkable=false,
climbable=true,
is_ground_content = false,
groups = {snappy=3, leafdecay=3, flammable=2, leaves=1},
drop = {
@ -374,6 +376,8 @@ minetest.register_node("default:leaves", {
waving = 1,
is_ground_content = false,
groups = {snappy=3, leafdecay=3, flammable=2, leaves=1},
walkable=false,
climbable=true,
drop = {
max_items = 1,
items = {

View File

@ -22,6 +22,8 @@ minetest.register_node("farming_plus:banana_leaves", {
drawtype = "allfaces_optional",
tiles = {"farming_banana_leaves.png"},
paramtype = "light",
walkable=false,
climbable=true,
groups = {snappy=3, leafdecay=3, flammable=2, not_in_creative_inventory=1},
drop = {
max_items = 1,

View File

@ -22,6 +22,8 @@ minetest.register_node("farming_plus:cocoa_leaves", {
drawtype = "allfaces_optional",
tiles = {"farming_banana_leaves.png"},
paramtype = "light",
walkable=false,
climbable=true,
groups = {snappy=3, leafdecay=3, flammable=2, not_in_creative_inventory=1},
drop = {
max_items = 1,

View File

@ -11,6 +11,8 @@ minetest.register_node("mg:savannaleaves", {
visual_scale = 1.3,
tiles = {"mg_dry_leaves.png"},
paramtype = "light",
walkable=false,
climbable=true,
groups = {snappy=3, leafdecay=3, flammable=2, leaves=1},
waving = 1,
drop = {
@ -136,6 +138,8 @@ minetest.register_node("mg:pineleaves", {
drawtype = "allfaces_optional",
visual_scale = 1.3,
tiles = {"mg_pine_leaves.png"},
walkable=false,
climbable=true,
paramtype = "light",
groups = {snappy=3, leafdecay=3, flammable=2, leaves=1},
waving = 1,