mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-06-28 06:11:47 +02:00
Updated pipeworks, mesecons, and fixed typo
- Fixing missing comma in building_blocks:sticks' new craft recipe - Updated pipeworks and mesecons : if changed breaks, revert this commit (works well on local server)
This commit is contained in:
@ -61,9 +61,15 @@ mesecon.noteblock_play = function (pos, param2)
|
||||
if block_below_name == "default:glass" then
|
||||
soundname="mesecons_noteblock_hihat"
|
||||
end
|
||||
if block_below_name == "default:steelblock" then
|
||||
soundname=soundname.."2" -- Go up an octave.
|
||||
end
|
||||
if block_below_name == "default:stone" then
|
||||
soundname="mesecons_noteblock_kick"
|
||||
end
|
||||
if block_below_name == "default:lava_source" then
|
||||
soundname="fire_large"
|
||||
end
|
||||
if block_below_name == "default:chest" then
|
||||
soundname="mesecons_noteblock_snare"
|
||||
end
|
||||
@ -73,6 +79,9 @@ mesecon.noteblock_play = function (pos, param2)
|
||||
if block_below_name == "default:wood" then
|
||||
soundname="mesecons_noteblock_litecrash"
|
||||
end
|
||||
if block_below_name == "default:coalblock" then
|
||||
soundname="tnt_explode"
|
||||
end
|
||||
minetest.sound_play(soundname,
|
||||
{pos = pos, gain = 1.0, max_hear_distance = 32,})
|
||||
end
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user