add more sounds

This commit is contained in:
HybridDog 2014-10-04 20:18:05 +02:00
parent 15c1d0cdbd
commit f1e2132904
9 changed files with 12 additions and 0 deletions

View File

@ -3,3 +3,5 @@ rottewiler http://freesound.org/people/Tomlija/sounds/102547/
terrier/random http://freesound.org/people/Anton/sounds/157322/
pug http://freesound.org/people/bspiller5/sounds/180256/
bichonfrise http://freesound.org/people/StephenSaldanha/sounds/121891/
the other sounds are CC0

View File

@ -1,5 +1,13 @@
-- These is a mod that puts dog blocks. I give credit to, and not in a particular order, OldCoder, kaeza, babyface1013, jojoa1997
local dog_sounds = {
footstep = {name="dogblocks_walk", gain=0.2},
dig = {name="dogblocks_dig", gain=0.5},
dug = {name="dogblocks_dug", gain=0.5},
place = {name="dogblocks_place", gain=0.5},
}
--Definatios, b=black bw=brown w=white y=yellow o=orange
--This is for the fur blocks.
@ -20,6 +28,7 @@ for s,l in pairs(colours) do
description = desc.." Fur Block",
tiles = {"dogblocks_fur_"..s..".png"},
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2},
sounds = dog_sounds,
})
minetest.register_craft({
output = name.." 6",
@ -95,6 +104,7 @@ for dog,data in pairs(dogs) do
tiles = {"dogblocks_dog_"..s..".png"},
light_source = 15,
groups = {oddly_breakable_by_hand=3,snappy=2,choppy=2,dog=1},
sounds = dog_sounds,
on_punch = function(pos)
if math.random(randm) == math.random(2) then
minetest.sound_play({name="dogblocks_whine", pos=pos})

BIN
sounds/dogblocks_dig.0.ogg Normal file

Binary file not shown.

BIN
sounds/dogblocks_dig.1.ogg Normal file

Binary file not shown.

BIN
sounds/dogblocks_dig.2.ogg Normal file

Binary file not shown.

BIN
sounds/dogblocks_dug.ogg Normal file

Binary file not shown.

BIN
sounds/dogblocks_place.ogg Normal file

Binary file not shown.

BIN
sounds/dogblocks_walk.0.ogg Normal file

Binary file not shown.

BIN
sounds/dogblocks_walk.1.ogg Normal file

Binary file not shown.