IPC mmi_holder is now carried in the chest

Adds an optical sensor organ (eyes) for IPCs so that losing their head
still does something to them.
This commit is contained in:
mwerezak
2015-05-27 00:38:45 -04:00
parent 2098c80849
commit 7423f2ecfd
2 changed files with 16 additions and 2 deletions
@@ -276,7 +276,8 @@
has_organ = list(
"brain" = /obj/item/organ/mmi_holder/posibrain,
"cell" = /obj/item/organ/cell
"cell" = /obj/item/organ/cell,
"eyes" = /obj/item/organ/optical_sensor
)
has_limbs = list(
+14 -1
View File
@@ -2,6 +2,7 @@
/obj/item/organ/external/head/ipc
dislocated = -1
can_intake_reagents = 0
vital = 0
encased = null
/obj/item/organ/external/head/ipc/New()
robotize("Morpheus Cyberkinetics")
@@ -88,11 +89,23 @@
owner.stat = 0
owner.visible_message("<span class='danger'>\The [owner] twitches visibly!</span>")
/obj/item/organ/optical_sensor
name = "optical sensor"
organ_tag = "eyes"
parent_organ = "head"
icon = 'icons/obj/robot_component.dmi'
icon_state = "camera"
dead_icon = "camera_broken"
/obj/item/organ/optical_sensor/New()
robotize()
..()
// Used for an MMI or posibrain being installed into a human.
/obj/item/organ/mmi_holder
name = "brain"
organ_tag = "brain"
parent_organ = "head"
parent_organ = "chest"
vital = 1
var/obj/item/device/mmi/stored_mmi