Allows Circuit-Brains (Digital) to be chosen as an FBP brain-type. (#2008)

* Allows Circuit-Brains (Digital) to be chosen as an FBP brain-type.

* Fixes an Oops made with Status. (Thanks Zuh)
This commit is contained in:
Mechoid
2016-06-30 06:03:53 -07:00
committed by Datraen
parent be3d6608e7
commit d1eb23ee8b
4 changed files with 27 additions and 1 deletions
+3
View File
@@ -259,6 +259,9 @@ var/list/organ_cache = list()
min_bruised_damage = 15
min_broken_damage = 35
/obj/item/organ/proc/digitize() //Used to make the circuit-brain. On this level in the event more circuit-organs are added/tweaks are wanted.
robotize()
/obj/item/organ/emp_act(severity)
if(!(robotic >= ORGAN_ROBOT))
return
+10 -1
View File
@@ -84,9 +84,18 @@
/obj/item/organ/internal/mmi_holder/posibrain
name = "positronic brain interface"
brain_type = /obj/item/device/mmi/digital/posibrain
/obj/item/organ/internal/mmi_holder/posibrain/update_from_mmi()
..()
stored_mmi.icon_state = "posibrain-occupied"
icon_state = stored_mmi.icon_state
/obj/item/organ/internal/mmi_holder/robot
name = "digital brain interface"
brain_type = /obj/item/device/mmi/digital/robot
/obj/item/organ/internal/mmi_holder/robot/update_from_mmi()
..()
stored_mmi.icon_state = "mainboard"
icon_state = stored_mmi.icon_state