diff --git a/code/game/objects/items/robot/robot_parts.dm b/code/game/objects/items/robot/robot_parts.dm index d7f0539d0c4..a85fc274b6f 100644 --- a/code/game/objects/items/robot/robot_parts.dm +++ b/code/game/objects/items/robot/robot_parts.dm @@ -300,7 +300,6 @@ return . var/datum/ai_laws/laws_to_give - var/message_override if(!aisync) lawsync = FALSE @@ -308,9 +307,6 @@ aisync = FALSE lawsync = FALSE - if(new_mmi.syndiemmi) - message_override = span_userdanger("Вы помните вашу прошлую жизнь. Вы не обязаны подчиняться законам или ИИ.") - if(new_mmi.syndicate) // ffs aisync = FALSE lawsync = FALSE @@ -356,11 +352,7 @@ SSticker?.score?.save_silicon_laws(new_borg, user, "robot construction", log_all_laws = TRUE) - if(message_override) - to_chat(new_borg, message_override) - new_borg.playsound_local(null, 'sound/ambience/antag/emaggedborg.ogg', 100, 0) - - else if (new_borg.mind?.special_role) + if (!new_borg.mmi.greet() && new_borg.mind?.special_role) new_borg.mind.store_memory("As a cyborg, you must obey your silicon laws and master AI above all else. Your objectives will consider you to be dead.") to_chat(new_borg, span_userdanger("You have been robotized!")) to_chat(new_borg, span_danger("You must obey your silicon laws and master AI above all else. Your objectives will consider you to be dead.")) diff --git a/code/modules/mob/living/carbon/brain/MMI.dm b/code/modules/mob/living/carbon/brain/MMI.dm index 1b6d08f7f84..5431f140990 100644 --- a/code/modules/mob/living/carbon/brain/MMI.dm +++ b/code/modules/mob/living/carbon/brain/MMI.dm @@ -215,6 +215,9 @@ /obj/item/mmi/proc/apply_effects(mob/living/silicon/robot) return +/obj/item/mmi/proc/greet() + return FALSE + /obj/item/mmi/emp_act(severity) if(!brainmob) return @@ -263,6 +266,11 @@ if(!overdrive.used) overdrive.Grant(borg) +/obj/item/mmi/syndie/greet(mob/living/silicon/robot/borg) + to_chat(borg, "Вы помните вашу прошлую жизнь. Вы не обязаны подчиняться законам или ИИ.") + borg.playsound_local(null, 'sound/ambience/antag/emaggedborg.ogg', 100, 0) + return TRUE + /obj/item/mmi/syndie/Destroy() QDEL_NULL(overdrive) return ..()