mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-02 21:11:57 +00:00
* Refactors create_mob_hud() to add a signal and make the mood component use it * Register for the hud element click * Observe observer safety
14 lines
349 B
Plaintext
14 lines
349 B
Plaintext
/datum/hud/constructs
|
|
ui_style = 'icons/mob/screen_construct.dmi'
|
|
|
|
/datum/hud/constructs/New(mob/owner)
|
|
..()
|
|
pull_icon = new /obj/screen/pull()
|
|
pull_icon.icon = ui_style
|
|
pull_icon.update_icon(mymob)
|
|
pull_icon.screen_loc = ui_construct_pull
|
|
static_inventory += pull_icon
|
|
|
|
healths = new /obj/screen/healths/construct()
|
|
infodisplay += healths
|