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