mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] remove static chat colour tags (#7635)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: CHOMPStation2 <chompsation2@gmail.com> Co-authored-by: Raeschen <rycoop29@gmail.com> Co-authored-by: Changelogs <action@github.com> Co-authored-by: Aroliacue <96730930+Aroliacue@users.noreply.github.com> Co-authored-by: Eli <fracshun@gmail.com> Co-authored-by: tacoguy7765093 <karokaromaro@gmail.com> Co-authored-by: Nadyr <41974248+Darlantanis@users.noreply.github.com> Co-authored-by: TheGreatKitsune <88862343+TheGreatKitsune@users.noreply.github.com> Co-authored-by: Missile597 <150307788+Missile597@users.noreply.github.com>
This commit is contained in:
@@ -175,7 +175,7 @@
|
||||
feedback_inc("alert_keycard_auth_maintRevoke",1)
|
||||
if("Emergency Response Team")
|
||||
if(is_ert_blocked())
|
||||
to_chat(usr, "<font color='red'>All emergency response teams are dispatched and can not be called at this time.</font>")
|
||||
to_chat(usr, span_red("All emergency response teams are dispatched and can not be called at this time."))
|
||||
return
|
||||
|
||||
trigger_armed_response_team(1)
|
||||
@@ -189,15 +189,15 @@ var/global/maint_all_access = 0
|
||||
|
||||
/proc/make_maint_all_access()
|
||||
maint_all_access = 1
|
||||
to_world("<font size=4 color='red'>Attention!</font>")
|
||||
to_world("<font color='red'>The maintenance access requirement has been revoked on all airlocks.</font>")
|
||||
to_world(span_red("<font size=4>Attention!</font>"))
|
||||
to_world(span_red("The maintenance access requirement has been revoked on all airlocks."))
|
||||
|
||||
/proc/revoke_maint_all_access()
|
||||
maint_all_access = 0
|
||||
to_world("<font size=4 color='red'>Attention!</font>")
|
||||
to_world("<font color='red'>The maintenance access requirement has been readded on all maintenance airlocks.</font>")
|
||||
to_world(span_red("<font size=4>Attention!</font>"))
|
||||
to_world(span_red("The maintenance access requirement has been readded on all maintenance airlocks."))
|
||||
|
||||
/obj/machinery/door/airlock/allowed(mob/M)
|
||||
if(maint_all_access && src.check_access_list(list(access_maint_tunnels)))
|
||||
return 1
|
||||
return ..(M)
|
||||
return ..(M)
|
||||
|
||||
Reference in New Issue
Block a user