From 86b11095dbeff4602e05eb9928673b8efcfe8beb Mon Sep 17 00:00:00 2001 From: Odairu <39929315+Odairu@users.noreply.github.com> Date: Tue, 18 Mar 2025 15:06:18 -0400 Subject: [PATCH] makes it easier for admins to bus malf nuke (#3331) ## About The Pull Request Title ## Why It's Good For The Game the process was cock and ball torture before ## Proof Of Testing it works, source:dude trust me
Screenshots/Videos
## Changelog :cl: admin:makes it easier for admins to bus malf nuke /:cl: --- code/modules/antagonists/malf_ai/malf_ai_module_picker.dm | 5 +++++ code/modules/antagonists/malf_ai/malf_ai_modules.dm | 2 +- modular_skyrat/modules/alt_vox/code/vox_procs.dm | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/code/modules/antagonists/malf_ai/malf_ai_module_picker.dm b/code/modules/antagonists/malf_ai/malf_ai_module_picker.dm index 5e95e11c41b..d2a188c4f37 100644 --- a/code/modules/antagonists/malf_ai/malf_ai_module_picker.dm +++ b/code/modules/antagonists/malf_ai/malf_ai_module_picker.dm @@ -89,6 +89,11 @@ /datum/module_picker/proc/purchase_module(mob/living/silicon/ai/AI, datum/ai_module/AM) if(!istype(AM)) return + //Bubber edit begin - nuke station easier to bus + if(istype(AM, /datum/ai_module/malf/destructive/nuke_station) && !AI.can_purchase_nuke) + to_chat(AI, span_warning("Unable to purchase Nuke Station, contact your employer for assistance!")) + return + //Bubber edit end if(!AI || AI.stat == DEAD) return if(AM.cost > processing_time) diff --git a/code/modules/antagonists/malf_ai/malf_ai_modules.dm b/code/modules/antagonists/malf_ai/malf_ai_modules.dm index 5d612ca6651..c4e320c26b2 100644 --- a/code/modules/antagonists/malf_ai/malf_ai_modules.dm +++ b/code/modules/antagonists/malf_ai/malf_ai_modules.dm @@ -52,7 +52,7 @@ GLOBAL_LIST_INIT(blacklisted_malf_machines, typecacheof(list( /obj/machinery/computer/gateway_control, ))) -GLOBAL_LIST_INIT(malf_modules, subtypesof(/datum/ai_module/malf) - /datum/ai_module/malf/destructive/nuke_station) // BUBBER EDIT - REMOVES NUKE STATION ROUNDSTART MODULE +GLOBAL_LIST_INIT(malf_modules, subtypesof(/datum/ai_module/malf)) /// The malf AI action subtype. All malf actions are subtypes of this. /datum/action/innate/ai diff --git a/modular_skyrat/modules/alt_vox/code/vox_procs.dm b/modular_skyrat/modules/alt_vox/code/vox_procs.dm index 3bf03412585..2b218eb340f 100644 --- a/modular_skyrat/modules/alt_vox/code/vox_procs.dm +++ b/modular_skyrat/modules/alt_vox/code/vox_procs.dm @@ -9,6 +9,8 @@ var/list/vox_voices = list(VOX_HL, VOX_NORMAL, VOX_BMS) /// The VOX word(s) that were previously inputed. var/vox_word_string + /// Can the AI purchase the nuke as a malf + var/can_purchase_nuke = FALSE /mob/living/silicon/ai/verb/announcement_help()