This commit is contained in:
shellspeed1
2021-10-31 05:04:08 -07:00
parent 026ce5dec4
commit 973d471dd4
2 changed files with 7 additions and 7 deletions
@@ -38,7 +38,7 @@
if (CG.vial == null)
CG.syringes_left--
return
CG.vial.reagents.trans_to(BB, 10)
CG.vial.reagents.trans_to(BB,10)
BB.name = "chemical dart"
CG.syringes_left--
..()
@@ -48,23 +48,23 @@
name = "smartdart synthesiser"
desc = "A high-power spring, linked to an energy-based smartdart synthesiser."
projectile_type = /obj/item/projectile/bullet/dart/syringe/dart
firing_effect_type = null
harmful = FALSE
/obj/item/ammo_casing/chemgun/ready_proj(atom/target, mob/living/user, quiet, zone_override = "")
/obj/item/ammo_casing/chemgun/smart/ready_proj(atom/target, mob/living/user, quiet, zone_override = "")
if(!BB)
return
if(istype(loc, /obj/item/gun/chem))
var/obj/item/gun/chem/CG = loc
if(istype(loc, /obj/item/gun/chem/smart))
var/obj/item/gun/chem/smart/CG = loc
if(CG.syringes_left <= 0)
return
if (CG.vial == null)
CG.syringes_left--
return
CG.vial.reagents.trans_to(BB, 20)
CG.vial.reagents.trans_to(BB,20)
BB.name = "smart chemical dart"
CG.syringes_left--
..()
/obj/item/ammo_casing/dnainjector
name = "rigged syringe gun spring"
desc = "A high-power spring that throws DNA injectors."
@@ -110,7 +110,7 @@
//Smart dart version of the reagent launcher
/obj/item/gun/chem/smart
name = "smartdart repeater rifle"
desc = "An experimental version of the repeater rifle. It synthesizes medicinal smart darts which it fills using an inserted hypovial. It can accommodate both large and small hypovials."
desc = "An experimental improved version of the smart dart rifle. It synthesizes medicinal smart darts which it fills using an inserted hypovial. It can accommodate both large and small hypovials."
icon_state = "chemgun"
item_state = "chemgun"