From ca5d9b0d50354f8efa5cea6f3cdad1a3fe929efc Mon Sep 17 00:00:00 2001 From: kilbith Date: Tue, 31 Mar 2015 18:38:14 +0200 Subject: [PATCH] Disable sit for benches --- homedecor/exterior.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/homedecor/exterior.lua b/homedecor/exterior.lua index f2cb7d75..8978864f 100644 --- a/homedecor/exterior.lua +++ b/homedecor/exterior.lua @@ -59,10 +59,12 @@ homedecor.register("bench_large_1_left", { fixed = { -0.5, -0.5, -0.09375, 1.5, 0.5, 0.5 } }, expand = { right="homedecor:bench_large_1_right" }, + --[[ on_rightclick = function(pos, node, clicker) pos.y = pos.y-0 -- player's sit position. homedecor.sit_exec(pos, node, clicker) end, + --]] }) 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 } }, expand = { right="homedecor:bench_large_2_right" }, + --[[ on_rightclick = function(pos, node, clicker) pos.y = pos.y-0 -- player's sit position. homedecor.sit_exec(pos, node, clicker) end, + --]] }) 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}, } }, + --[[ on_rightclick = function(pos, node, clicker) pos.y = pos.y-0 -- player's sit position. homedecor.sit_exec(pos, node, clicker) end, + --]] }) homedecor.register("stonepath", {