Files
Paradise/code/_onclick/hud/bot.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

34 lines
802 B
Plaintext

/obj/screen/bot
icon = 'icons/mob/screen_bot.dmi'
/obj/screen/bot/radio
name = "radio"
icon_state = "radio"
screen_loc = ui_bot_radio
/obj/screen/bot/radio/Click()
if(isbot(usr))
var/mob/living/simple_animal/bot/B = usr
B.Radio.interact(usr)
/mob/living/simple_animal/bot/create_mob_hud()
if(client && !hud_used)
hud_used = new /datum/hud/bot(src)
/datum/hud/bot/New(mob/owner)
..()
var/obj/screen/using
using = new /obj/screen/bot/radio()
static_inventory += using
mymob.healths = new /obj/screen/healths/bot()
mymob.healths.screen_loc = ui_borg_health
infodisplay += mymob.healths
mymob.pullin = new /obj/screen/pull()
mymob.pullin.icon = 'icons/mob/screen_bot.dmi'
mymob.pullin.update_icon(mymob)
mymob.pullin.screen_loc = ui_bot_pull
static_inventory += mymob.pullin