Rave and plasma stabilizer MODules now utilize theme-specific visors (#88369)

## About The Pull Request

Rave and plasma stabilizer MODules now use per-theme visors so they no
longer look like an ugly blob (because their sprite only works with the
"standard" MODsuit theme)


![dreamseeker_gav0TXaQOF](https://github.com/user-attachments/assets/15f5a7e5-eb6e-4d03-b2fd-40181d199a78)

Armor booster modules use a signal to change the visor when they're
activated

## Why It's Good For The Game

Currently they use the base helmet visor sprite which doesn't look very
good on non-standard MODsuits

## Changelog
🆑
add: Rave and plasma stabilizer MODules now utilize theme-specific
visors
/🆑
This commit is contained in:
SmArtKar
2024-12-15 13:15:37 +00:00
committed by GitHub
parent 1fff1f42d1
commit d4d106c97d
7 changed files with 33 additions and 8 deletions
+7
View File
@@ -771,3 +771,10 @@
mod_link.end_call()
mod_link.frequency = null
/obj/item/mod/control/proc/get_visor_overlay(mutable_appearance/standing)
var/list/overrides = list()
SEND_SIGNAL(src, COMSIG_MOD_GET_VISOR_OVERLAY, standing, overrides)
if (length(overrides))
return overrides[1]
return mutable_appearance(worn_icon, "[skin]-helmet-visor", layer = standing.layer + 0.1)