mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user