From 180a1db44745e1d09f7463737122e54c63970c4d Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Wed, 25 Nov 2015 22:54:31 -0800 Subject: Fly sounds. These accomodate the fly particles around plants that died. probably gonna freak some players out ;^) --- LICENSE | 3 +++ init.lua | 1 + sounds/crops_flies.ogg | Bin 0 -> 147367 bytes 3 files changed, 4 insertions(+) create mode 100644 sounds/crops_flies.ogg 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 Binary files /dev/null and b/sounds/crops_flies.ogg differ -- cgit v1.2.3