Syringe Refactor. Overhauls Lethal Injection Syringe

This commit is contained in:
Fox McCloud
2019-09-30 18:25:36 -04:00
parent 7766b47093
commit a97d050f4b
25 changed files with 89 additions and 203 deletions
@@ -233,7 +233,7 @@
name = "dart"
icon_state = "cbbolt"
damage = 6
var/piercing = 0
var/piercing = FALSE
/obj/item/projectile/bullet/dart/New()
..()
@@ -244,7 +244,7 @@
if(iscarbon(target))
var/mob/living/carbon/M = target
if(blocked != 100)
if(M.can_inject(null,0,hit_zone)) // Pass the hit zone to see if it can inject by whether it hit the head or the body.
if(M.can_inject(null, FALSE, hit_zone, piercing)) // Pass the hit zone to see if it can inject by whether it hit the head or the body.
..()
reagents.trans_to(M, reagents.total_volume)
return 1