summaryrefslogtreecommitdiff
path: root/gold_chest.lua
diff options
context:
space:
mode:
authorMaciej Kasatkin <mk@realbadangel.pl>2012-10-09 11:02:29 +0200
committerMaciej Kasatkin <mk@realbadangel.pl>2012-10-09 11:02:29 +0200
commiteabde42244a4f541c13ee8f39b3542fb26d8af9b (patch)
treece8d367f434ce0d3a8684227396a460529a21efc /gold_chest.lua
parentef174a7deeb362e8519b25b09c7cf45730468d24 (diff)
several fixes, brass added
Diffstat (limited to 'gold_chest.lua')
-rw-r--r--gold_chest.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/gold_chest.lua b/gold_chest.lua
index 401015f..29f1666 100644
--- a/gold_chest.lua
+++ b/gold_chest.lua
@@ -56,7 +56,7 @@ minetest.register_node("technic:gold_chest", {
tiles = {"technic_gold_chest_top.png", "technic_gold_chest_top.png", "technic_gold_chest_side.png",
"technic_gold_chest_side.png", "technic_gold_chest_side.png", "technic_gold_chest_front.png"},
paramtype2 = "facedir",
- groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
+ groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2,tubedevice=1,tubedevice_receiver=1},
legacy_facedir_simple = true,
sounds = default.node_sound_wood_defaults(),
on_construct = function(pos)
@@ -117,7 +117,7 @@ minetest.register_node("technic:gold_chest".. state, {
tiles = {"technic_gold_chest_top.png", "technic_gold_chest_top.png", "technic_gold_chest_side.png",
"technic_gold_chest_side.png", "technic_gold_chest_side.png", "technic_gold_chest_front"..state..".png"},
paramtype2 = "facedir",
- groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, not_in_creative_inventory=1},
+ groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, not_in_creative_inventory=1,tubedevice=1,tubedevice_receiver=1},
legacy_facedir_simple = true,
sounds = default.node_sound_wood_defaults(),
drop = "technic:gold_chest",
@@ -187,8 +187,8 @@ minetest.register_node("technic:gold_locked_chest", {
tiles = {"technic_gold_chest_top.png", "technic_gold_chest_top.png", "technic_gold_chest_side.png",
"technic_gold_chest_side.png", "technic_gold_chest_side.png", "technic_gold_chest_locked.png"},
paramtype2 = "facedir",
- drop = "technic:gold_chest",
- groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
+ drop = "technic:gold_locked_chest",
+ groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2,tubedevice=1,tubedevice_receiver=1},
legacy_facedir_simple = true,
sounds = default.node_sound_wood_defaults(),
after_place_node = function(pos, placer)
@@ -286,8 +286,8 @@ minetest.register_node("technic:gold_locked_chest".. state, {
tiles = {"technic_gold_chest_top.png", "technic_gold_chest_top.png", "technic_gold_chest_side.png",
"technic_gold_chest_side.png", "technic_gold_chest_side.png", "technic_gold_chest_locked"..state..".png"},
paramtype2 = "facedir",
- drop = "technic:gold_chest",
- groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, not_in_creative_inventory=1},
+ drop = "technic:gold_locked_chest",
+ groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, not_in_creative_inventory=1,tubedevice=1,tubedevice_receiver=1},
legacy_facedir_simple = true,
sounds = default.node_sound_wood_defaults(),
after_place_node = function(pos, placer)