added immovable group

This commit is contained in:
Piezo_ 2019-05-23 20:02:01 +00:00
parent f58a58ff52
commit 5c32db6181

View File

@ -103,7 +103,7 @@ kotatsu_table.register_table = function(name, desc, base, tiles, top, top_tiles,
node_box = kotatsu_table.blanket_side_nodebox,
diggable=false,
on_rightclick = kotatsu_table.toggle_sitting,
groups={not_in_creative_inventory=1},
groups={not_in_creative_inventory=1,immovable=2},
on_blast = function() end,
})
@ -119,7 +119,7 @@ kotatsu_table.register_table = function(name, desc, base, tiles, top, top_tiles,
node_box = kotatsu_table.blanket_corner_nodebox,
diggable=false,
on_rightclick = kotatsu_table.toggle_sitting,
groups={not_in_creative_inventory=1},
groups={not_in_creative_inventory=1,immovable=2},
on_blast = function() end,
})
@ -130,7 +130,7 @@ kotatsu_table.register_table = function(name, desc, base, tiles, top, top_tiles,
drawtype = "nodebox",
tiles = top_tiles,
node_box = kotatsu_table.tabletop_nodebox,
groups={choppy=3,oddly_breakable_by_hand=2},
groups={choppy=3,oddly_breakable_by_hand=2,immovable=2},
on_construct = function(pos)
local npos
for _,p in ipairs(kotatsu_table.pos_check) do