1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-16 12:40:25 +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

@ -19,6 +19,7 @@ homedecor.register("wardrobe", {
collision_box = wd_cbox,
sounds = default.node_sound_wood_defaults(),
expand = { top="air" },
on_rotate = screwdriver.rotate_simple,
on_construct = function(pos)
local meta = minetest.get_meta(pos)
local skins = {"male1", "male2", "male3", "male4", "male5"}