12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- -- 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
- })
|