Adds more customization to robotic internal organs but it is not broken (#13068)

This commit is contained in:
Alberyk
2022-02-06 18:07:42 -03:00
committed by GitHub
parent ea5f66fa4c
commit f42edd018e
30 changed files with 130 additions and 60 deletions
+3 -4
View File
@@ -1,6 +1,6 @@
/obj/item/organ
name = "organ"
icon = 'icons/obj/surgery.dmi'
icon = 'icons/obj/organs/organs.dmi'
drop_sound = 'sound/items/drop/flesh.ogg'
pickup_sound = 'sound/items/pickup/flesh.ogg'
default_action_type = /datum/action/item_action/organ
@@ -31,8 +31,9 @@
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
var/robotic_sprite = TRUE
var/emp_coeff = 1 //coefficient for damages taken by EMP, if the organ is robotic.
var/model
//Lists.
var/list/transplant_data
@@ -363,8 +364,6 @@
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()