mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
@@ -118,7 +118,7 @@
|
||||
underlays.Cut()
|
||||
if(bayonet)
|
||||
var/image/I
|
||||
I = image(icon = 'icons/obj/guns/bayonet.dmi', "bayonet")
|
||||
I = image(icon = 'icons/obj/guns/bayonet.dmi', icon_state = "bayonet")
|
||||
I.pixel_x = knife_x_offset
|
||||
I.pixel_y = knife_y_offset
|
||||
underlays += I
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
reagents.my_atom = src
|
||||
|
||||
/obj/item/projectile/bullet/chemdart/on_hit(var/atom/target, var/blocked = 0, var/def_zone = null)
|
||||
if(blocked < 100 && isliving(target))
|
||||
var/mob/living/L = target
|
||||
if(L.can_inject(target_zone=def_zone))
|
||||
reagents.trans_to_mob(L, reagent_amount, CHEM_BLOOD)
|
||||
if(blocked < 100 && ishuman(target))
|
||||
var/mob/living/carbon/human/H = target
|
||||
if(H.can_inject(target_zone=def_zone))
|
||||
reagents.trans_to_mob(H, reagent_amount, CHEM_BLOOD)
|
||||
|
||||
/obj/item/ammo_casing/chemdart
|
||||
name = "chemical dart"
|
||||
|
||||
Reference in New Issue
Block a user