forked from Mirrorlandia_minetest/mesecons
Added more sounds to noteblocks, see the documentation on http://mesecons.net for more information
This commit is contained in:
parent
30468b09cf
commit
11cf727bfb
@ -61,9 +61,15 @@ mesecon.noteblock_play = function (pos, param2)
|
|||||||
if block_below_name == "default:glass" then
|
if block_below_name == "default:glass" then
|
||||||
soundname="mesecons_noteblock_hihat"
|
soundname="mesecons_noteblock_hihat"
|
||||||
end
|
end
|
||||||
|
if block_below_name == "default:steelblock" then
|
||||||
|
soundname=soundname.."2" -- Go up an octave.
|
||||||
|
end
|
||||||
if block_below_name == "default:stone" then
|
if block_below_name == "default:stone" then
|
||||||
soundname="mesecons_noteblock_kick"
|
soundname="mesecons_noteblock_kick"
|
||||||
end
|
end
|
||||||
|
if block_below_name == "default:lava_source" then
|
||||||
|
soundname="fire_large"
|
||||||
|
end
|
||||||
if block_below_name == "default:chest" then
|
if block_below_name == "default:chest" then
|
||||||
soundname="mesecons_noteblock_snare"
|
soundname="mesecons_noteblock_snare"
|
||||||
end
|
end
|
||||||
@ -73,6 +79,9 @@ mesecon.noteblock_play = function (pos, param2)
|
|||||||
if block_below_name == "default:wood" then
|
if block_below_name == "default:wood" then
|
||||||
soundname="mesecons_noteblock_litecrash"
|
soundname="mesecons_noteblock_litecrash"
|
||||||
end
|
end
|
||||||
|
if block_below_name == "default:coalblock" then
|
||||||
|
soundname="tnt_explode"
|
||||||
|
end
|
||||||
minetest.sound_play(soundname,
|
minetest.sound_play(soundname,
|
||||||
{pos = pos, gain = 1.0, max_hear_distance = 32,})
|
{pos = pos, gain = 1.0, max_hear_distance = 32,})
|
||||||
end
|
end
|
||||||
|
BIN
mesecons_noteblock/sounds/mesecons_noteblock_a2.ogg
Normal file
BIN
mesecons_noteblock/sounds/mesecons_noteblock_a2.ogg
Normal file
Binary file not shown.
BIN
mesecons_noteblock/sounds/mesecons_noteblock_asharp2.ogg
Normal file
BIN
mesecons_noteblock/sounds/mesecons_noteblock_asharp2.ogg
Normal file
Binary file not shown.
BIN
mesecons_noteblock/sounds/mesecons_noteblock_b2.ogg
Normal file
BIN
mesecons_noteblock/sounds/mesecons_noteblock_b2.ogg
Normal file
Binary file not shown.
BIN
mesecons_noteblock/sounds/mesecons_noteblock_c2.ogg
Normal file
BIN
mesecons_noteblock/sounds/mesecons_noteblock_c2.ogg
Normal file
Binary file not shown.
BIN
mesecons_noteblock/sounds/mesecons_noteblock_csharp2.ogg
Normal file
BIN
mesecons_noteblock/sounds/mesecons_noteblock_csharp2.ogg
Normal file
Binary file not shown.
BIN
mesecons_noteblock/sounds/mesecons_noteblock_d2.ogg
Normal file
BIN
mesecons_noteblock/sounds/mesecons_noteblock_d2.ogg
Normal file
Binary file not shown.
BIN
mesecons_noteblock/sounds/mesecons_noteblock_dsharp2.ogg
Normal file
BIN
mesecons_noteblock/sounds/mesecons_noteblock_dsharp2.ogg
Normal file
Binary file not shown.
BIN
mesecons_noteblock/sounds/mesecons_noteblock_e2.ogg
Normal file
BIN
mesecons_noteblock/sounds/mesecons_noteblock_e2.ogg
Normal file
Binary file not shown.
BIN
mesecons_noteblock/sounds/mesecons_noteblock_f2.ogg
Normal file
BIN
mesecons_noteblock/sounds/mesecons_noteblock_f2.ogg
Normal file
Binary file not shown.
BIN
mesecons_noteblock/sounds/mesecons_noteblock_fsharp2.ogg
Normal file
BIN
mesecons_noteblock/sounds/mesecons_noteblock_fsharp2.ogg
Normal file
Binary file not shown.
BIN
mesecons_noteblock/sounds/mesecons_noteblock_g2.ogg
Normal file
BIN
mesecons_noteblock/sounds/mesecons_noteblock_g2.ogg
Normal file
Binary file not shown.
BIN
mesecons_noteblock/sounds/mesecons_noteblock_gsharp2.ogg
Normal file
BIN
mesecons_noteblock/sounds/mesecons_noteblock_gsharp2.ogg
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user