updates all BODYPART_ORGANIC occurances

:)
This commit is contained in:
DeltaFire
2020-10-06 18:01:25 +02:00
parent 4146566af0
commit 06cb91ca3d
13 changed files with 41 additions and 33 deletions
@@ -19,8 +19,10 @@
return
if(!L.can_inject(user, TRUE, user.zone_selected, FALSE, TRUE)) //stopped by clothing, not by species immunity.
return
if(affecting.status != BODYPART_ORGANIC)
if(!affecting.is_organic_limb())
to_chat(user, "<span class='notice'>Medicine won't work on a robotic limb!</span>")
else if(!affecting.is_organic_limb(FALSE))
to_chat(user, "<span class='notice'>Medical patches won't work on a biomechanical limb!</span>")
return
..()