mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-26 01:22:03 +00:00
* Adds Construct HUD * Update _defines.dm * Construct health icons * Update tgstation.dme * Update constructs.dm * construct glow * Nightvision * Add files via upload * Update constructs.dm * HUD fix * updated icon names * Update screen_objects.dm * here goes nothing * Throwing code at the wall and seeing what sticks * Update constructs.dm * Update constructs.dm * Update constructs.dm * wew * empty space memes * Update constructs.dm * Update and rename constructs.dm to construct.dm * Update construct.dm * Filename memes * Update constructs.dm * update * Finished and tested
19 lines
510 B
Plaintext
19 lines
510 B
Plaintext
|
|
/datum/hud/constructs
|
|
ui_style_icon = 'icons/mob/screen_construct.dmi'
|
|
|
|
/datum/hud/constructs/New(mob/owner)
|
|
..()
|
|
pull_icon = new /obj/screen/pull()
|
|
pull_icon.icon = 'icons/mob/screen_construct.dmi'
|
|
pull_icon.update_icon(mymob)
|
|
pull_icon.screen_loc = ui_construct_pull
|
|
static_inventory += pull_icon
|
|
|
|
healths = new /obj/screen/healths/construct()
|
|
infodisplay += healths
|
|
|
|
/mob/living/simple_animal/hostile/construct/create_mob_hud()
|
|
if(client && !hud_used)
|
|
hud_used = new /datum/hud/constructs(src)
|