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
@@ -4,6 +4,7 @@
icon = 'icons/mob/robots.dmi'
icon_state = "robot"
bubble_icon = "robot"
var/obj/item/pda/ai/aiPDA
/mob/living/silicon/robot/get_cell()
return cell
@@ -27,6 +28,12 @@
inv2 = new /atom/movable/screen/robot/module2()
inv3 = new /atom/movable/screen/robot/module3()
if(!shell)
aiPDA = new/obj/item/pda/ai(src)
aiPDA.owner = real_name
aiPDA.ownjob = "Cyborg"
aiPDA.name = real_name + " (" + aiPDA.ownjob + ")"
previous_health = health
if(ispath(cell))
@@ -968,6 +975,9 @@
notify_ai(RENAME, oldname, newname)
if(!QDELETED(builtInCamera))
builtInCamera.c_tag = real_name
if(aiPDA && !shell)
aiPDA.owner = newname
aiPDA.name = newname + " (" + aiPDA.ownjob + ")"
custom_name = newname