From f148eb0a4c3ee3ec2ee80e8ae921e2910417b0ad Mon Sep 17 00:00:00 2001 From: shellspeed1 Date: Sun, 31 Oct 2021 03:24:24 -0700 Subject: [PATCH] minor cleanup --- .../modules/projectiles/ammunition/special/syringe.dm | 10 +++++----- code/modules/projectiles/guns/misc/chem_gun.dm | 11 ++++++----- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/code/modules/projectiles/ammunition/special/syringe.dm b/code/modules/projectiles/ammunition/special/syringe.dm index 0cad21cca4..02178f3bee 100644 --- a/code/modules/projectiles/ammunition/special/syringe.dm +++ b/code/modules/projectiles/ammunition/special/syringe.dm @@ -24,7 +24,7 @@ /obj/item/ammo_casing/chemgun name = "dart synthesiser" - desc = "A high-power spring, linked to an energy-based dart synthesiser." + desc = "A high-power spring, linked to an energy-based piercing synthesiser." projectile_type = /obj/item/projectile/bullet/dart/piercing firing_effect_type = null @@ -44,10 +44,10 @@ CG.syringes_left-- ..() -//smart dart test +//Smart dart version of reagent launcher. /obj/item/ammo_casing/chemgun/smart - name = "smart dart synthesiser" - desc = "test." + 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 @@ -59,7 +59,7 @@ var/obj/item/gun/chem/smart/SG = loc if(SG.syringes_left <= 0) return - SG.reagents.trans_to(BB, 10) + SG.reagents.trans_to(BB, 20) //change to set syringe transfer BB.name = "Smart chemical dart" SG.syringes_left-- ..() diff --git a/code/modules/projectiles/guns/misc/chem_gun.dm b/code/modules/projectiles/guns/misc/chem_gun.dm index 073a283f10..a23d534ca1 100644 --- a/code/modules/projectiles/guns/misc/chem_gun.dm +++ b/code/modules/projectiles/guns/misc/chem_gun.dm @@ -1,8 +1,8 @@ //his isn't a subtype of the syringe gun because the syringegun subtype is made to hold syringes //this is meant to hold reagents/obj/item/gun/syringe /obj/item/gun/chem - name = "reagent gun" - desc = "A Nanotrasen syringe gun, modified to automatically synthesise chemical darts, and instead hold reagents." + name = "Reagent Repeater" + desc = "A Nanotrasen smartdart repeater rifle, modified to automatically synthesize piercing." icon_state = "chemgun" item_state = "chemgun" w_class = WEIGHT_CLASS_NORMAL @@ -32,6 +32,7 @@ . = ..() STOP_PROCESSING(SSobj, src) +//bunch of hypospray copy paste /obj/item/gun/chem/examine(mob/user) . = ..() if(vial) @@ -108,9 +109,10 @@ chambered.newshot() last_synth = world.time +//Smart dart version of the reagent launcher /obj/item/gun/chem/smart - name = "improved smartdart gun" - desc = "A Nanotrasen syringe gun, modified to automatically synthesise smart chemical darts, and instead hold reagents." + 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." icon_state = "chemgun" item_state = "chemgun" @@ -118,5 +120,4 @@ obj/item/gun/chem/smart/Initialize() . = ..() chambered = new /obj/item/ammo_casing/chemgun/smart(src) START_PROCESSING(SSobj, src) - create_reagents(100, OPENCONTAINER)