forked from VoxeLibre/VoxeLibre
Patch mcl_mangrove for pickblock
This commit is contained in:
parent
7a56939b08
commit
f3ee8d1d72
|
@ -134,6 +134,7 @@ minetest.register_node("mcl_mangrove:hanging_propagule_1", {
|
||||||
tiles = {"mcl_mangrove_propagule_hanging.png"},
|
tiles = {"mcl_mangrove_propagule_hanging.png"},
|
||||||
inventory_image = "mcl_mangrove_propagule.png",
|
inventory_image = "mcl_mangrove_propagule.png",
|
||||||
wield_image = "mcl_mangrove_propagule.png",
|
wield_image = "mcl_mangrove_propagule.png",
|
||||||
|
_vl_pickblock = "mcl_mangrove:propagule",
|
||||||
})
|
})
|
||||||
local propagule_rooted_nodes = {}
|
local propagule_rooted_nodes = {}
|
||||||
for _,root in pairs(propagule_water_nodes) do
|
for _,root in pairs(propagule_water_nodes) do
|
||||||
|
@ -172,6 +173,7 @@ for _,root in pairs(propagule_water_nodes) do
|
||||||
_mcl_hardness = 0,
|
_mcl_hardness = 0,
|
||||||
_mcl_blast_resistance = 0,
|
_mcl_blast_resistance = 0,
|
||||||
_mcl_silk_touch_drop = true,
|
_mcl_silk_touch_drop = true,
|
||||||
|
_vl_pickblock = "mcl_mangrove:propagule",
|
||||||
})
|
})
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -240,6 +242,7 @@ local wlroots = {
|
||||||
minetest.sound_play("fire_extinguish_flame", {pos = pos, gain = 0.25, max_hear_distance = 16}, true)
|
minetest.sound_play("fire_extinguish_flame", {pos = pos, gain = 0.25, max_hear_distance = 16}, true)
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
_vl_pickblock = "mcl_mangrove:mangrove_roots",
|
||||||
}
|
}
|
||||||
local rwlroots = table.copy(wlroots)
|
local rwlroots = table.copy(wlroots)
|
||||||
-- FIXME luacheck complains that this is a repeated definition of water_tex.
|
-- FIXME luacheck complains that this is a repeated definition of water_tex.
|
||||||
|
|
Loading…
Reference in New Issue