Infiltrator MODs don't have a plasma visor anymore (#76164)

## About The Pull Request

Disables the plasma stabilizer's visor for any MODsuit that has an
infiltrator module

## Why It's Good For The Game

It doesn't make sense that a suit designed for concealing your identity
gave away your species. This changes that, allowing plasmamen to freely
use this MODsuit.

## Changelog

🆑 StaringGasMask
qol: Now plasmamen can use the infiltrator MODsuit without having their
species revealed. The helmet's still not sealed, so remember your mask.
/🆑
This commit is contained in:
StaringGasMask
2023-07-11 02:16:37 +02:00
committed by GitHub
parent da272c245e
commit 6ae976d0bb
@@ -536,6 +536,11 @@
incompatible_modules = list(/obj/item/mod/module/plasma_stabilizer)
overlay_state_inactive = "module_plasma"
/obj/item/mod/module/plasma_stabilizer/generate_worn_overlay()
if(locate(/obj/item/mod/module/infiltrator) in mod.modules)
return list()
return ..()
/obj/item/mod/module/plasma_stabilizer/on_equip()
ADD_TRAIT(mod.wearer, TRAIT_NOSELFIGNITION_HEAD_ONLY, MOD_TRAIT)