mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
minor changed (see long description)
This commit makes charged respawn anchors light sources, all respawn anchors can no longer be pushed by pistons and always drop the uncharged one
This commit is contained in:
parent
6806ea311d
commit
31a8ddabb8
@ -56,8 +56,9 @@ for i=0,4 do
|
|||||||
on_rightclick = rightclick,
|
on_rightclick = rightclick,
|
||||||
groups = {pickaxey=1, material_stone=1},
|
groups = {pickaxey=1, material_stone=1},
|
||||||
_mcl_hardness = 22.5,
|
_mcl_hardness = 22.5,
|
||||||
sounds= mcl_sounds.node_sound_stone_defaults()
|
sounds= mcl_sounds.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
mesecon.register_mvps_stopper("mcl_beds:respawn_anchor")
|
||||||
else
|
else
|
||||||
minetest.register_node("mcl_beds:respawn_anchor_charged_"..i,{
|
minetest.register_node("mcl_beds:respawn_anchor_charged_"..i,{
|
||||||
description=S("Respawn Anchor"),
|
description=S("Respawn Anchor"),
|
||||||
@ -71,8 +72,16 @@ for i=0,4 do
|
|||||||
on_rightclick = rightclick,
|
on_rightclick = rightclick,
|
||||||
groups = {pickaxey=1, material_stone=1, not_in_creative_inventory=1},
|
groups = {pickaxey=1, material_stone=1, not_in_creative_inventory=1},
|
||||||
_mcl_hardness = 22.5,
|
_mcl_hardness = 22.5,
|
||||||
sounds= mcl_sounds.node_sound_stone_defaults()
|
sounds= mcl_sounds.node_sound_stone_defaults(),
|
||||||
|
drop = {
|
||||||
|
max_items = 1,
|
||||||
|
items = {
|
||||||
|
{items = {"mcl_beds:respawn_anchor"}},
|
||||||
|
}
|
||||||
|
},
|
||||||
|
light_source = (4 * i) - 1
|
||||||
})
|
})
|
||||||
|
mesecon.register_mvps_stopper("mcl_beds:respawn_anchor_charged_"..i)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user