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
부모 246a38832a
커밋 e374b83bc0
20개의 변경된 파일43개의 추가작업 그리고 3개의 파일을 삭제

파일 보기

@@ -30,6 +30,7 @@ minetest.register_node("inbox:empty", {
paramtype2 = "facedir",
groups = {choppy=2,oddly_breakable_by_hand=2},
sounds = default.node_sound_wood_defaults(),
on_rotate = screwdriver.rotate_simple,
after_place_node = function(pos, placer, itemstack)
local meta = minetest.get_meta(pos)
local owner = placer:get_player_name()