added immovable group
This commit is contained in:
parent
f58a58ff52
commit
5c32db6181
6
init.lua
6
init.lua
|
@ -103,7 +103,7 @@ kotatsu_table.register_table = function(name, desc, base, tiles, top, top_tiles,
|
||||||
node_box = kotatsu_table.blanket_side_nodebox,
|
node_box = kotatsu_table.blanket_side_nodebox,
|
||||||
diggable=false,
|
diggable=false,
|
||||||
on_rightclick = kotatsu_table.toggle_sitting,
|
on_rightclick = kotatsu_table.toggle_sitting,
|
||||||
groups={not_in_creative_inventory=1},
|
groups={not_in_creative_inventory=1,immovable=2},
|
||||||
on_blast = function() end,
|
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,
|
node_box = kotatsu_table.blanket_corner_nodebox,
|
||||||
diggable=false,
|
diggable=false,
|
||||||
on_rightclick = kotatsu_table.toggle_sitting,
|
on_rightclick = kotatsu_table.toggle_sitting,
|
||||||
groups={not_in_creative_inventory=1},
|
groups={not_in_creative_inventory=1,immovable=2},
|
||||||
on_blast = function() end,
|
on_blast = function() end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ kotatsu_table.register_table = function(name, desc, base, tiles, top, top_tiles,
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
tiles = top_tiles,
|
tiles = top_tiles,
|
||||||
node_box = kotatsu_table.tabletop_nodebox,
|
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)
|
on_construct = function(pos)
|
||||||
local npos
|
local npos
|
||||||
for _,p in ipairs(kotatsu_table.pos_check) do
|
for _,p in ipairs(kotatsu_table.pos_check) do
|
||||||
|
|
Ŝarĝante…
Reference in New Issue