This commit is contained in:
shellspeed1
2022-09-17 02:40:37 -07:00
parent b554906511
commit 11ec2b89e0
4 changed files with 98 additions and 0 deletions
+40
View File
@@ -342,3 +342,43 @@
if(.)
return
robot.modularInterface?.interact(robot)
//borg pda
/datum/hud/robot/New(mob/owner)
. = ..()
var/atom/movable/screen/using
//PDA message
using = new /atom/movable/screen/robot/pda_msg_send
using.screen_loc = ui_borg_pda_send
using.hud = src
static_inventory += using
//PDA log
using = new /atom/movable/screen/robot/pda_msg_show
using.screen_loc = ui_borg_pda_log
using.hud = src
static_inventory += using
/atom/movable/screen/robot/pda_msg_send
name = "PDA - Send Message"
icon = 'icons/mob/screen_ai.dmi'
icon_state = "pda_send"
/atom/movable/screen/robot/pda_msg_send/Click()
if(..())
return
var/mob/living/silicon/robot/R = usr
R.cmd_send_pdamesg(usr)
/atom/movable/screen/robot/pda_msg_show
name = "PDA - Show Message Log"
icon = 'icons/mob/screen_ai.dmi'
icon_state = "pda_receive"
/atom/movable/screen/robot/pda_msg_show/Click()
if(..())
return
var/mob/living/silicon/robot/R = usr
R.cmd_show_message_log(usr)