Allows cyborgs to perform limb augmentation (#32233)

* allows organ storage bags to be used to augment limbs

* replaces hardcoded stuff with intiial()
This commit is contained in:
swindly
2017-11-02 23:21:14 -04:00
committed by CitadelStationBot
parent 910e6b6396
commit 4f04256e46
3 changed files with 13 additions and 6 deletions
@@ -60,8 +60,8 @@
/datum/surgery_step/add_prosthetic/success(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
if(istype(tool, /obj/item/organ_storage))
tool.icon_state = "evidenceobj"
tool.desc = "A container for holding body parts."
tool.icon_state = initial(tool.icon_state)
tool.desc = initial(tool.desc)
tool.cut_overlays()
tool = tool.contents[1]
if(istype(tool, /obj/item/bodypart) && user.temporarilyRemoveItemFromInventory(tool))