Fix wrong description on Moon Brick node

master
kilbith 2015-08-24 14:10:56 +02:00
parent 4506526c91
commit e3e038a10d
2 changed files with 11 additions and 3 deletions

View File

@ -87,7 +87,7 @@ xdecor.register("enchantment_table", {
on_construct = enchanting.construct,
on_receive_fields = enchanting.fields,
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)

View File

@ -375,7 +375,7 @@ minetest.register_tool("xdecor:hammer", {
description = "Hammer",
inventory_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", {
@ -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", {
description = "Multi Shelf",
inventory = {size=24},
@ -544,7 +552,7 @@ xdecor.register("stonepath", {
})
local stonish = {"desertstone_tile", "stone_tile", "stone_rune",
"coalstone_tile", "moonbrick", "hard_clay"}
"coalstone_tile", "hard_clay"}
for _, t in pairs(stonish) do
xdecor.register(t, {