1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-20 22:30:23 +02:00

Disallow partially or entirely some items to rotate with the screwdriver

This commit is contained in:
kilbith
2015-05-14 12:25:11 +02:00
parent 246a38832a
commit e374b83bc0
20 changed files with 43 additions and 3 deletions

View File

@ -18,6 +18,7 @@ homedecor.register("refrigerator_steel", {
size=50,
lockable=true,
},
on_rotate = screwdriver.rotate_simple
})
-- white, enameled fridge
@ -36,6 +37,7 @@ homedecor.register("refrigerator_white", {
size=50,
lockable=true
},
on_rotate = screwdriver.rotate_simple
})
minetest.register_alias("homedecor:refrigerator_white_bottom", "homedecor:refrigerator_white")
@ -116,7 +118,8 @@ homedecor.register("coffee_maker", {
walkable = false,
groups = {snappy=3},
selection_box = cm_cbox,
node_box = cm_cbox
node_box = cm_cbox,
on_rotate = screwdriver.disallow
})
local fdir_to_steampos = {