mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 14:47:50 +01:00
[MIRROR] subsystem antag (#12599)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Kashargul
Cameron Lennox
parent
9d7e5e7cf7
commit
092c641c3c
@@ -446,14 +446,14 @@ the implant may become unstable and either pre-maturely inject the subject or si
|
||||
if(!ishuman(M))
|
||||
. = FALSE
|
||||
var/mob/living/carbon/human/H = M
|
||||
var/datum/antagonist/antag_data = get_antag_data(H.mind.special_role)
|
||||
var/datum/antagonist/antag_data = SSantag_job.get_antag_data(H.mind.special_role)
|
||||
if(antag_data && (antag_data.flags & ANTAG_IMPLANT_IMMUNE))
|
||||
H.visible_message("[H] seems to resist the implant!", "You feel the corporate tendrils of [using_map.company_name] try to invade your mind!")
|
||||
. = FALSE
|
||||
|
||||
/obj/item/implant/loyalty/post_implant(mob/M)
|
||||
var/mob/living/carbon/human/H = M
|
||||
clear_antag_roles(H.mind, 1)
|
||||
SSantag_job.clear_antag_roles(H.mind, 1)
|
||||
to_chat(H, span_notice("You feel a surge of loyalty towards [using_map.company_name]."))
|
||||
|
||||
//////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user