Files
Paradise/code/_onclick/hud/constructs.dm
AffectedArc07 04ba5c1cc9 File standardisation (#13131)
* Adds the check components

* Adds in trailing newlines

* Converts all CRLF to LF

* Post merge EOF

* Post merge line endings

* Final commit
2020-03-17 18:08:51 -04:00

64 lines
2.1 KiB
Plaintext

/mob/living/simple_animal/hostile/construct/armoured/create_mob_hud()
if(client && !hud_used)
hud_used = new /datum/hud/construct/armoured(src)
/mob/living/simple_animal/hostile/construct/behemoth/create_mob_hud()
if(client && !hud_used)
hud_used = new /datum/hud/construct/armoured(src)
/datum/hud/construct/armoured/New(mob/owner)
..()
mymob.healths = new /obj/screen()
mymob.healths.icon = 'icons/mob/screen_construct.dmi'
mymob.healths.icon_state = "juggernaut_health0"
mymob.healths.name = "health"
mymob.healths.screen_loc = ui_construct_health
infodisplay += mymob.healths
/mob/living/simple_animal/hostile/construct/builder/create_mob_hud()
if(client && !hud_used)
hud_used = new /datum/hud/construct/builder(src)
/datum/hud/construct/builder/New(mob/owner)
..()
mymob.healths = new /obj/screen()
mymob.healths.icon = 'icons/mob/screen_construct.dmi'
mymob.healths.icon_state = "artificer_health0"
mymob.healths.name = "health"
mymob.healths.screen_loc = ui_construct_health
infodisplay += mymob.healths
/mob/living/simple_animal/hostile/construct/wraith/create_mob_hud()
if(client && !hud_used)
hud_used = new /datum/hud/construct/wraith(src)
/datum/hud/construct/wraith/New(mob/owner)
..()
mymob.healths = new /obj/screen()
mymob.healths.icon = 'icons/mob/screen_construct.dmi'
mymob.healths.icon_state = "wraith_health0"
mymob.healths.name = "health"
mymob.healths.screen_loc = ui_construct_health
infodisplay += mymob.healths
/mob/living/simple_animal/hostile/construct/harvester/create_mob_hud()
if(client && !hud_used)
hud_used = new /datum/hud/construct/harvester(src)
/datum/hud/construct/harvester/New(mob/owner)
..()
mymob.healths = new /obj/screen()
mymob.healths.icon = 'icons/mob/screen_construct.dmi'
mymob.healths.icon_state = "harvester_health0"
mymob.healths.name = "health"
mymob.healths.screen_loc = ui_construct_health
infodisplay += mymob.healths
/datum/hud/construct/New(mob/owner)
..()
mymob.pullin = new /obj/screen/pull()
mymob.pullin.icon = 'icons/mob/screen_construct.dmi'
mymob.pullin.icon_state = "pull0"
mymob.pullin.name = "pull"
mymob.pullin.screen_loc = ui_construct_pull