mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-07-16 10:12:19 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user