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
<details>
<summary>Screenshots/Videos</summary>

</details>

## Changelog
🆑

admin:makes it easier for admins to bus malf nuke
/🆑
This commit is contained in:
Odairu
2025-03-18 20:06:18 +01:00
committed by GitHub
parent 1ab9e2f30a
commit 86b11095db
3 changed files with 8 additions and 1 deletions
@@ -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)
@@ -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
@@ -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()