add transportation sounds
This commit is contained in:
parent
b5f33b0fee
commit
89ca0b6b16
@ -19,5 +19,6 @@ read_globals = {
|
||||
"player_monoids",
|
||||
"epic",
|
||||
"player_monoids",
|
||||
"sfinv"
|
||||
"sfinv",
|
||||
"soundblock"
|
||||
}
|
||||
|
4
init.lua
4
init.lua
@ -19,6 +19,10 @@ if minetest.get_modpath("player_monoids") then
|
||||
dofile(MP.."/center_fast_walk.lua")
|
||||
end
|
||||
|
||||
if minetest.get_modpath("soundblock") then
|
||||
dofile(MP.."/sounds.lua")
|
||||
end
|
||||
|
||||
if minetest.settings:get_bool("enable_integration_test") then
|
||||
dofile(MP.."/integration_test.lua")
|
||||
end
|
||||
|
2
mod.conf
2
mod.conf
@ -1,3 +1,3 @@
|
||||
name = damocles_custom
|
||||
depends = default
|
||||
optional_depends = travelnet,player_monoids,unified_inventory,sfinv
|
||||
optional_depends = travelnet,player_monoids,unified_inventory,sfinv,soundblock
|
||||
|
@ -7,3 +7,4 @@ Damocles custom mod (this and that)
|
||||
# Licenses
|
||||
|
||||
* `textures/hyperloop_door1IN.png` CC0 https://github.com/joe7575/Minetest-Hyperloop
|
||||
* `sounds/*` CC0 https://github.com/joe7575/Minetest-Hyperloop
|
||||
|
17
sounds.lua
Normal file
17
sounds.lua
Normal file
@ -0,0 +1,17 @@
|
||||
soundblock.register({
|
||||
filename = "up2",
|
||||
key = "transport_up",
|
||||
name = "Transportation up"
|
||||
})
|
||||
|
||||
soundblock.register({
|
||||
filename = "normal2",
|
||||
key = "transport_normal",
|
||||
name = "Transportation normal"
|
||||
})
|
||||
|
||||
soundblock.register({
|
||||
filename = "down2",
|
||||
key = "transport_down",
|
||||
name = "Transportation down"
|
||||
})
|
BIN
sounds/down2.ogg
Normal file
BIN
sounds/down2.ogg
Normal file
Binary file not shown.
BIN
sounds/normal2.ogg
Normal file
BIN
sounds/normal2.ogg
Normal file
Binary file not shown.
BIN
sounds/up2.ogg
Normal file
BIN
sounds/up2.ogg
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user