diff --git a/code/game/machinery/ARES/ARES_step_triggers.dm b/code/game/machinery/ARES/ARES_step_triggers.dm index 011702aa0c6d..fbb7390027b6 100644 --- a/code/game/machinery/ARES/ARES_step_triggers.dm +++ b/code/game/machinery/ARES/ARES_step_triggers.dm @@ -89,6 +89,15 @@ alert_id = "AresCore" pass_accesses = list(ACCESS_MARINE_AI_TEMP, ACCESS_MARINE_AI, ACCESS_ARES_DEBUG) +/obj/effect/step_trigger/ares_alert/core/Crossed(mob/living/passer) + if(isxeno(passer)) + if(!COOLDOWN_FINISHED(datacore, aicore_lockdown)) + return FALSE + aicore_lockdown(user, "ATTENTION! \n\nUNIDENTIFIED BIOSIGN DETECTED IN AI CORE! \n\nAI CORE UNDER LOCKDOWN.") + return TRUE + else + ..() + /obj/effect/step_trigger/ares_alert/mainframe alert_id = "AresMainframe" alert_message = "ALERT: Unauthorized movement detected in ARES Mainframe!" diff --git a/code/game/machinery/aicore_lockdown.dm b/code/game/machinery/aicore_lockdown.dm index 8120e98977dc..3ecc357bf41f 100644 --- a/code/game/machinery/aicore_lockdown.dm +++ b/code/game/machinery/aicore_lockdown.dm @@ -84,8 +84,10 @@ return PROC_BLOCKED var/log = "[key_name(user)] triggered AI core lockdown!" - var/ares_log = "Triggered triggered AI Core Emergency Lockdown." + var/ares_log = "Triggered AI Core Emergency Lockdown." var/person = user.name + if(isxeno(user)) + person = MAIN_AI_SYSTEM if(message) log = "[key_name(user)] triggered AI core emergency lockdown! (Using a custom announcement)." if(admin)