mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Adds a preference option
This commit is contained in:
@@ -87,6 +87,15 @@
|
||||
to_chat(src, "You will [(prefs.toggles & DISABLE_KARMA_REMINDER) ? "no longer" : "now"] see the end of round karma reminder.")
|
||||
feedback_add_details("admin_verb","TKarmabugger") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/verb/togglekarmatextreminder()
|
||||
set name = "Hide/Display Shuttle Karma Reminder"
|
||||
set category = "Preferences"
|
||||
set desc = "Toggles displaying shuttle karma reminder"
|
||||
prefs.toggles ^= DISABLE_KARMA_TEXT_REMINDER
|
||||
prefs.save_preferences(src)
|
||||
to_chat(src, "You will [(prefs.toggles & DISABLE_KARMA_TEXT_REMINDER) ? "no longer" : "now"] see the shuttle karma reminder.")
|
||||
feedback_add_details("admin_verb","TShuttlekarma") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/verb/toggletitlemusic()
|
||||
set name = "Hear/Silence LobbyMusic"
|
||||
set category = "Preferences"
|
||||
|
||||
@@ -263,8 +263,8 @@
|
||||
timer = world.time
|
||||
priority_announcement.Announce("The Emergency Shuttle has left the station. Estimate [timeLeft(600)] minutes until the shuttle docks at Central Command.")
|
||||
for(var/mob/M in player_list)
|
||||
if(!isnewplayer(M) && !M.client.karma_spent)
|
||||
to_chat(M, "<i>You have not yet spent your karma for the round, was there a player who was worthy of receiving your reward?<i>")
|
||||
if(!isnewplayer(M) && !M.client.karma_spent && !M.get_preference(DISABLE_KARMA_TEXT_REMINDER))
|
||||
to_chat(M, "<i>You have not yet spent your karma for the round; was there a player who was worthy of receiving your reward?<i>")
|
||||
|
||||
if(SHUTTLE_ESCAPE)
|
||||
if(time_left <= 0)
|
||||
|
||||
Reference in New Issue
Block a user