mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 06:54:18 +01:00
Assisted organ fix (#16315)
* Assisted Organ Fix Fixes assisted organs being turned into mechanical variants. i.e. Currently choosing an assisted heart gives you an assisted circulatory pump, not a pacemaker. * This should probably use the define. * copy-paste error
This commit is contained in:
@@ -360,12 +360,16 @@
|
||||
name = robotic_name
|
||||
|
||||
/obj/item/organ/proc/mechassist() //Used to add things like pacemakers, etc
|
||||
robotize()
|
||||
status = ORGAN_ASSISTED
|
||||
robotic = 1
|
||||
if(!robotize_type)
|
||||
name = initial(name)
|
||||
icon_state = initial(icon_state)
|
||||
robotic = ROBOTIC_ASSISTED
|
||||
switch(organ_tag)
|
||||
if(BP_HEART)
|
||||
name = "pacemaker-assisted [initial(name)]"
|
||||
if(BP_EYES)
|
||||
name = "retinal overlayed [initial(name)]"
|
||||
else
|
||||
name = "mechanically assisted [initial(name)]"
|
||||
icon_state = initial(icon_state)
|
||||
|
||||
/obj/item/organ/emp_act(var/severity)
|
||||
if(!(status & ORGAN_ASSISTED))
|
||||
|
||||
Reference in New Issue
Block a user