1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-22 16:10:18 +01:00
This commit is contained in:
unknown 2021-11-27 20:51:47 -05:00
parent 32a32fa003
commit 63ad77e242

View File

@ -31,7 +31,7 @@ local kbed_cbox = {
} }
-- local bed_on_rightclick = minetest.registered_nodes["beds:bed"].on_rightclick local bed_on_rightclick = minetest.registered_nodes["beds:bed"].on_rightclick
homedecor.register("bed_regular", { homedecor.register("bed_regular", {
mesh = "homedecor_bed_regular.obj", mesh = "homedecor_bed_regular.obj",
@ -67,9 +67,9 @@ homedecor.register("bed_regular", {
if itemname == "homedecor:bed_regular" then if itemname == "homedecor:bed_regular" then
homedecor.bed_expansion(pos, clicker, itemstack, pointed_thing, true) homedecor.bed_expansion(pos, clicker, itemstack, pointed_thing, true)
return itemstack return itemstack
-- else else
-- bed_on_rightclick(pos, node, clicker) bed_on_rightclick(pos, node, clicker)
-- return itemstack return itemstack
end end
end end
}) })
@ -96,10 +96,10 @@ homedecor.register("bed_extended", {
homedecor.unextend_bed(pos) homedecor.unextend_bed(pos)
end, end,
on_dig = unifieddyes.on_dig, on_dig = unifieddyes.on_dig,
-- on_rightclick = function(pos, node, clicker, itemstack, pointed_thing) on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
-- bed_on_rightclick(pos, node, clicker) bed_on_rightclick(pos, node, clicker)
-- return itemstack return itemstack
-- end, end,
drop = "homedecor:bed_regular" drop = "homedecor:bed_regular"
}) })
@ -133,10 +133,10 @@ homedecor.register("bed_kingsize", {
end end
end, end,
on_dig = unifieddyes.on_dig, on_dig = unifieddyes.on_dig,
-- on_rightclick = function(pos, node, clicker, itemstack, pointed_thing) on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
-- bed_on_rightclick(pos, node, clicker) bed_on_rightclick(pos, node, clicker)
-- return itemstack return itemstack
-- end, end,
}) })
for w, d in pairs({ ["mahogany"] = S("mahogany"), ["oak"] = S("oak") }) do for w, d in pairs({ ["mahogany"] = S("mahogany"), ["oak"] = S("oak") }) do