]> git.lizzy.rs Git - Crafter.git/blobdiff - mods/treecapitator/init.lua
Add pig mob and various other improvements
[Crafter.git] / mods / treecapitator / init.lua
index 84e0c6ffaa9d03c0f86f27877e6342f0c668c3a3..4fb6efa9ce9202ad1c3e3f10a8bcddb4fb85bae8 100644 (file)
@@ -58,7 +58,7 @@ local function leafdecay_on_timer(pos, def)
                vertical = false,
                texture = "treecapitator.png"
        })
-       minetest.sound_play("leaves", {pos=pos, gain = 1.0, max_hear_distance = 60,pitch = math.random(70,100)/100})
+       minetest.sound_play("leaves", {pos=pos, gain = 0.2, max_hear_distance = 60,pitch = math.random(70,100)/100})
        --random drops
        if math.random() > 0.75 then
                local obj = minetest.add_item(pos,dropper[math.random(1,3)])