Revert "Adds more customization to robotic internal organs (#12994)" (#13065)

This commit is contained in:
Matt Atlas
2022-02-02 19:46:57 +01:00
committed by GitHub
parent 567da024d0
commit 3225711e67
29 changed files with 60 additions and 121 deletions
+4 -3
View File
@@ -1,6 +1,6 @@
/obj/item/organ
name = "organ"
icon = 'icons/obj/organs/organs.dmi'
icon = 'icons/obj/surgery.dmi'
drop_sound = 'sound/items/drop/flesh.ogg'
pickup_sound = 'sound/items/pickup/flesh.ogg'
default_action_type = /datum/action/item_action/organ
@@ -31,9 +31,8 @@
var/robotic = 0 //For being a robot
var/robotize_type // If set, this organ type will automatically be roboticized with this manufacturer.
var/robotic_name
var/robotic_sprite = TRUE
var/robotic_sprite
var/emp_coeff = 1 //coefficient for damages taken by EMP, if the organ is robotic.
var/model
//Lists.
var/list/transplant_data
@@ -364,6 +363,8 @@
status |= ORGAN_ASSISTED
if(robotic_name)
name = robotic_name
if(robotic_sprite)
icon_state = robotic_sprite
/obj/item/organ/proc/mechassist() //Used to add things like pacemakers, etc
robotize()