Adds Malfunctioning AI Deploy Turret Ability (#23473)

* Adds Malf AI turret deployment ability

* Review Changes

* Check the Eye

* Do After Once check

* Turret Invisibility during Deploy, AI Control

* Reset to initial values on deploy

* Better Audio Booleans

* Helper Proc

* Alert Defaults to No

* Overhauled can_place_turret

* Modular Proc, Global to AI, Null Check

* Callback changes

* Autodoc, removed extraneous line

* Removed Extraneous QDEL
This commit is contained in:
PollardTheDragon
2024-02-04 21:16:21 +00:00
committed by GitHub
parent ecc109915a
commit d10e1adcae
3 changed files with 105 additions and 0 deletions
@@ -77,6 +77,9 @@ GLOBAL_LIST_INIT(ai_verbs_default, list(
var/obj/machinery/power/apc/malfhack = null
var/explosive = 0 //does the AI explode when it dies?
///Whether or not the AI has upgraded their turrets
var/turrets_upgraded = FALSE
/// List of modules the AI has purchased malf upgrades for.
var/list/purchased_modules = list()