summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSokomine <wegwerf@anarres.dyndns.org>2015-08-26 05:43:03 +0200
committerSokomine <wegwerf@anarres.dyndns.org>2015-08-26 05:43:03 +0200
commitb300e9e4b0bbbf3755e5ec6f05caca870fc8e4e6 (patch)
tree552e5511942112a8ba44ac0fc97d3c210ba4f158
parent67ade147e3d82e18de453e4f871e76cdc079b0e4 (diff)
added collision box for the tub
-rw-r--r--nodes_barrel.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/nodes_barrel.lua b/nodes_barrel.lua
index 79a3ec3..4c84983 100644
--- a/nodes_barrel.lua
+++ b/nodes_barrel.lua
@@ -178,6 +178,11 @@ end
fixed = {
{-0.5, -0.5, -0.5, 0.5,-0.1, 0.5},
}},
+ collision_box = {
+ type = "fixed",
+ fixed = {
+ {-0.5, -0.5, -0.5, 0.5,-0.1, 0.5},
+ }},
groups = { tree = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2
},
is_ground_content = false,