mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 14:31:59 +01:00
Hardsuit fixes (#22519)
Various fixes and cleanups for hardsuits following the rework. changes: - bugfix: "Adds additional safety checks to hardsuit deployment logic to better handle boot checks." - bugfix: "Hardsuit Health Analyzer module works again." - rscadd: "Adds 'Retract All Parts' verb for hardsuits." - rscdel: "Removes Vitals Scanner module; hardsuits which had this module by default have had it replaced with the Health Analzyer module." - rscdel: "Removes hardsuit Maneuvering Jets onmob sprites."
This commit is contained in:
@@ -84,6 +84,15 @@
|
||||
reagent_results = list()
|
||||
return TRUE
|
||||
|
||||
/datum/component/health_analyzer/ui_status(mob/user, datum/ui_state/state)
|
||||
var/obj/item/rig_module/containing_rig_module = owner.loc
|
||||
if(!containing_rig_module)
|
||||
return ..()
|
||||
if(containing_rig_module?.holder?.wearer == user)
|
||||
return UI_INTERACTIVE
|
||||
|
||||
return UI_CLOSE
|
||||
|
||||
/datum/component/health_analyzer/proc/attack(mob/living/target_mob, mob/living/user, target_zone)
|
||||
sound_scan = TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user