summaryrefslogtreecommitdiff
path: root/homedecor
diff options
context:
space:
mode:
Diffstat (limited to 'homedecor')
-rw-r--r--homedecor/bedroom.lua35
1 files changed, 17 insertions, 18 deletions
diff --git a/homedecor/bedroom.lua b/homedecor/bedroom.lua
index a5c5a4f..94f886d 100644
--- a/homedecor/bedroom.lua
+++ b/homedecor/bedroom.lua
@@ -67,12 +67,11 @@ homedecor.register("bed_regular", {
homedecor.bed_expansion(pos, clicker, itemstack, pointed_thing, true)
return itemstack
else
- if minetest.get_modpath("beds") then
- beds.on_rightclick(pos, clicker)
- end
+-- if minetest.get_modpath("beds") then
+-- beds.on_rightclick(pos, clicker)
+-- end
return itemstack
end
- return itemstack
end
})
@@ -99,13 +98,13 @@ homedecor.register("bed_extended", {
unifieddyes.after_dig_node(pos, oldnode, oldmetadata, digger)
homedecor.unextend_bed(pos)
end,
- on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
- local itemname = itemstack:get_name()
- if minetest.get_modpath("beds") then
- beds.on_rightclick(pos, clicker)
- end
- return itemstack
- end,
+-- on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
+-- local itemname = itemstack:get_name()
+-- if minetest.get_modpath("beds") then
+-- beds.on_rightclick(pos, clicker)
+-- end
+-- return itemstack
+-- end,
drop = "homedecor:bed_regular"
})
@@ -140,13 +139,13 @@ homedecor.register("bed_kingsize", {
inv:add_item("main", "homedecor:bed_regular 2")
end
end,
- on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
- local itemname = itemstack:get_name()
- if minetest.get_modpath("beds") then
- beds.on_rightclick(pos, clicker)
- end
- return itemstack
- end
+-- on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
+-- local itemname = itemstack:get_name()
+-- if minetest.get_modpath("beds") then
+-- beds.on_rightclick(pos, clicker)
+-- end
+-- return itemstack
+-- end
})
for _, w in pairs({ N_("mahogany"), N_("oak") }) do