summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LICENSE3
-rw-r--r--init.lua1
-rw-r--r--sounds/crops_flies.oggbin0 -> 147367 bytes
3 files changed, 4 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE
index 5a70ce5..e81368d 100644
--- a/LICENSE
+++ b/LICENSE
@@ -21,6 +21,9 @@ Sounds:
- crops_watercan_entering.ogg
http://freesound.org/people/Quistard/sounds/166824/
CC-BY-3.0
+ - crops_flies.ogg
+ http://www.freesound.org/people/galeku/sounds/46938/
+ CC0-1.0
* Sounds edited with audacity
diff --git a/init.lua b/init.lua
index a7f0989..b8c9d1d 100644
--- a/init.lua
+++ b/init.lua
@@ -275,6 +275,7 @@ crops.die = function(pos)
local node = minetest.get_node(pos)
local plant = find_plant(node)
plant.properties.die(pos)
+ minetest.sound_play("crops_flies", {pos=pos, gain=0.8})
end
minetest.register_tool("crops:watering_can", {
diff --git a/sounds/crops_flies.ogg b/sounds/crops_flies.ogg
new file mode 100644
index 0000000..b5d3941
--- /dev/null
+++ b/sounds/crops_flies.ogg
Binary files differ