mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
Disable sit for benches
This commit is contained in:
parent
b01d3b2b4f
commit
ca5d9b0d50
@ -59,10 +59,12 @@ homedecor.register("bench_large_1_left", {
|
|||||||
fixed = { -0.5, -0.5, -0.09375, 1.5, 0.5, 0.5 }
|
fixed = { -0.5, -0.5, -0.09375, 1.5, 0.5, 0.5 }
|
||||||
},
|
},
|
||||||
expand = { right="homedecor:bench_large_1_right" },
|
expand = { right="homedecor:bench_large_1_right" },
|
||||||
|
--[[
|
||||||
on_rightclick = function(pos, node, clicker)
|
on_rightclick = function(pos, node, clicker)
|
||||||
pos.y = pos.y-0 -- player's sit position.
|
pos.y = pos.y-0 -- player's sit position.
|
||||||
homedecor.sit_exec(pos, node, clicker)
|
homedecor.sit_exec(pos, node, clicker)
|
||||||
end,
|
end,
|
||||||
|
--]]
|
||||||
})
|
})
|
||||||
|
|
||||||
homedecor.register("bench_large_1_right", {
|
homedecor.register("bench_large_1_right", {
|
||||||
@ -129,10 +131,12 @@ homedecor.register("bench_large_2_left", {
|
|||||||
fixed = { -0.5, -0.5, -0.15625, 1.5, 0.5, 0.5 }
|
fixed = { -0.5, -0.5, -0.15625, 1.5, 0.5, 0.5 }
|
||||||
},
|
},
|
||||||
expand = { right="homedecor:bench_large_2_right" },
|
expand = { right="homedecor:bench_large_2_right" },
|
||||||
|
--[[
|
||||||
on_rightclick = function(pos, node, clicker)
|
on_rightclick = function(pos, node, clicker)
|
||||||
pos.y = pos.y-0 -- player's sit position.
|
pos.y = pos.y-0 -- player's sit position.
|
||||||
homedecor.sit_exec(pos, node, clicker)
|
homedecor.sit_exec(pos, node, clicker)
|
||||||
end,
|
end,
|
||||||
|
--]]
|
||||||
})
|
})
|
||||||
|
|
||||||
homedecor.register("bench_large_2_right", {
|
homedecor.register("bench_large_2_right", {
|
||||||
@ -268,10 +272,12 @@ homedecor.register("simple_bench", {
|
|||||||
{ 0.3, -0.5, 0.1, 0.4, -0.15, 0.3},
|
{ 0.3, -0.5, 0.1, 0.4, -0.15, 0.3},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
--[[
|
||||||
on_rightclick = function(pos, node, clicker)
|
on_rightclick = function(pos, node, clicker)
|
||||||
pos.y = pos.y-0 -- player's sit position.
|
pos.y = pos.y-0 -- player's sit position.
|
||||||
homedecor.sit_exec(pos, node, clicker)
|
homedecor.sit_exec(pos, node, clicker)
|
||||||
end,
|
end,
|
||||||
|
--]]
|
||||||
})
|
})
|
||||||
|
|
||||||
homedecor.register("stonepath", {
|
homedecor.register("stonepath", {
|
||||||
|
Loading…
Reference in New Issue
Block a user