mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Emp prot tags are more specific, also no longer leak stealthy emp protection (#93211)
## About The Pull Request Fixes #93199 EMP protection now specifies what it protects Adds an EMP flag for things which should definitely not indicate they are EMP proof ## Changelog 🆑 Melbert fix: EMP proof objects now specify what they protect rather than only implying it's 100% emp proof fix: Some objects meant to stealthily be emp proof no longer broadcast they are emp proof on examine /🆑
This commit is contained in:
@@ -195,10 +195,10 @@
|
||||
|
||||
/obj/item/mecha_parts/mecha_equipment/armor/antiemp_armor_booster/attach(obj/vehicle/sealed/mecha/new_mecha, attach_right)
|
||||
. = ..()
|
||||
chassis.AddElement(/datum/element/empprotection, EMP_PROTECT_WIRES)
|
||||
chassis.AddElement(/datum/element/empprotection, EMP_PROTECT_WIRES|EMP_NO_EXAMINE)
|
||||
|
||||
/obj/item/mecha_parts/mecha_equipment/armor/antiemp_armor_booster/detach(atom/moveto)
|
||||
chassis.RemoveElement(/datum/element/empprotection, EMP_PROTECT_WIRES)
|
||||
chassis.RemoveElement(/datum/element/empprotection, EMP_PROTECT_WIRES|EMP_NO_EXAMINE)
|
||||
return ..()
|
||||
|
||||
/obj/item/mecha_parts/mecha_equipment/armor/antiemp_armor_booster/clandestine
|
||||
|
||||
Reference in New Issue
Block a user