subsystem antag (#19338)

* antag subsystem

* antag subsystem
This commit is contained in:
Kashargul
2026-03-26 21:06:54 -04:00
committed by GitHub
parent 6be4771fef
commit a64992c509
47 changed files with 233 additions and 241 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
mind_initialize() //updates the mind (or creates and initializes one if one doesn't exist)
mind.active = 1 //indicates that the mind is currently synced with a client
//If they're SSD, remove it so they can wake back up.
update_antag_icons(mind)
SSantag_job.update_antag_icons(mind)
client.screen |= GLOB.global_hud.darksight
client.images |= dsoverlay
+1 -1
View File
@@ -137,7 +137,7 @@
var/list/players = list()
for(var/mob/living/carbon/human/player in GLOB.player_list)
if(!player.mind || player_is_antag(player.mind, only_offstation_roles = 1) || player.client.inactivity > 10 MINUTES)
if(!player.mind || SSantag_job.player_is_antag(player.mind, only_offstation_roles = 1) || player.client.inactivity > 10 MINUTES)
continue
players += player.real_name
+1 -1
View File
@@ -415,7 +415,7 @@
qdel(mind.objectives)
mind.special_role = null
clear_antag_roles(mind)
SSantag_job.clear_antag_roles(mind)
ghostize(0)
qdel(src)