forked from VoxeLibre/VoxeLibre
Changed main menu music and some small chages in mcl_music
This commit is contained in:
parent
4dc5d0939c
commit
1aa0d716f5
|
@ -1,4 +1,4 @@
|
||||||
title = VoxeLibre
|
title = TheDarkProject
|
||||||
description = A survival sandbox game. Survive, gather, hunt, build, explore, and do much more.
|
description = A survival sandbox game. Survive, gather, hunt, build, explore, and do much more.
|
||||||
disallowed_mapgens = v6
|
disallowed_mapgens = v6
|
||||||
version=0.88.0-SNAPSHOT
|
version=0.88.0-SNAPSHOT
|
||||||
|
|
BIN
menu/theme.ogg
BIN
menu/theme.ogg
Binary file not shown.
|
@ -18,7 +18,9 @@ local valley_of_ghosts = "exhale_and_tim_unwin-valley_of_ghosts"
|
||||||
local farmer = "exhale_and_tim_unwin-farmer"
|
local farmer = "exhale_and_tim_unwin-farmer"
|
||||||
|
|
||||||
local dimension_to_base_track = {
|
local dimension_to_base_track = {
|
||||||
["overworld"] = {pianowtune, never_grow_up, flock_of_one, gift, hailing_forest, lonely_blossom, farmer},
|
["overworld"] = {
|
||||||
|
"Fief-Soul_of_a_Nameless_Bard"
|
||||||
|
},
|
||||||
["nether"] = {nether_tune, valley_of_ghosts},
|
["nether"] = {nether_tune, valley_of_ghosts},
|
||||||
["end"] = {end_tune},
|
["end"] = {end_tune},
|
||||||
["mining"] = {odd_block},
|
["mining"] = {odd_block},
|
||||||
|
@ -132,6 +134,7 @@ local function play()
|
||||||
local track = pick_track(dimension, underground)
|
local track = pick_track(dimension, underground)
|
||||||
if track then
|
if track then
|
||||||
play_song(track, player_name, dimension, day_count)
|
play_song(track, player_name, dimension, day_count)
|
||||||
|
minetest.log("action", "[mcl_music] Play song '" .. track .. "' for player: " .. player_name)
|
||||||
else
|
else
|
||||||
--minetest.log("no track found. weird")
|
--minetest.log("no track found. weird")
|
||||||
end
|
end
|
||||||
|
@ -215,8 +218,8 @@ minetest.register_chatcommand("music", {
|
||||||
meta:set_int("mcl_music:disable", 1)
|
meta:set_int("mcl_music:disable", 1)
|
||||||
display_new_state = S("off")
|
display_new_state = S("off")
|
||||||
end
|
end
|
||||||
|
|
||||||
stop_music_for_listener_name(playername)
|
stop_music_for_listener_name(playername)
|
||||||
minetest.chat_send_player(sender_name, S("Set music for @1 to: @2", playername, display_new_state))
|
minetest.chat_send_player(sender_name, S("Set music for @1 to: @2", playername, display_new_state))
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue