Merge branch 'development' of https://github.com/NPXcoot/nssb into development
This commit is contained in:
commit
81d40817d1
10
nodes.lua
10
nodes.lua
@ -734,6 +734,16 @@ minetest.register_node("nssb:morvalar_block", {
|
|||||||
light_source = 13,
|
light_source = 13,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node("nssb:dis_morvalar_block", {
|
||||||
|
description = "Disactivated Morvalar Block",
|
||||||
|
tiles = {"dis_morvalar_block.png"},
|
||||||
|
on_punch = function(pos, node, puncher)
|
||||||
|
if puncher:get_wielded_item():get_name() == "nssm:superior_energy_globe" then
|
||||||
|
minetest.set_node(pos, {name="nssb:morvalar_block"})
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {"nssb:morvalar_block"},
|
nodenames = {"nssb:morvalar_block"},
|
||||||
neighbors = {"nssb:indistructible_morentir"},
|
neighbors = {"nssb:indistructible_morentir"},
|
||||||
|
Binary file not shown.
BIN
textures/dis_morvalar_block.png
Normal file
BIN
textures/dis_morvalar_block.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 473 B |
Loading…
x
Reference in New Issue
Block a user