forked from VoxeLibre/VoxeLibre
falling nodes: add a new "stack_falling" group
This commit is contained in:
parent
3fc53e08f7
commit
f4eb3c1e19
|
@ -31,6 +31,7 @@ Please read <http://minecraft.gamepedia.com/Breaking> to learn how digging times
|
|||
|
||||
* `crush_after_fall=1`: For falling nodes. These will crush whatever they hit after falling, not dropping as an item
|
||||
* `falling_node_damage=1`: For falling nodes. Hurts any objects it hits while falling. Damage is based on anvils
|
||||
* `stack_falling = 1` : Stack falling nodes on top of each other even if they are not walkable.
|
||||
* `dig_by_water=1`: Blocks with this group will drop when they are near flowing water
|
||||
* `destroy_by_lava_flow=1`: Blocks with this group will be destroyed by flowing lava
|
||||
* `dig_by_piston=1`: Blocks which will drop as an item when pushed by a piston. They also cannot be pulled by sticky pistons
|
||||
|
|
|
@ -159,7 +159,8 @@ minetest.register_entity(":__builtin:falling_node", {
|
|||
|
||||
if bcn and (not bcd or bcd.walkable or
|
||||
(minetest.get_item_group(self.node.name, "float") ~= 0 and
|
||||
bcd.liquidtype ~= "none")) then
|
||||
bcd.liquidtype ~= "none") or
|
||||
minetest.get_item_group(self.node.name, "stack_falling") > 0 ) then
|
||||
if bcd and bcd.leveled and
|
||||
bcn.name == self.node.name then
|
||||
local addlevel = self.node.level
|
||||
|
|
Loading…
Reference in New Issue