mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 08:34:16 +01:00
Config option for lobby music
This commit is contained in:
@@ -163,6 +163,8 @@
|
||||
var/disable_away_missions = 0 // disable away missions
|
||||
|
||||
var/autoconvert_notes = 0 //if all connecting player's notes should attempt to be converted to the database
|
||||
|
||||
var/disable_lobby_music = 0 // Disables the lobby music
|
||||
|
||||
/datum/configuration/New()
|
||||
var/list/L = subtypesof(/datum/game_mode)
|
||||
@@ -525,7 +527,10 @@
|
||||
config.disable_away_missions = 1
|
||||
|
||||
if("autoconvert_notes")
|
||||
config.autoconvert_notes = 1
|
||||
config.autoconvert_notes = 1
|
||||
|
||||
if("disable_lobby_music")
|
||||
config.disable_lobby_music = 1
|
||||
|
||||
else
|
||||
diary << "Unknown setting in configuration: '[name]'"
|
||||
|
||||
+1
-1
@@ -95,7 +95,7 @@ var/const/FALLOFF_SOUNDS = 0.5
|
||||
src << S
|
||||
|
||||
/client/proc/playtitlemusic()
|
||||
if(!ticker || !ticker.login_music) return
|
||||
if(!ticker || !ticker.login_music || config.disable_lobby_music) return
|
||||
if(prefs.sound & SOUND_LOBBY)
|
||||
src << sound(ticker.login_music, repeat = 0, wait = 0, volume = 85, channel = 1) // MAD JAMS
|
||||
|
||||
|
||||
@@ -290,5 +290,8 @@ PLAYER_REROUTE_CAP 0
|
||||
## Disable the loading of away missions
|
||||
#DISABLE_AWAY_MISSIONS
|
||||
|
||||
## Uncomment this out if you still use the old .sav file based notes system and haven't used the mass conversion proc
|
||||
#AUTOCONVERT_NOTES
|
||||
## Uncomment this if you still use the old .sav file based notes system and haven't used the mass conversion proc
|
||||
#AUTOCONVERT_NOTES
|
||||
|
||||
## Uncomment this if you want to disable the lobby music
|
||||
#DISABLE_LOBBY_MUSIC
|
||||
Reference in New Issue
Block a user