Files
Paradise/code/_onclick/hud/constructs.dm
2016-11-10 08:39:20 -05:00

63 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