Syringe Refactor. Overhauls Lethal Injection Syringe (#12467)

* Syringe Refactor. Overhauls Lethal Injection Syringe

* fixes
This commit is contained in:
variableundefined
2019-10-04 14:48:35 -04:00
committed by GitHub
25 changed files with 90 additions and 200 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