Fix wrong description on Moon Brick node
This commit is contained in:
parent
4506526c91
commit
e3e038a10d
@ -87,7 +87,7 @@ xdecor.register("enchantment_table", {
|
|||||||
on_construct = enchanting.construct,
|
on_construct = enchanting.construct,
|
||||||
on_receive_fields = enchanting.fields,
|
on_receive_fields = enchanting.fields,
|
||||||
allow_metadata_inventory_put = enchanting.put,
|
allow_metadata_inventory_put = enchanting.put,
|
||||||
allow_metadata_inventory_move = function(_,_,_,_,_,_,_) return 0 end
|
allow_metadata_inventory_move = function(...) return 0 end
|
||||||
})
|
})
|
||||||
|
|
||||||
function enchanting.register_enchtools(init, m, def)
|
function enchanting.register_enchtools(init, m, def)
|
||||||
|
12
nodes.lua
12
nodes.lua
@ -375,7 +375,7 @@ minetest.register_tool("xdecor:hammer", {
|
|||||||
description = "Hammer",
|
description = "Hammer",
|
||||||
inventory_image = "xdecor_hammer.png",
|
inventory_image = "xdecor_hammer.png",
|
||||||
wield_image = "xdecor_hammer.png",
|
wield_image = "xdecor_hammer.png",
|
||||||
on_use = function(_,_,_) do return end end
|
on_use = function(...) do return end end
|
||||||
})
|
})
|
||||||
|
|
||||||
xdecor.register("ivy", {
|
xdecor.register("ivy", {
|
||||||
@ -485,6 +485,14 @@ xdecor.register("metal_cabinet", {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
xdecor.register("moonbrick", {
|
||||||
|
drawtype = "normal",
|
||||||
|
description = "Moon Brick",
|
||||||
|
tiles = {"xdecor_moonbrick.png"},
|
||||||
|
groups = {cracky=2},
|
||||||
|
sounds = sound.stone
|
||||||
|
})
|
||||||
|
|
||||||
xdecor.register("multishelf", {
|
xdecor.register("multishelf", {
|
||||||
description = "Multi Shelf",
|
description = "Multi Shelf",
|
||||||
inventory = {size=24},
|
inventory = {size=24},
|
||||||
@ -544,7 +552,7 @@ xdecor.register("stonepath", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
local stonish = {"desertstone_tile", "stone_tile", "stone_rune",
|
local stonish = {"desertstone_tile", "stone_tile", "stone_rune",
|
||||||
"coalstone_tile", "moonbrick", "hard_clay"}
|
"coalstone_tile", "hard_clay"}
|
||||||
|
|
||||||
for _, t in pairs(stonish) do
|
for _, t in pairs(stonish) do
|
||||||
xdecor.register(t, {
|
xdecor.register(t, {
|
||||||
|
Loading…
Reference in New Issue
Block a user