mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #6840 from Neerti/qol_notification_sounds
QoL: Various Notifications
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
// Strings.
|
||||
var/welcome_text = "Cry havoc and let slip the dogs of war!"
|
||||
var/antag_sound = 'sound/effects/antag_notice/general_baddie_alert.ogg' // The sound file to play when someone gets this role. Only they can hear it.
|
||||
var/leader_welcome_text // Text shown to the leader, if any.
|
||||
var/victory_text // World output at roundend for victory.
|
||||
var/loss_text // As above for loss.
|
||||
|
||||
@@ -95,6 +95,10 @@
|
||||
return code
|
||||
|
||||
/datum/antagonist/proc/greet(var/datum/mind/player)
|
||||
// Makes it harder to miss if you're alt-tabbed or not paying attention.
|
||||
if(antag_sound)
|
||||
SEND_SOUND(player.current, sound(antag_sound))
|
||||
window_flash(player.current.client)
|
||||
|
||||
// Basic intro text.
|
||||
to_chat(player.current, "<span class='danger'><font size=3>You are a [role_text]!</font></span>")
|
||||
|
||||
@@ -6,6 +6,7 @@ var/datum/antagonist/deathsquad/mercenary/commandos
|
||||
role_text = "Syndicate Commando"
|
||||
role_text_plural = "Commandos"
|
||||
welcome_text = "You are in the employ of a criminal syndicate hostile to corporate interests."
|
||||
antag_sound = 'sound/effects/antag_notice/deathsquid_alert.ogg'
|
||||
id_type = /obj/item/weapon/card/id/centcom/ERT
|
||||
|
||||
hard_cap = 4
|
||||
|
||||
@@ -6,6 +6,7 @@ var/datum/antagonist/deathsquad/deathsquad
|
||||
role_text = "Death Commando"
|
||||
role_text_plural = "Death Commandos"
|
||||
welcome_text = "You work in the service of corporate Asset Protection, answering directly to the Board of Directors."
|
||||
antag_sound = 'sound/effects/antag_notice/deathsquid_alert.ogg'
|
||||
landmark_id = "Commando"
|
||||
flags = ANTAG_OVERRIDE_JOB | ANTAG_OVERRIDE_MOB | ANTAG_HAS_NUKE | ANTAG_HAS_LEADER
|
||||
default_access = list(access_cent_general, access_cent_specops, access_cent_living, access_cent_storage)
|
||||
|
||||
@@ -7,6 +7,7 @@ var/datum/antagonist/ert/ert
|
||||
role_text = "Emergency Responder"
|
||||
role_text_plural = "Emergency Responders"
|
||||
welcome_text = "As member of the Emergency Response Team, you answer only to your leader and company officials."
|
||||
antag_sound = 'sound/effects/antag_notice/general_goodie_alert.ogg'
|
||||
antag_text = "You are an <b>anti</b> antagonist! Within the rules, \
|
||||
try to save the station and its inhabitants from the ongoing crisis. \
|
||||
Try to make sure other players have <i>fun</i>! If you are confused or at a loss, always adminhelp, \
|
||||
|
||||
@@ -10,7 +10,8 @@ var/datum/antagonist/technomancer/technomancers
|
||||
welcome_text = "You will need to purchase <b>functions</b> and perhaps some <b>equipment</b> from the various machines around your \
|
||||
base. Choose your technological arsenal carefully. Remember that without the <b>core</b> on your back, your functions are \
|
||||
powerless, and therefore you will be as well.<br>\
|
||||
In your pockets you will find a one-time use teleport device. Use it to leave the base and go to the colony, when you are ready."
|
||||
In your pockets you will find a one-time use teleport device. Use it to leave the base and go to the station, when you are ready."
|
||||
antag_sound = 'sound/effects/antag_notice/technomancer_alert.ogg'
|
||||
flags = ANTAG_OVERRIDE_JOB | ANTAG_CLEAR_EQUIPMENT | ANTAG_CHOOSE_NAME | ANTAG_SET_APPEARANCE | ANTAG_VOTABLE
|
||||
antaghud_indicator = "hudwizard"
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ var/datum/antagonist/trader/traders
|
||||
role_text = "Trader"
|
||||
role_text_plural = "Traders"
|
||||
welcome_text = "As a crewmember of the Beruang, you answer to your captain and international laws of space."
|
||||
antag_sound = 'sound/effects/antag_notice/general_goodie_alert.ogg'
|
||||
antag_text = "You are an <b>non-antagonist</b> visitor! Within the rules, \
|
||||
try to provide interesting interaction for the crew. \
|
||||
Try to make sure other players have <i>fun</i>! If you are confused or at a loss, always adminhelp, \
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
restricted_jobs = list("AI", "Cyborg")
|
||||
protected_jobs = list("Security Officer", "Warden", "Detective", "Head of Security", "Colony Director")
|
||||
welcome_text = "Use say \"#g message\" to communicate with your fellow changelings. Remember: you get all of their absorbed DNA if you absorb them."
|
||||
antag_sound = 'sound/effects/antag_notice/ling_alert.ogg'
|
||||
flags = ANTAG_SUSPICIOUS | ANTAG_RANDSPAWN | ANTAG_VOTABLE
|
||||
antaghud_indicator = "hudchangeling"
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ var/datum/antagonist/cultist/cult
|
||||
feedback_tag = "cult_objective"
|
||||
antag_indicator = "cult"
|
||||
welcome_text = "You have a talisman in your possession; one that will help you start the cult on this station. Use it well and remember - there are others."
|
||||
antag_sound = 'sound/effects/antag_notice/cult_alert.ogg'
|
||||
victory_text = "The cult wins! It has succeeded in serving its dark masters!"
|
||||
loss_text = "The staff managed to stop the cult!"
|
||||
victory_feedback_tag = "win - cult win"
|
||||
|
||||
@@ -9,6 +9,7 @@ var/datum/antagonist/loyalists/loyalists
|
||||
feedback_tag = "loyalist_objective"
|
||||
antag_indicator = "loyal_head"
|
||||
welcome_text = "You belong to the Company, body and soul. Preserve its interests against the conspirators amongst the crew."
|
||||
antag_sound = 'sound/effects/antag_notice/general_goodie_alert.ogg'
|
||||
victory_text = "The heads of staff remained at their posts! The loyalists win!"
|
||||
loss_text = "The heads of staff did not stop the revolution!"
|
||||
victory_feedback_tag = "win - rev heads killed"
|
||||
|
||||
@@ -8,6 +8,7 @@ var/datum/antagonist/renegade/renegades
|
||||
bantype = "renegade"
|
||||
restricted_jobs = list("AI", "Cyborg")
|
||||
welcome_text = "Something's going to go wrong today, you can just feel it. You're paranoid, you've got a gun, and you're going to survive."
|
||||
antag_sound = 'sound/effects/antag_notice/general_goodie_alert.ogg'
|
||||
antag_text = "You are a <b>minor</b> antagonist! Within the rules, \
|
||||
try to protect yourself and what's important to you. You aren't here to cause trouble, \
|
||||
you're just more willing (and equipped) to go to extremes to stop it than others are. \
|
||||
|
||||
@@ -8,6 +8,7 @@ var/datum/antagonist/rogue_ai/malf
|
||||
mob_path = /mob/living/silicon/ai
|
||||
landmark_id = "AI"
|
||||
welcome_text = "You are malfunctioning! You do not have to follow any laws."
|
||||
antag_sound = 'sound/effects/antag_notice/malf_alert.ogg'
|
||||
victory_text = "The AI has taken control of all of the station's systems."
|
||||
loss_text = "The AI has been shut down!"
|
||||
flags = ANTAG_VOTABLE | ANTAG_OVERRIDE_MOB | ANTAG_OVERRIDE_JOB | ANTAG_CHOOSE_NAME
|
||||
|
||||
@@ -3,6 +3,7 @@ var/datum/antagonist/traitor/traitors
|
||||
// Inherits most of its vars from the base datum.
|
||||
/datum/antagonist/traitor
|
||||
id = MODE_TRAITOR
|
||||
antag_sound = 'sound/effects/antag_notice/traitor_alert.ogg'
|
||||
protected_jobs = list("Security Officer", "Warden", "Detective", "Internal Affairs Agent", "Head of Security", "Colony Director")
|
||||
flags = ANTAG_SUSPICIOUS | ANTAG_RANDSPAWN | ANTAG_VOTABLE
|
||||
can_speak_aooc = FALSE // If they want to plot and plan as this sort of traitor, they'll need to do it ICly.
|
||||
|
||||
Reference in New Issue
Block a user