mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-22 05:25:15 +01:00
Some CTF changes (#24595)
* Some CTF changes 🆑 coiax add: CTF players start with their helmet toggled off, better to see the whites of their opponents eyes. Very briefly. fix: Existing CTF barricades are repaired between rounds, and deploy instantly when replaced. tweak: Healing non-critical CTF damage is faster. Remember though, if you drop into crit, YOU DIE. add: Admin ghosts can just click directly on the CTF controller to enable them, in addition to using the Secrets panel. /🆑 - @Cyberboss also look at all my New->Initialize conversions. * Procifies toggle_ctf * Whoops, two procs with the same name
This commit is contained in:
@@ -577,11 +577,7 @@
|
||||
if("ctfbutton")
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
var/ctf_enabled = FALSE
|
||||
for(var/obj/machinery/capture_the_flag/CTF in machines)
|
||||
ctf_enabled = CTF.toggle_ctf()
|
||||
message_admins("[key_name_admin(usr)] has [ctf_enabled? "enabled" : "disabled"] CTF!")
|
||||
notify_ghosts("CTF has been [ctf_enabled? "enabled" : "disabled"]!",'sound/effects/ghost2.ogg')
|
||||
toggle_all_ctf(usr)
|
||||
if("masspurrbation")
|
||||
if(!check_rights(R_FUN))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user