mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
Adds PDA ringtone to character preferences (#27365)
* Adds PDA ringtone to character preferences * Two fixes * Reset option * Contra request * DB update * linter fix * SQL update * file rename --------- Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
@@ -853,6 +853,13 @@
|
||||
if(!(brain_type in GLOB.borg_brain_choices))
|
||||
return
|
||||
active_character.cyborg_brain_type = brain_type
|
||||
if("pda_ringtone")
|
||||
var/ringtone = tgui_input_list(user, "What type of ringtone would you like to have on your PDA?", "PDA Ringtones", list("Reset Default Ringtone") + GLOB.pda_ringtone_choices, active_character.pda_ringtone)
|
||||
if(!(ringtone in GLOB.pda_ringtone_choices))
|
||||
if(ringtone == "Reset Default Ringtone")
|
||||
active_character.pda_ringtone = null
|
||||
return
|
||||
active_character.pda_ringtone = ringtone
|
||||
if("clientfps")
|
||||
var/version_message
|
||||
if(user.client && user.client.byond_version < 511)
|
||||
|
||||
Reference in New Issue
Block a user