Allows crew to spawn with more mechanical or assisted organs. (#7689)

This commit is contained in:
Matt Atlas
2019-12-18 22:46:20 +01:00
committed by Werner
parent 9fbefb950c
commit 6cf3508082
4 changed files with 60 additions and 13 deletions
+3 -9
View File
@@ -305,12 +305,8 @@
/obj/item/organ/proc/robotize() //Being used to make robutt hearts, etc
robotic = 2
src.status &= ~ORGAN_BROKEN
src.status &= ~ORGAN_BLEEDING
src.status &= ~ORGAN_SPLINTED
src.status &= ~ORGAN_CUT_AWAY
src.status |= ORGAN_ROBOT
src.status |= ORGAN_ASSISTED
status = ORGAN_ROBOT
status |= ORGAN_ASSISTED
if(robotic_name)
name = robotic_name
if(robotic_sprite)
@@ -318,10 +314,8 @@
/obj/item/organ/proc/mechassist() //Used to add things like pacemakers, etc
robotize()
src.status &= ~ORGAN_ROBOT
status = ORGAN_ASSISTED
robotic = 1
min_bruised_damage = 15
min_broken_damage = 35
if(!robotize_type)
name = initial(name)
icon_state = initial(icon_state)