add sounds
This commit is contained in:
parent
94247f01d0
commit
ce16b7fd5e
@ -27,6 +27,7 @@ Sampling Plus 1.0
|
||||
Unknown License:
|
||||
|
||||
— irc(freenode.net)
|
||||
— footstep sounds edited from default gravel sounds
|
||||
|
||||
|
||||
TODO:
|
||||
|
8
init.lua
8
init.lua
@ -7,6 +7,12 @@ local info = true
|
||||
local nyanland={}
|
||||
|
||||
--Cloudstone
|
||||
local cloudstone_sounds = {
|
||||
dug = {name="default_dug_node", gain=0.25},
|
||||
place = {name="default_place_node_hard", gain=0.1},
|
||||
footstep = {name="nyanland_cloud_footstep", gain=0.05}
|
||||
}
|
||||
|
||||
minetest.register_node("nyanland:cloudstone", {
|
||||
tiles = {"nyanland_cloudstone.png"},
|
||||
inventory_image = minetest.inventorycube("nyanland_cloudstone.png"),
|
||||
@ -14,6 +20,7 @@ minetest.register_node("nyanland:cloudstone", {
|
||||
sunlight_propagates = true,
|
||||
light_source = 10,
|
||||
groups = {dig_immediate = 3},
|
||||
sounds = cloudstone_sounds
|
||||
})
|
||||
|
||||
minetest.register_node("nyanland:cloudstone_var", {
|
||||
@ -24,6 +31,7 @@ minetest.register_node("nyanland:cloudstone_var", {
|
||||
drop = '',
|
||||
light_source = 10,
|
||||
groups = {dig_immediate = 3},
|
||||
sounds = cloudstone_sounds
|
||||
})
|
||||
|
||||
|
||||
|
BIN
sounds/nyanland_cloud_footstep.1.ogg
Normal file
BIN
sounds/nyanland_cloud_footstep.1.ogg
Normal file
Binary file not shown.
BIN
sounds/nyanland_cloud_footstep.2.ogg
Normal file
BIN
sounds/nyanland_cloud_footstep.2.ogg
Normal file
Binary file not shown.
BIN
sounds/nyanland_cloud_footstep.3.ogg
Normal file
BIN
sounds/nyanland_cloud_footstep.3.ogg
Normal file
Binary file not shown.
BIN
sounds/nyanland_cloud_footstep.4.ogg
Normal file
BIN
sounds/nyanland_cloud_footstep.4.ogg
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user