IPC Organs - Initial Commit

The basics are all here, but there are complications with making surgery code function with them properly. To be tested and troubeshot, and patched.
This commit is contained in:
skull132
2015-10-13 13:36:02 +03:00
parent 2cf2eb2014
commit cf810e7c9d
9 changed files with 271 additions and 56 deletions
+18 -5
View File
@@ -150,6 +150,19 @@
/obj/item/organ/eyes/prosthetic
robotic = 2
/obj/item/organ/eyes/robot
name = "charge-coupled device"
icon_state = ""
organ_type = /datum/organ/internal/eyes/robot
robotic = 2
exposed_to_the_world()
var/obj/item/robot_parts/robot_component/camera/Camera = new()
if(organ_data.damage)
Camera.brute = organ_data.damage
del(src)
return Camera
/obj/item/organ/liver/prosthetic
robotic = 2
@@ -180,11 +193,11 @@
msg_admin_attack("[user.name] ([user.ckey]) removed a vital organ ([src]) from [target.name] ([target.ckey]) (INTENT: [uppertext(user.a_intent)]) (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[user.x];Y=[user.y];Z=[user.z]'>JMP</a>)")
target.death()
/obj/item/organ/proc/exposed_to_the_world() // this is only useful for organs that change when actually removed from the body
return
return
/obj/item/organ/appendix/removed(var/mob/living/target,var/mob/living/user)
..()
@@ -277,4 +290,4 @@
if(fingerprintslast) O.fingerprintslast = fingerprintslast
user.put_in_active_hand(O)
del(src)
del(src)