From 7d9aa0cd4b0f05f58543ee338295734454c4c587 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 6 Jun 2016 10:49:50 +0100 Subject: [PATCH] Fixed readme, tweaked jungle detection --- README.md | 16 ++++++++-------- init.lua | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index daab3b5..ed3b1b4 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -Ambience Lite mod for Minetest +Ambience Redo mod for Minetest Based on Immersive Sounds .36 mod by Neuromancer and optimized to run on servers with new fire sounds added when Fire Redo mod is detected... -0.1 - Initial release -0.2 - Code change and new water sounds added -0.3 - Works with Fire Redo mod to provide fire sounds -0.4 - Code optimized -0.5 - Changed to kilbiths smaller sound files and removed canadianloon1, adjusted timings -0.6 - Using new find_nodes_in_area features to count nodes and speed up execution (thanks everamzah) -0.7 - Code tweaks and added Jungle sounds for day and night time +- 0.1 - Initial release +- 0.2 - Code change and new water sounds added +- 0.3 - Works with Fire Redo mod to provide fire sounds +- 0.4 - Code optimized +- 0.5 - Changed to kilbiths smaller sound files and removed canadianloon1, adjusted timings +- 0.6 - Using new find_nodes_in_area features to count nodes and speed up execution (thanks everamzah) +- 0.7 - Code tweaks and added Jungle sounds for day and night time diff --git a/init.lua b/init.lua index 07b26c9..2bae694 100644 --- a/init.lua +++ b/init.lua @@ -207,14 +207,14 @@ print ( if tod > 0.2 and tod < 0.8 then - if num_jungletree > 100 then + if num_jungletree > 90 then return {jungle = jungle} end return {day = day} else - if num_jungletree > 100 then + if num_jungletree > 90 then return {jungle_night = jungle_night} end