mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-19 01:58:34 +01:00
This also makes them self-name with their designation like posibrains, so they're easier to identify.
23 lines
1.0 KiB
Plaintext
23 lines
1.0 KiB
Plaintext
/obj/item/device/mmi/digital/robot
|
|
name = "robotic intelligence circuit"
|
|
desc = "The pinnacle of artifical intelligence which can be achieved using classical computer science."
|
|
icon = 'icons/obj/module.dmi'
|
|
icon_state = "mainboard"
|
|
w_class = ITEMSIZE_NORMAL
|
|
origin_tech = list(TECH_ENGINEERING = 4, TECH_MATERIAL = 3, TECH_DATA = 4)
|
|
|
|
/obj/item/device/mmi/digital/robot/New()
|
|
..()
|
|
src.brainmob.name = "[pick(list("ADA","DOS","GNU","MAC","WIN"))]-[rand(1000, 9999)]"
|
|
src.brainmob.real_name = src.brainmob.name
|
|
src.name = "robotic intelligence circuit ([src.brainmob.name])"
|
|
|
|
/obj/item/device/mmi/digital/robot/transfer_identity(var/mob/living/carbon/H)
|
|
..()
|
|
if(brainmob.mind)
|
|
brainmob.mind.assigned_role = "Robotic Intelligence"
|
|
brainmob << "<span class='notify'>You feel slightly disoriented. That's normal when you're little more than a complex circuit.</span>"
|
|
return
|
|
|
|
/obj/item/device/mmi/digital/robot/attack_self(mob/user as mob)
|
|
return //This object is technically a brain, and should not be dumping brains out of itself like its parent object does. |