We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0231585 commit cb85f8fCopy full SHA for cb85f8f
1 file changed
torches.lua
@@ -42,6 +42,8 @@ for i in ipairs(colour_list) do
42
itemstack = minetest.item_place(fakestack, placer, pointed_thing)
43
itemstack:set_name("abritorch:torch_"..colour)
44
45
+ core.sound_play("default_place_node", {gain = 0.5, pos = pointed_thing.above}, true)
46
+
47
return itemstack
48
end
49
})
@@ -73,6 +75,7 @@ for i in ipairs(colour_list) do
73
75
wall_top = {-1/16, -2/16, -1/16, 1/16, 0.5, 1/16},
74
76
wall_bottom = {-1/16, -0.5, -1/16, 1/16, 2/16, 1/16},
77
},
78
+ sounds = default.node_sound_wood_defaults(),
79
80
81
minetest.register_node("abritorch:wall_"..colour, {
@@ -102,6 +105,7 @@ for i in ipairs(colour_list) do
102
105
wall_bottom = {-0.1, -0.5, -0.1, 0.1, 0.1, 0.1},
103
106
wall_side = {-0.5, -0.3, -0.1, -0.2, 0.3, 0.1},
104
107
108
109
110
111
minetest.register_abm({
0 commit comments