worn overlays proc sends a signal (#73101)

what the title says, it sends the list of overlays to be edited and some
other stuff
makes modsuits use this
This commit is contained in:
Fikou
2023-02-02 22:32:03 +01:00
committed by GitHub
parent 0ac41490d9
commit a11517e3df
4 changed files with 13 additions and 12 deletions
+6
View File
@@ -264,6 +264,12 @@
device = null
qdel(src)
/// Adds the worn overlays to the suit.
/obj/item/mod/module/proc/add_module_overlay(obj/item/source, list/overlays, mutable_appearance/standing, isinhands, icon_file)
SIGNAL_HANDLER
overlays += generate_worn_overlay(standing)
/// Generates an icon to be used for the suit's worn overlays
/obj/item/mod/module/proc/generate_worn_overlay(mutable_appearance/standing)
. = list()