STOP THE EVIL "LEAVES ARE SOLID" THING
parent
91472283e5
commit
3ba14093d4
|
@ -0,0 +1,2 @@
|
|||
# Leaves are solid blocks...
|
||||
That does not make any sense, right? That's what this mod do!
|
|
@ -0,0 +1,9 @@
|
|||
for name,def in pairs(minetest.registered_nodes) do
|
||||
if def.groups and def.groups.leaves then
|
||||
minetest.log("action","[soft_leaves] Modifying " .. name)
|
||||
local groups = table.copy(def.groups)
|
||||
groups.bouncy = 30
|
||||
groups.fall_damage_add_percent = -30
|
||||
minetest.override_item(name,{groups=groups})
|
||||
end
|
||||
end
|
|
@ -0,0 +1,4 @@
|
|||
name = soft_leaves
|
||||
title = Soft Leaves
|
||||
description = Make leaves a little bit bouncy and soft
|
||||
depends = default
|
Binary file not shown.
After Width: | Height: | Size: 973 KiB |
Loading…
Reference in New Issue