From 174ef642f866594b240014d4ff2e49cc649f759c Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Fri, 5 Dec 2014 19:03:30 +0100 Subject: [PATCH] Modifications on moretrees - Modifications about palm trees' leaves to be non-walkable. All the leaves are now walkable except them (aka moretrees:palm_leaves) --- mods/moretrees/node_defs.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/moretrees/node_defs.lua b/mods/moretrees/node_defs.lua index ec5d683c..9f3095d9 100644 --- a/mods/moretrees/node_defs.lua +++ b/mods/moretrees/node_defs.lua @@ -175,7 +175,6 @@ for i in ipairs(moretrees.treelist) do groups = {snappy=3, flammable=2, leaves=1, moretrees_leaves=1}, sounds = default.node_sound_leaves_defaults(), - walkable = false, drop = { max_items = 1, items = { @@ -437,3 +436,5 @@ minetest.register_alias("conifers:leaves", "moretrees:fir_leaves") minetest.register_alias("conifers:leaves_special", "moretrees:fir_leaves_bright") minetest.register_alias("conifers:sapling", "moretrees:fir_sapling") +-- Overriding moretrees' palm leaves: +minetest.override_item("moretrees:palm_leaves",{walkable = false}) \ No newline at end of file