add transportation sounds

This commit is contained in:
BuckarooBanzay 2020-05-09 11:33:08 +02:00
parent b5f33b0fee
commit 89ca0b6b16
8 changed files with 25 additions and 2 deletions

View File

@ -19,5 +19,6 @@ read_globals = {
"player_monoids",
"epic",
"player_monoids",
"sfinv"
"sfinv",
"soundblock"
}

View File

@ -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

View File

@ -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

View File

@ -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
View 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

Binary file not shown.

BIN
sounds/normal2.ogg Normal file

Binary file not shown.

BIN
sounds/up2.ogg Normal file

Binary file not shown.