summaryrefslogtreecommitdiff
path: root/homedecor
diff options
context:
space:
mode:
Diffstat (limited to 'homedecor')
-rw-r--r--homedecor/books.lua2
-rw-r--r--homedecor/furniture.lua3
-rw-r--r--homedecor/lighting.lua3
3 files changed, 7 insertions, 1 deletions
diff --git a/homedecor/books.lua b/homedecor/books.lua
index 891a6ef..9236a25 100644
--- a/homedecor/books.lua
+++ b/homedecor/books.lua
@@ -86,6 +86,7 @@ homedecor.register("book", {
unifieddyes.fix_rotation_nsew(pos, placer, itemstack, pointed_thing)
return itemstack
end,
+ on_rotate = unifieddyes.fix_after_screwdriver_nsew,
on_dig = book_dig,
selection_box = {
type = "fixed",
@@ -107,6 +108,7 @@ homedecor.register("book_open", {
palette = "unifieddyes_palette_colorwallmounted.png",
after_place_node = unifieddyes.fix_rotation_nsew,
after_dig_node = unifieddyes.after_dig_node,
+ on_rotate = unifieddyes.fix_after_screwdriver_nsew,
on_dig = book_dig,
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
local meta = minetest.get_meta(pos)
diff --git a/homedecor/furniture.lua b/homedecor/furniture.lua
index 20c76fb..66098e0 100644
--- a/homedecor/furniture.lua
+++ b/homedecor/furniture.lua
@@ -59,6 +59,7 @@ homedecor.register("kitchen_chair_wood", {
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, ud_param2_colorable = 1},
sounds = default.node_sound_wood_defaults(),
after_place_node = unifieddyes.fix_rotation_nsew,
+ on_rotate = unifieddyes.fix_after_screwdriver_nsew,
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
pos.y = pos.y+0 -- where do I put my ass ?
homedecor.sit(pos, node, clicker)
@@ -82,6 +83,7 @@ homedecor.register("kitchen_chair_padded", {
sounds = default.node_sound_wood_defaults(),
after_place_node = unifieddyes.fix_rotation_nsew,
after_dig_node = unifieddyes.after_dig_node,
+ on_rotate = unifieddyes.fix_after_screwdriver_nsew,
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
pos.y = pos.y+0 -- where do I put my ass ?
homedecor.sit(pos, node, clicker)
@@ -105,6 +107,7 @@ homedecor.register("armchair", {
node_box = ac_cbox,
after_place_node = unifieddyes.fix_rotation_nsew,
after_dig_node = unifieddyes.after_dig_node,
+ on_rotate = unifieddyes.fix_after_screwdriver_nsew,
})
local ob_cbox = {
diff --git a/homedecor/lighting.lua b/homedecor/lighting.lua
index 8fbc68b..d89a7df 100644
--- a/homedecor/lighting.lua
+++ b/homedecor/lighting.lua
@@ -494,7 +494,8 @@ homedecor.register("desk_lamp", {
walkable = false,
groups = {snappy=3, ud_param2_colorable = 1},
after_place_node = unifieddyes.fix_rotation_nsew,
- after_dig_node = unifieddyes.after_dig_node
+ after_dig_node = unifieddyes.after_dig_node,
+ on_rotate = unifieddyes.fix_after_screwdriver_nsew
})
-- "kitchen"/"dining room" ceiling lamp