mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
Reinserted positronic brains are now properly robotic
Also tweaks the error message for operating on a meaty body
This commit is contained in:
@@ -386,7 +386,7 @@
|
||||
return 2
|
||||
|
||||
if(!(affected.status & ORGAN_ROBOT))
|
||||
user << "<span class='danger'>You cannot install a computer brain into a meat skull.</span>"
|
||||
user << "<span class='danger'>You cannot install a computer brain into a meat enclosure.</span>"
|
||||
return 2
|
||||
|
||||
if(!target.species)
|
||||
@@ -416,6 +416,9 @@
|
||||
|
||||
var/obj/item/device/mmi/M = tool
|
||||
var/obj/item/organ/mmi_holder/holder = new(target, 1)
|
||||
if (istype(M, /obj/item/device/mmi/posibrain))
|
||||
holder.robotize()
|
||||
|
||||
target.internal_organs_by_name["brain"] = holder
|
||||
user.unEquip(tool)
|
||||
tool.forceMove(holder)
|
||||
|
||||
Reference in New Issue
Block a user