mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-03 05:52:17 +00:00
To avoid losing the click catcher on the reloging there we go, proper credits to https://github.com/PsiOmegaDelta
33 lines
969 B
Plaintext
33 lines
969 B
Plaintext
/datum/hud/proc/larva_hud()
|
|
|
|
src.adding = list()
|
|
src.other = list()
|
|
|
|
var/obj/screen/using
|
|
|
|
using = new /obj/screen()
|
|
using.name = "mov_intent"
|
|
using.set_dir(SOUTHWEST)
|
|
using.icon = 'icons/mob/screen1_alien.dmi'
|
|
using.icon_state = (mymob.m_intent == "run" ? "running" : "walking")
|
|
using.screen_loc = ui_acti
|
|
using.layer = 20
|
|
src.adding += using
|
|
move_intent = using
|
|
|
|
mymob.healths = new /obj/screen()
|
|
mymob.healths.icon = 'icons/mob/screen1_alien.dmi'
|
|
mymob.healths.icon_state = "health0"
|
|
mymob.healths.name = "health"
|
|
mymob.healths.screen_loc = ui_alien_health
|
|
|
|
mymob.fire = new /obj/screen()
|
|
mymob.fire.icon = 'icons/mob/screen1_alien.dmi'
|
|
mymob.fire.icon_state = "fire0"
|
|
mymob.fire.name = "fire"
|
|
mymob.fire.screen_loc = ui_fire
|
|
|
|
mymob.client.screen = list()
|
|
mymob.client.screen += list( mymob.healths, mymob.fire) //, mymob.rest, mymob.sleep, mymob.mach )
|
|
mymob.client.screen += src.adding + src.other
|
|
mymob.client.screen += mymob.client.void |