Aaron Suen b271ce5302 Fix long-standing fluid ambiance bugs
- Water was churning w/o air due to a typo.
- Include sponge water in ambiance too.
2020-06-21 01:50:52 -04:00

43 lines
1.1 KiB
Lua

-- LUALOCALS < ---------------------------------------------------------
local nodecore
= nodecore
-- LUALOCALS > ---------------------------------------------------------
nodecore.register_ambiance({
label = "water source ambiance",
nodenames = {"nc_terrain:water_source", "nc_terrain:water_gray_source"},
neighbors = {"air"},
interval = 1,
chance = 1000,
sound_name = "nc_terrain_watery",
sound_gain = 0.05
})
nodecore.register_ambiance({
label = "water flow ambiance",
nodenames = {"nc_terrain:water_flowing", "nc_terrain:water_gray_flowing"},
neighbors = {"air"},
interval = 1,
chance = 50,
sound_name = "nc_terrain_watery",
sound_gain = 0.15
})
nodecore.register_ambiance({
label = "lava source ambiance",
nodenames = {"nc_terrain:lava_source"},
neighbors = {"air"},
interval = 1,
chance = 250,
sound_name = "nc_terrain_bubbly",
sound_gain = 0.2
})
nodecore.register_ambiance({
label = "lava flow ambiance",
nodenames = {"nc_terrain:lava_flowing"},
neighbors = {"air"},
interval = 1,
chance = 10,
sound_name = "nc_terrain_bubbly",
sound_gain = 0.2
})