mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-10 23:47:08 +01:00
Some Robotic Things (#11406)
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
|
||||
/obj/item/device/mmi/digital/posibrain/Initialize()
|
||||
. = ..()
|
||||
brainmob.name = "[pick(list("PBU","HIU","SINA","ARMA","OSI"))]-[rand(100, 999)]"
|
||||
var/datum/language/L = all_languages[LANGUAGE_EAL]
|
||||
brainmob.name = L.get_random_name()
|
||||
brainmob.real_name = brainmob.name
|
||||
|
||||
/obj/item/device/mmi/digital/posibrain/attack_self(mob/user)
|
||||
|
||||
@@ -255,7 +255,11 @@
|
||||
return
|
||||
|
||||
var/mob/living/carbon/human/new_shell = new(get_turf(src), chest.linked_frame)
|
||||
forceMove(new_shell) //so people won't mess around with the chassis until it is deleted
|
||||
// replace the IPC's microbattery cell with the one that was in the robot chest
|
||||
var/obj/item/organ/internal/cell/C = new_shell.internal_organs_by_name[BP_CELL]
|
||||
C.replace_cell(chest.cell)
|
||||
//so people won't mess around with the chassis until it is deleted
|
||||
forceMove(new_shell)
|
||||
M.brainmob.mind.transfer_to(new_shell)
|
||||
qdel(M)
|
||||
new_shell.add_language(LANGUAGE_EAL)
|
||||
@@ -265,6 +269,8 @@
|
||||
newname = L.get_random_name()
|
||||
new_shell.real_name = newname
|
||||
new_shell.name = new_shell.real_name
|
||||
var/obj/item/organ/internal/mmi_holder/posibrain/P = new_shell.internal_organs_by_name[BP_BRAIN]
|
||||
P.setup_brain()
|
||||
new_shell.change_appearance(APPEARANCE_ALL_HAIR | APPEARANCE_SKIN | APPEARANCE_EYE_COLOR, new_shell)
|
||||
qdel(src)
|
||||
return
|
||||
@@ -431,4 +437,4 @@
|
||||
|
||||
/obj/item/robot_parts/chest/industrial
|
||||
name = "Hephaestus industrial torso"
|
||||
linked_frame = SPECIES_IPC_G1
|
||||
linked_frame = SPECIES_IPC_G1
|
||||
|
||||
Reference in New Issue
Block a user