From c4ee8ac3392d11a9044cbbdce543d2388ebe96b9 Mon Sep 17 00:00:00 2001 From: Qwertytoforty Date: Thu, 27 Aug 2020 18:44:42 -0400 Subject: [PATCH 1/2] Impliments the core camera cutting upgrade, which prevents camera consoles from seeing out of the AI core once installed --- code/game/gamemodes/malfunction/Malf_Modules.dm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/code/game/gamemodes/malfunction/Malf_Modules.dm b/code/game/gamemodes/malfunction/Malf_Modules.dm index 526a2c01083..9c88502b01e 100644 --- a/code/game/gamemodes/malfunction/Malf_Modules.dm +++ b/code/game/gamemodes/malfunction/Malf_Modules.dm @@ -781,3 +781,17 @@ if(AI.eyeobj) AI.eyeobj.relay_speech = TRUE +/datum/AI_Module/large/cameracrack + module_name = "Core Camera Cracker" + mod_pick_name = "cameracrack" + description = "By shortcirucuting a network chip, it overheats, along with the camera in your AI core, preventing camera consoles from using your core camera, or you." + cost = 10 + one_purchase = TRUE + upgrade = TRUE + unlock_text = "Network chip short circuited. Core camera fried. Minimal damage to other internal components." + unlock_sound = 'sound/items/wirecutter.ogg' + +/datum/AI_Module/large/cameracrack/upgrade(mob/living/silicon/ai/AI) + if(AI.builtInCamera) + QDEL_NULL(AI.builtInCamera) + From 8fc80d5ada22ed7bcbd174308c63801a9652d460 Mon Sep 17 00:00:00 2001 From: Qwertytoforty Date: Thu, 27 Aug 2020 20:22:14 -0400 Subject: [PATCH 2/2] Updates discription to make it more accurate to its effects. --- code/game/gamemodes/malfunction/Malf_Modules.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/gamemodes/malfunction/Malf_Modules.dm b/code/game/gamemodes/malfunction/Malf_Modules.dm index 9c88502b01e..feff3be1f05 100644 --- a/code/game/gamemodes/malfunction/Malf_Modules.dm +++ b/code/game/gamemodes/malfunction/Malf_Modules.dm @@ -784,11 +784,11 @@ /datum/AI_Module/large/cameracrack module_name = "Core Camera Cracker" mod_pick_name = "cameracrack" - description = "By shortcirucuting a network chip, it overheats, along with the camera in your AI core, preventing camera consoles from using your core camera, or you." + description = "By shortcirucuting the camera network chip, it overheats, preventing the camera console from using your internal camera." cost = 10 one_purchase = TRUE upgrade = TRUE - unlock_text = "Network chip short circuited. Core camera fried. Minimal damage to other internal components." + unlock_text = "Network chip short circuited. Internal camera disconected from network. Minimal damage to other internal components." unlock_sound = 'sound/items/wirecutter.ogg' /datum/AI_Module/large/cameracrack/upgrade(mob/living/silicon/ai/AI)