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