Add sound for turf

This commit is contained in:
Wuzzy 2014-06-24 18:18:02 +02:00
parent cc0d5fff03
commit e76f040add
6 changed files with 6 additions and 3 deletions

View File

@ -428,6 +428,9 @@ local sound_sand_coarse = {footstep = {name="pedology_sand_footstep", gain=0.3}}
local sound_gravel_fine = {footstep = {name="pedology_gravel_footstep", gain=1}} local sound_gravel_fine = {footstep = {name="pedology_gravel_footstep", gain=1}}
local sound_gravel_medium = {footstep = {name="pedology_gravel_footstep", gain=1}} local sound_gravel_medium = {footstep = {name="pedology_gravel_footstep", gain=1}}
local sound_gravel_coarse = {footstep = {name="pedology_gravel_footstep", gain=1}} local sound_gravel_coarse = {footstep = {name="pedology_gravel_footstep", gain=1}}
local sound_turf_sapric = {footstep = {name="pedology_turf_footstep", gain=0.2}}
local sound_turf_hemic = {footstep = {name="pedology_turf_footstep", gain=0.24}}
local sound_turf_fibric = {footstep = {name="pedology_turf_footstep", gain=0.28}}
--[[ register sucky and oozing nodes ]] --[[ register sucky and oozing nodes ]]
--[[ ground nodes ]] --[[ ground nodes ]]
@ -539,11 +542,11 @@ pedology.register_liquid("clay_5", "slurry clay", 128, 2, 5, 0, {a=128, r=146, g
--[[ turf ]] --[[ turf ]]
pedology.register_sucky_group("turf_fibric", "fibric turf", "fibric turf cutting", pedology.register_sucky_group("turf_fibric", "fibric turf", "fibric turf cutting",
2, 2, 120, 1.25, {1000, 1100, 1200}, 4, sound_silt_coarse, { [0] = { crumbly = 3, flammable = 1 }, { crumbly = 3 }, {crumbly = 3} } ) 2, 2, 120, 1.25, {1000, 1100, 1200}, 4, sound_turf_fibric, { [0] = { crumbly = 3, flammable = 1 }, { crumbly = 3 }, {crumbly = 3} } )
pedology.register_sucky_group("turf_hemic", "hemic turf", "hemic turf cutting", pedology.register_sucky_group("turf_hemic", "hemic turf", "hemic turf cutting",
2, 2, 180, 1.225, {1100, 1200, 1300}, 3, sound_silt_coarse, { [0] = { crumbly = 3, flammable = 1 }, { crumbly = 3 }, { crumbly = 3 } } ) 2, 2, 180, 1.225, {1100, 1200, 1300}, 3, sound_turf_hemic, { [0] = { crumbly = 3, flammable = 1 }, { crumbly = 3 }, { crumbly = 3 } } )
pedology.register_sucky_group("turf_sapric", "sapric turf", "sapric turf cutting", pedology.register_sucky_group("turf_sapric", "sapric turf", "sapric turf cutting",
2, 2, 240, 1.2, {1200, 1300, 1400}, 2, sound_silt_coarse, { [0] = { crumbly = 3, flammable = 1 }, { crumbly = 3 }, { crumbly = 3 } } ) 2, 2, 240, 1.2, {1200, 1300, 1400}, 2, sound_turf_sapric, { [0] = { crumbly = 3, flammable = 1 }, { crumbly = 3 }, { crumbly = 3 } } )
minetest.register_craft({ minetest.register_craft({
type = "fuel", type = "fuel",

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.