So, the autodoc couldn't remove shrapnel because it wasn't using "locate" to find shrapnel in the limbs, like how surgery code does it, so it never found any.
"if(/obj/item/material/shard/shrapnel in external.implants)" VS "if(locate(/obj/item/material/shard/shrapnel) in external.implants)"
Implemented that and it worked as expected.
Why It's Good For The Game
Unbuggening the autodoc seems useful for when there's no surgeons arounds.
watch this break everything.
About The Pull Request
So, the autodoc couldn't remove shrapnel because it wasn't using "locate" to find shrapnel in the limbs, like how surgery code does it, so it never found any.
"if(/obj/item/material/shard/shrapnel in external.implants)" VS "if(locate(/obj/item/material/shard/shrapnel) in external.implants)"
Implemented that and it worked as expected.
Why It's Good For The Game
Unbuggening the autodoc seems useful for when there's no surgeons arounds.
Changelog