ambiance.lua 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. -- LUALOCALS < ---------------------------------------------------------
  2. local nodecore
  3. = nodecore
  4. -- LUALOCALS > ---------------------------------------------------------
  5. nodecore.register_ambiance({
  6. label = "water source ambiance",
  7. nodenames = {"nc_terrain:water_source", "nc_terrain:water_gray_source"},
  8. neighbors = {"air"},
  9. interval = 1,
  10. chance = 1000,
  11. sound_name = "nc_terrain_watery",
  12. sound_gain = 0.05
  13. })
  14. nodecore.register_ambiance({
  15. label = "water flow ambiance",
  16. nodenames = {"nc_terrain:water_flowing", "nc_terrain:water_gray_flowing"},
  17. neighbors = {"air"},
  18. interval = 1,
  19. chance = 50,
  20. sound_name = "nc_terrain_watery",
  21. sound_gain = 0.15
  22. })
  23. nodecore.register_ambiance({
  24. label = "lava source ambiance",
  25. nodenames = {"nc_terrain:lava_source"},
  26. neighbors = {"air"},
  27. interval = 1,
  28. chance = 250,
  29. sound_name = "nc_terrain_bubbly",
  30. sound_gain = 0.2
  31. })
  32. nodecore.register_ambiance({
  33. label = "lava flow ambiance",
  34. nodenames = {"nc_terrain:lava_flowing"},
  35. neighbors = {"air"},
  36. interval = 1,
  37. chance = 10,
  38. sound_name = "nc_terrain_bubbly",
  39. sound_gain = 0.2
  40. })