diff --git a/code/game/objects/items/gunbox.dm b/code/game/objects/items/gunbox.dm index 6089ad76b2..c8760f72f9 100644 --- a/code/game/objects/items/gunbox.dm +++ b/code/game/objects/items/gunbox.dm @@ -1,15 +1,36 @@ +/* + * Detective Lethal + */ /obj/item/gunbox - name = "detective's gun box" - desc = "A secure box containing a Detective's sidearm." + name = "sidearm box" + desc = "A secure box containing a lethal sidearm." icon = 'icons/obj/storage.dmi' icon_state = "gunbox" w_class = ITEMSIZE_HUGE - /obj/item/gunbox/attack_self(mob/living/user) var/list/options = list() options[".45 Pistol"] = list(/obj/item/weapon/gun/projectile/colt/detective, /obj/item/ammo_magazine/m45/rubber, /obj/item/ammo_magazine/m45/rubber) options[".45 Revolver"] = list(/obj/item/weapon/gun/projectile/revolver/detective45, /obj/item/ammo_magazine/s45/rubber, /obj/item/ammo_magazine/s45/rubber) var/choice = tgui_input_list(user,"Would you prefer a pistol or a revolver?", "Gun!", options) + if(src && choice) + var/list/things_to_spawn = options[choice] + for(var/new_type in things_to_spawn) // Spawn all the things, the gun and the ammo. + var/atom/movable/AM = new new_type(get_turf(src)) + if(istype(AM, /obj/item/weapon/gun)) + to_chat(user, "You have chosen \the [AM]. Say hello to your new friend.") + qdel(src) + +/* + * Detective Stun + */ +/obj/item/gunbox/stun + name = "non-lethal sidearm box" + desc = "A secure box containing a non-lethal sidearm." +/obj/item/gunbox/stun/attack_self(mob/living/user) + var/list/options = list() + options["Stun Revolver"] = list(/obj/item/weapon/gun/energy/stunrevolver/detective, /obj/item/weapon/cell/device/weapon, /obj/item/weapon/cell/device/weapon) + options["Taser"] = list(/obj/item/weapon/gun/energy/taser, /obj/item/weapon/cell/device/weapon, /obj/item/weapon/cell/device/weapon) + var/choice = tgui_input_list(user,"Please, select an option.", "Stun Gun!", options) if(src && choice) var/list/things_to_spawn = options[choice] for(var/new_type in things_to_spawn) // Spawn all the things, the gun and the ammo. diff --git a/code/game/objects/random/guns_and_ammo.dm b/code/game/objects/random/guns_and_ammo.dm index ee67551914..990527ac22 100644 --- a/code/game/objects/random/guns_and_ammo.dm +++ b/code/game/objects/random/guns_and_ammo.dm @@ -460,9 +460,9 @@ /obj/item/ammo_magazine/s44 ), prob(1);list( - /obj/item/weapon/gun/projectile/revolver/webley/auto, - /obj/item/ammo_magazine/s44, - /obj/item/ammo_magazine/s44 + /obj/item/weapon/gun/projectile/revolver/consul, + /obj/item/ammo_magazine/s44/rubber, + /obj/item/ammo_magazine/s44/rubber ) ) diff --git a/code/game/objects/structures/crates_lockers/closets/secure/security.dm b/code/game/objects/structures/crates_lockers/closets/secure/security.dm index 65ea14bb4d..4d4b794fbc 100644 --- a/code/game/objects/structures/crates_lockers/closets/secure/security.dm +++ b/code/game/objects/structures/crates_lockers/closets/secure/security.dm @@ -236,7 +236,7 @@ /obj/item/clothing/accessory/badge/holo/detective, /obj/item/clothing/gloves/black, ///obj/item/gunbox, // VOREStation Removal - /obj/item/weapon/gun/energy/stunrevolver/vintage, + /obj/item/gunbox/stun, /obj/item/weapon/storage/belt/detective, /obj/item/weapon/storage/box/evidence, /obj/item/device/radio/headset/headset_sec, diff --git a/code/modules/mob/living/silicon/robot/robot_modules/swarm.dm b/code/modules/mob/living/silicon/robot/robot_modules/swarm.dm index f125b4b0eb..09c7704cff 100644 --- a/code/modules/mob/living/silicon/robot/robot_modules/swarm.dm +++ b/code/modules/mob/living/silicon/robot/robot_modules/swarm.dm @@ -27,3 +27,12 @@ ..() src.modules += new /obj/item/weapon/melee/energy/sword/ionic_rapier/lance(src) + +//Swarm Disabler Module +/obj/item/weapon/gun/energy/taser/mounted/cyborg/swarm + name = "disabler" + desc = "An archaic device which attacks the target's nervous-system or control circuits." + icon_state = "disabler" + projectile_type = /obj/item/projectile/beam/stun/disabler + charge_cost = 800 + recharge_time = 0.5 SECONDS \ No newline at end of file diff --git a/code/modules/projectiles/ammunition/magazines.dm b/code/modules/projectiles/ammunition/magazines.dm index b678ec8d9e..d5dd39e82f 100644 --- a/code/modules/projectiles/ammunition/magazines.dm +++ b/code/modules/projectiles/ammunition/magazines.dm @@ -583,6 +583,10 @@ /obj/item/ammo_magazine/m44/empty initial_ammo = 0 +/obj/item/ammo_magazine/m44/rubber + desc = "magazine (.44 rubber)" + ammo_type = /obj/item/ammo_casing/a44/rubber + // Stripper Clip /obj/item/ammo_magazine/clip/c44 name = "ammo clip (.44)" diff --git a/code/modules/projectiles/ammunition/rounds.dm b/code/modules/projectiles/ammunition/rounds.dm index 5609e6f46a..45d2d5aad5 100644 --- a/code/modules/projectiles/ammunition/rounds.dm +++ b/code/modules/projectiles/ammunition/rounds.dm @@ -56,6 +56,25 @@ matter = list(MAT_PLASTIC = 20) caseless = TRUE +/obj/item/ammo_casing/a357/rubber + desc = "A .357 rubber bullet casing." + caliber = ".357" + icon_state = "r-casing" + projectile_type = /obj/item/projectile/bullet/pistol/rubber/strong + matter = list(MAT_STEEL = 60) + +/obj/item/ammo_casing/a357/flash + desc = "A .357 flash bullet casing." + caliber = ".357" + icon_state = "r-casing" + projectile_type = /obj/item/projectile/energy/flash/strong + +/obj/item/ammo_casing/a357/stun + desc = "A .357 stun bullet casing." + caliber = ".357" + icon_state = "w-casing" + projectile_type = /obj/item/projectile/energy/electrode/stunshot/strong + /* * .38 */ diff --git a/code/modules/projectiles/guns/energy/stun.dm b/code/modules/projectiles/guns/energy/stun.dm index 1531a5777d..c5dd580c06 100644 --- a/code/modules/projectiles/guns/energy/stun.dm +++ b/code/modules/projectiles/guns/energy/stun.dm @@ -1,7 +1,11 @@ +/* + * Taser + */ /obj/item/weapon/gun/energy/taser name = "taser gun" desc = "The NT Mk30 NL is a small gun used for non-lethal takedowns. Produced by NT, it's actually a licensed version of a W-T RayZar design." - description_fluff = "RayZar is Ward-Takahashi’s main consumer weapons brand, known for producing and licensing a wide variety of specialist energy weapons of various types and quality primarily for the civilian market." + description_fluff = "RayZar is Ward-Takahashi’s main consumer weapons brand, known for producing and licensing a wide variety of specialist \ + energy weapons of various types and quality primarily for the civilian market." icon_state = "taser" item_state = null //so the human update icon uses the icon_state instead. projectile_type = /obj/item/projectile/beam/stun @@ -23,13 +27,20 @@ charge_cost = 400 recharge_time = 7 //Time it takes for shots to recharge (in ticks) -/obj/item/weapon/gun/energy/taser/mounted/cyborg/swarm +/* + * Disabler + */ +/obj/item/weapon/gun/energy/taser/disabler name = "disabler" - desc = "An archaic device which attacks the target's nervous-system or control circuits." + desc = "The NT Mk4 T-DL is a small gun used for non-lethal takedowns. Produced by NT, it's an archaic device which attacks the target's \ + nervous-system and is actually a heavily modified version of the NT Mk30 NL. It's use is heavily regulated due to its effects on the body." + icon_state = "disabler" projectile_type = /obj/item/projectile/beam/stun/disabler - charge_cost = 800 - recharge_time = 0.5 SECONDS + charge_cost = 480 +/* + * Crossbow + */ /obj/item/weapon/gun/energy/crossbow name = "mini energy-crossbow" desc = "A weapon favored by many mercenary stealth specialists." @@ -53,12 +64,16 @@ /obj/item/weapon/gun/energy/crossbow/largecrossbow name = "energy crossbow" desc = "A weapon favored by mercenary infiltration teams." + icon_state = "crossbowlarge" w_class = ITEMSIZE_LARGE force = 10 matter = list(MAT_STEEL = 200000) slot_flags = SLOT_BELT projectile_type = /obj/item/projectile/energy/bolt/large +/* + * Plasma Stun + */ /obj/item/weapon/gun/energy/plasmastun name = "plasma pulse projector" desc = "The RayZar MA21 Selkie is a weapon that uses a laser pulse to ionise the local atmosphere, creating a disorienting pulse of plasma and deafening shockwave as the wave expands." @@ -71,11 +86,12 @@ charge_cost = 600 projectile_type = /obj/item/projectile/energy/plasmastun -//Stun Revolvers - +/* + * Stun Revolver + */ /obj/item/weapon/gun/energy/stunrevolver name = "stun revolver" - desc = "A LAEP20 Aktzin. Designed and produced by Lawson Arms under the wing of Hephaestus, \ + desc = "A LAEP20 \"Aktzin\". Designed and produced by Lawson Arms under the wing of Hephaestus, \ several TSCs have been trying to get a hold of the blueprints for half a decade." description_fluff = "Lawson Arms is Hephaestus Industries’ main personal-energy-weapon branding, \ often sold alongside MarsTech projectile weapons to security and law enforcement agencies. \ @@ -85,12 +101,92 @@ item_state = "stunrevolver" origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 3, TECH_POWER = 2) projectile_type = /obj/item/projectile/energy/electrode/strong - charge_cost = 300 + charge_cost = 400 +/* + * Detective Stun Revolver + */ +/obj/item/weapon/gun/energy/stunrevolver/detective + desc = "A LAEP20 \"Aktzin\". Designed and produced by Lawson Arms under the wing of Hephaestus, \ + several TSCs have been trying to get a hold of the blueprints for half a decade." + var/unique_reskin + +/obj/item/weapon/gun/energy/stunrevolver/detective/update_icon(var/ignore_inhands) + if(power_supply == null) + if(unique_reskin) + icon_state = "[unique_reskin]_open" + else + icon_state = "[initial(icon_state)]_open" + return + else if(charge_meter) + var/ratio = power_supply.charge / power_supply.maxcharge + + //make sure that rounding down will not give us the empty state even if we have charge for a shot left. + if(power_supply.charge < charge_cost) + ratio = 0 + else + ratio = max(round(ratio, 0.25) * 100, 25) + + if(unique_reskin) + icon_state = "[unique_reskin][ratio]" + else + icon_state = "[initial(icon_state)][ratio]" + + else if(power_supply) + if(unique_reskin) + icon_state = "[unique_reskin]" + else + icon_state = "[initial(icon_state)]" + + if(!ignore_inhands) update_held_icon() + +/obj/item/weapon/gun/energy/stunrevolver/detective/verb/rename_gun() + set name = "Name Gun" + set category = "Object" + set desc = "Rename your gun. If you're Security." + + var/mob/M = usr + if(!M.mind) return 0 + var/job = M.mind.assigned_role + if(job != "Detective" && job != "Security Officer" && job != "Warden" && job != "Head of Security") + to_chat(M, "You don't feel cool enough to name this gun, chump.") + return 0 + + var/input = sanitizeSafe(input("What do you want to name the gun?", ,""), MAX_NAME_LEN) + + if(src && input && !M.stat && in_range(M,src)) + name = input + to_chat(M, "You name the gun [input]. Say hello to your new friend.") + return 1 + +/obj/item/weapon/gun/energy/stunrevolver/detective/verb/reskin_gun() + set name = "Resprite gun" + set category = "Object" + set desc = "Click to choose a sprite for your gun." + + var/mob/M = usr + var/list/options = list() + options["Lawson Arms LAEP20"] = "stunrevolver" + options["Lawson Arms LTX1020"] = "vinstunrevolver" + options["Lawson Arms LTX1010"] = "snubstun2revolver" + options["Lawson Arms LTX1020 (Blued)"] = "bluedstunrevolver" + options["Lawson Arms LTX1020 (Stainless)"] = "stainstunrevolver" + options["Lawson Arms LTX1020 (Ace)"] = "snubstunrevolver" + options["Lawson Arms LTX1020 (Gold)"] = "goldstunrevolver" + var/choice = input(M,"Choose your sprite!","Resprite Gun") in options + if(src && choice && !M.stat && in_range(M,src)) + icon_state = options[choice] + unique_reskin = options[choice] + to_chat(M, "Your gun is now sprited as [choice]. Say hello to your new friend.") + return 1 + +/* + * Vintage Stun Revolver + */ /obj/item/weapon/gun/energy/stunrevolver/vintage name = "vintage stun revolver" desc = "An older model stun revolver that is still in service across the frontier." - description_fluff = "The LTX1020 Bolter, a Firefly Co. staple from when the company was in its hayday. \ + description_fluff = "The LTX1020 \"Bolter\", a Firefly Co. staple from when the company was in its hayday. \ While Firefly Co. has sadly been dissmantled due to bankruptcy, their iconic weapons can still be found \ across the frontier as anything from collectors items to surplus equipment. The LTX1020 falls under \ the latter category. Several companies have been known to use the base tech within the Bolter to create \ @@ -99,10 +195,13 @@ item_state = "stunrevolver" origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 3, TECH_POWER = 2) +/* + * Snubnose Stun Revolver + */ /obj/item/weapon/gun/energy/stunrevolver/snubnose name = "snub stun revolver" desc = "A snub nose stun revolver sporting a rather elegant look." - description_fluff = "The LTX1010 Stubby, a Firefly Co. staple from when the company was in its hayday. \ + description_fluff = "The LTX1010 \"Stubby\", a Firefly Co. staple from when the company was in its hayday. \ While Firefly Co. has sadly been dissmantled due to bankruptcy, their iconic weapons can still be found \ across the frontier as anything from collectors items to surplus equipment. The LTX1010 falls under \ the latter category. Gangsters and other gentlemanly criminals alike use the Stubby as a means of policing \ diff --git a/code/modules/projectiles/guns/projectile/pistol.dm b/code/modules/projectiles/guns/projectile/pistol.dm index 4c563d8a31..7e714cb048 100644 --- a/code/modules/projectiles/guns/projectile/pistol.dm +++ b/code/modules/projectiles/guns/projectile/pistol.dm @@ -1,3 +1,6 @@ +/* + * M1911 + */ /obj/item/weapon/gun/projectile/colt var/unique_reskin name = ".45 pistol" @@ -22,6 +25,9 @@ else icon_state = "[initial(icon_state)]-e" +/* + * Detective M1911 + */ /obj/item/weapon/gun/projectile/colt/detective desc = "A standard law enforcement issue pistol. Uses .45 rounds." magazine_type = /obj/item/ammo_magazine/m45/rubber @@ -52,15 +58,13 @@ var/mob/M = usr var/list/options = list() - options["NT Mk. 58"] = "secguncomp" - options["NT Mk. 58 Custom"] = "secgundark" - options["MarsTech P11 Spur"] = "colt" - options["MarsTech P59 Massif"] = "fnseven" - options["ProTek YC9"] = "usp" - options["ProTek Minx"] = "VP78" - options["Jindal T15 Chooha"] = "p08" - options["Jindal KP-45W"] = "p08b" - options["PCA-11 Tenzu"] = "enforcer_black" + options["MarsTech P11 Spur (Bubba'd)"] = "mod_colt" + options["MarsTech P11 Spur (Blued)"] = "blued_colt" + options["MarsTech P11 Spur (Gold)"] = "gold_colt" + options["MarsTech P11 Spur (Stainless)"] = "stainless_colt" + options["MarsTech P11 Spur (Dark)"] = "dark_colt" + options["MarsTech P11 Spur (Green)"] = "green_colt" + options["MarsTech P11 Spur (Blue)"] = "blue_colt" var/choice = tgui_input_list(M,"Choose your sprite!","Resprite Gun", options) if(src && choice && !M.stat && in_range(M,src)) icon_state = options[choice] diff --git a/code/modules/projectiles/guns/projectile/revolver.dm b/code/modules/projectiles/guns/projectile/revolver.dm index 3095666b83..ba2f77ce43 100644 --- a/code/modules/projectiles/guns/projectile/revolver.dm +++ b/code/modules/projectiles/guns/projectile/revolver.dm @@ -1,3 +1,6 @@ +/* + * Revolver + */ /obj/item/weapon/gun/projectile/revolver name = "revolver" desc = "The MarsTech HE Colt is a choice revolver for when you absolutely, positively need to put a hole in the other guy. Uses .357 rounds." @@ -38,12 +41,12 @@ chamber_offset = 0 return ..() -/obj/item/weapon/gun/projectile/revolver/mateba - name = "mateba" - desc = "This unique looking handgun is named after an Italian company famous for the original manufacture of these revolvers, and pasta kneading machines. Uses .357 rounds." // Yes I'm serious. -Spades - icon_state = "mateba" - origin_tech = list(TECH_COMBAT = 2, TECH_MATERIAL = 2) +/obj/item/weapon/gun/projectile/revolver/stainless + icon_state = "revolver_stainless" +/* + * Detective Revolver + */ /obj/item/weapon/gun/projectile/revolver/detective name = "revolver" desc = "A standard MarsTech R1 snubnose revolver, popular among some law enforcement agencies for its simple, long-lasting construction. Uses .38-Special rounds." @@ -80,7 +83,6 @@ ammo_type = /obj/item/ammo_casing/a45/rubber max_shells = 6 - /obj/item/weapon/gun/projectile/revolver/detective45/verb/rename_gun() set name = "Name Gun" set category = "Object" @@ -108,22 +110,65 @@ var/mob/M = usr var/list/options = list() options["MarsTech R1 Snubnose"] = "detective" - options["ProTek Cowboy"] = "GP100" + options["MarsTech R1 Snubnose (Blued)"] = "detective_blued" + options["MarsTech R1 Snubnose (Stainless)"] = "detective_stainless" + options["MarsTech R1 Snubnose (Gold)"] = "detective_stainless" + options["MarsTech R1 Snubnose (Leopard)"] = "detective_leopard" options["MarsTech Frontiersman Classic"] = "detective_peacemaker" options["MarsTech Frontiersman Shadow"] = "detective_peacemaker_dark" - options["MarsTech Panther"] = "detective_panther" - options["Jindal Duke"] = "lemat_old" - options["H-H Sindri"] = "webley" - options["Lombardi Buzzard"] = "detective_buzzard" - options["Lombardi Constable Deluxe 2502"] = "detective_constable" + options["Jindal Duke"] = "detective_fitz" + options["H-H M1895"] = "nagant" var/choice = tgui_input_list(M,"Choose your sprite!","Resprite Gun", options) if(src && choice && !M.stat && in_range(M,src)) icon_state = options[choice] to_chat(M, "Your gun is now sprited as [choice]. Say hello to your new friend.") return 1 +/* + * Lombardi Revolvers + * Use to be detective revolvers until seperated + */ +/obj/item/weapon/gun/projectile/revolver/lombardi + name = "Lombardi Buzzard" + desc = "A rugged revolver that is mostly used by small law enforcement agencies across the frontier as a cheap, reliable sidearm. Uses .357 rounds." + icon_state = "lombardi_police" + origin_tech = list(TECH_COMBAT = 2, TECH_MATERIAL = 2) -// Blade Runner pistol. +/obj/item/weapon/gun/projectile/revolver/lombardi/panther + name = "Lombardi Panther" + icon_state = "lombardi_panther" + +/obj/item/weapon/gun/projectile/revolver/lombardi/gold + name = "Lombardi Deluxe 2502" + desc = "A sweet looking revolver that is deocrated with false gold and silver plating. Favored among by gamblers and criminals alike. Uses .357 rounds." + icon_state = "lombardi_gold" + +/* + * Captain's Peacekeeper + */ +/obj/item/weapon/gun/projectile/revolver/cappeacekeeper + name = "decorated peacekeeper" + desc = "A MarsTech Frontiersman revolver that has been heavily modified. It has been decorated for personal use by command officers. Uses .44 rounds." + description_fluff = "The leading civilian-sector high-quality small arms brand of Hephaestus Industries, \ + MarsTech has been the provider of choice for law enforcement and security forces for over 300 years." + icon_state = "captains_peacemaker" + caliber = ".44" + origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 2) + ammo_type = /obj/item/ammo_casing/a44 + +/* + * Mateba + */ +/obj/item/weapon/gun/projectile/revolver/mateba + name = "mateba" + desc = "This unique looking handgun is named after an Italian company famous for the original manufacture of \ + these revolvers, and pasta kneading machines. Uses .357 rounds." // Yes I'm serious. -Spades + icon_state = "mateba" + origin_tech = list(TECH_COMBAT = 2, TECH_MATERIAL = 2) + +/* + * Deckard (Blade Runner) + */ /obj/item/weapon/gun/projectile/revolver/deckard name = "\improper Deckard .38" desc = "A custom-built revolver, based off the semi-popular Detective Special model. Uses .38-Special rounds." @@ -148,11 +193,16 @@ flick("deckard-reload",src) ..() +/* + * Judge + */ /obj/item/weapon/gun/projectile/revolver/judge name = "\"The Judge\"" desc = "A revolving hand-shotgun by Jindal Arms that packs the power of a 12 guage in the palm of your hand (if you don't break your wrist). Uses 12g rounds." - description_fluff = "While wholly owned by Hephaestus Industries, the Jindal Arms brand does not appear prominently in most company catalogues (Perhaps owing to its less than prestigious image), \ - instead being sold almost exclusively through retailers and advertising platforms targeting the 'independent roughneck' demographic." + description_fluff = "While wholly owned by Hephaestus Industries, the Jindal Arms brand does not appear \ + prominently in most company catalogues (Perhaps owing to its less than prestigious image), \ + instead being sold almost exclusively through retailers and advertising platforms targeting the \ + 'independent roughneck' demographic." icon_state = "judge" caliber = "12g" origin_tech = list(TECH_COMBAT = 2, TECH_MATERIAL = 2, TECH_ILLEGAL = 4) @@ -163,13 +213,20 @@ projectile_type = /obj/item/projectile/bullet/shotgun // ToDo: Remove accuracy debuf in exchange for slightly injuring your hand every time you fire it. +/* + * Mako + */ /obj/item/weapon/gun/projectile/revolver/lemat - name = "Mako Revolver" - desc = "The Bishamonten P100 Mako is a 9 shot revolver with a secondary firing barrel loading shotgun shells. For when you really need something dead. A rare yet deadly collector's item. Uses .38-Special and 12g rounds depending on the barrel." - description_fluff = "The Bishamonten Company operated from roughly 2150-2280 - the height of the first extrasolar colonisation boom - before filing for bankruptcy and selling off its assets to various companies that would go on to become today’s TSCs. \ - Focused on sleek ‘futurist’ designs which have largely fallen out of fashion but remain popular with collectors and people hoping to make some quick thalers from replica weapons. \ - Bishamonten weapons tended to be form over function - despite their flashy looks, most were completely unremarkable one way or another as weapons and used very standard firing mechanisms - \ - the Mako was a notable exception, and original examples are much sought after." + name = "\improper \"Mako\" Revolver" + desc = "The Bishamonten P100 Mako is a 9 shot revolver with a secondary firing barrel loading shotgun shells. \ + For when you really need something dead. A rare yet deadly collector's item. Uses .38-Special and 12g rounds depending on the barrel." + description_fluff = "The Bishamonten Company operated from roughly 2150-2280 - the height of the first \ + extrasolar colonisation boom - before filing for bankruptcy and selling off its assets to various companies \ + that would go on to become today’s TSCs. Focused on sleek ‘futurist’ designs which have largely fallen out of \ + fashion but remain popular with collectors and people hoping to make some quick thalers from replica weapons. \ + Bishamonten weapons tended to be form over function - despite their flashy looks, most were completely \ + unremarkable one way or another as weapons and used very standard firing mechanisms - the Mako was a notable \ + exception, and original examples are much sought after." icon_state = "combatrevolver" item_state = "revolver" origin_tech = list(TECH_COMBAT = 2, TECH_MATERIAL = 2) @@ -258,24 +315,41 @@ . += "It has a secondary barrel that is empty." -//Ported from Bay +/* + * Webley (Bay Port) + */ /obj/item/weapon/gun/projectile/revolver/webley name = "patrol revolver" - desc = "A rugged top break revolver commonly issued to members of the SifGuard. Uses .44 magnum rounds." + desc = "A rugged top break revolver commonly issued to planetary law enforcement offices. Uses .44 magnum rounds." description_fluff = "The Heberg-Hammarstrom Althing is a simple, head-wearing revolver made with an anti-corrosive alloy. \ - The Althing is advertised as being 'able to survive six months on the bottom of a frozen river and emerge full ready to save a life'. Issued as standard sidearms to SifGuard frontier patrol." + The Althing is advertised as being 'able to survive six months on the bottom of a frozen river and emerge full ready to \ + save a life'. Issued as standard sidearms to SifGuard frontier patrol." icon_state = "webley2" item_state = "webley2" caliber = ".44" origin_tech = list(TECH_COMBAT = 2, TECH_MATERIAL = 2) handle_casings = CYCLE_CASINGS - max_shells = 6 ammo_type = /obj/item/ammo_casing/a44 -/obj/item/weapon/gun/projectile/revolver/webley/auto - name = "autorevolver" - icon_state = "mosley" - desc = "A shiny Fosbery Autococker automatic revolver, with black accents. Marketed as the 'Revolver for the Modern Era'. Uses .44 magnum rounds." - fire_delay = 5.7 //Autorevolver. Also synced with the animation - fire_anim = "mosley_fire" - origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 2) +/* + * Webley (Eris Port) + */ +/obj/item/weapon/gun/projectile/revolver/consul + name = "\improper \"Consul\" Revolver" + desc = "Are you feeling lucky, punk? Uses .44 rounds." + icon_state = "inspector" + item_state = "revolver" + caliber = ".44" + origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 3) + handle_casings = CYCLE_CASINGS + ammo_type = /obj/item/ammo_casing/a44/rubber + +/obj/item/weapon/gun/projectile/revolver/consul/proc/update_charge() + cut_overlays() + if(loaded.len==0) + add_overlay("inspector_off") + else + add_overlay("inspector_on") + +/obj/item/weapon/gun/projectile/revolver/consul/update_icon() + update_charge() diff --git a/code/modules/projectiles/guns/projectile/revolver_vr.dm b/code/modules/projectiles/guns/projectile/revolver_vr.dm index cc12c6248f..94a0205a11 100644 --- a/code/modules/projectiles/guns/projectile/revolver_vr.dm +++ b/code/modules/projectiles/guns/projectile/revolver_vr.dm @@ -1,73 +1,4 @@ -//////////////////// Eris Ported Guns //////////////////// -//Detective gun -/obj/item/weapon/gun/projectile/revolver/consul - name = "\improper \"Consul\" Revolver" - desc = "Are you feeling lucky, punk? Uses .44 rounds." - icon = 'icons/obj/gun_vr.dmi' - icon_state = "inspector" - item_state = "revolver" - caliber = ".44" - ammo_type = /obj/item/ammo_casing/a44/rubber - handle_casings = CYCLE_CASINGS - origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 3) - -/obj/item/weapon/gun/projectile/revolver/consul/proc/update_charge() - cut_overlays() - if(loaded.len==0) - add_overlay("inspector_off") - else - add_overlay("inspector_on") - -/obj/item/weapon/gun/projectile/revolver/consul/update_icon() - update_charge() - -//.357 special ammo -/obj/item/ammo_magazine/s357/stun - name = "speedloader (.357 stun)" - desc = "A speedloader for .357 revolvers." - icon = 'icons/obj/ammo_vr.dmi' - icon_state = "s357" - caliber = ".357" - ammo_type = /obj/item/ammo_casing/a357/stun - - -/obj/item/ammo_casing/a357/stun - desc = "A .357 stun bullet casing." - caliber = ".357" - icon = 'icons/obj/ammo_vr.dmi' - icon_state = "stun357" - projectile_type = /obj/item/projectile/energy/electrode/stunshot/strong - -/obj/item/ammo_magazine/s357/rubber - name = "speedloader (.357 rubber)" - desc = "A speedloader for .357 revolvers." - icon = 'icons/obj/ammo_vr.dmi' - icon_state = "r357" - caliber = ".357" - ammo_type = /obj/item/ammo_casing/a357/rubber - - -/obj/item/ammo_casing/a357/rubber - desc = "A .357 rubber bullet casing." - caliber = ".357" - icon = 'icons/obj/ammo_vr.dmi' - icon_state = "rubber357" - projectile_type = /obj/item/projectile/bullet/pistol/rubber/strong - -/obj/item/ammo_magazine/s357/flash - name = "speedloader (.357 flash)" - desc = "A speedloader for .357 revolvers." - icon = 'icons/obj/ammo_vr.dmi' - icon_state = "f357" - caliber = ".357" - ammo_type = /obj/item/ammo_casing/a357/flash - -/obj/item/ammo_casing/a357/flash - desc = "A .357 flash bullet casing." - caliber = ".357" - icon = 'icons/obj/ammo_vr.dmi' - icon_state = "flash357" - projectile_type = /obj/item/projectile/energy/flash/strong +//Dunno why .380 ammo was in here but Im not touching it. Rest was moved to other files. //.380 /obj/item/ammo_casing/a380 @@ -77,7 +8,7 @@ /obj/item/ammo_magazine/m380 name = "magazine (.380)" - icon_state = "9x19p" + icon_state = "m92" origin_tech = list(TECH_COMBAT = 2) mag_type = MAGAZINE matter = list(MAT_STEEL = 480) @@ -86,30 +17,3 @@ max_ammo = 8 multiple_sprites = 1 -//.44 -/obj/item/ammo_casing/a44/rubber - icon_state = "r-casing" - desc = "A .44 rubber bullet casing." - projectile_type = /obj/item/projectile/bullet/pistol/rubber/strong - -/obj/item/ammo_magazine/m44/rubber - desc = "A magazine for .44 less-than-lethal ammo." - ammo_type = /obj/item/ammo_casing/a44/rubber - -//.44 speedloaders -/obj/item/ammo_magazine/s44 - name = "speedloader (.44)" - desc = "A speedloader for .44 revolvers." - icon = 'icons/obj/ammo_vr.dmi' - icon_state = "s357" - caliber = ".44" - matter = list(MAT_STEEL = 1260) - ammo_type = /obj/item/ammo_casing/a44 - max_ammo = 6 - multiple_sprites = 1 - mag_type = SPEEDLOADER - -/obj/item/ammo_magazine/s44/rubber - name = "speedloader (.44 rubber)" - icon_state = "r357" - ammo_type = /obj/item/ammo_casing/a44/rubber diff --git a/code/modules/xenobio/items/weapons.dm b/code/modules/xenobio/items/weapons.dm index b44c73a032..1a25eab2ef 100644 --- a/code/modules/xenobio/items/weapons.dm +++ b/code/modules/xenobio/items/weapons.dm @@ -33,7 +33,6 @@ update_icon() return ..() - // Research borg's version /obj/item/weapon/melee/baton/slime/robot hitcost = 200 @@ -44,20 +43,22 @@ name = "xeno taser gun" desc = "Straight out of NT's testing laboratories, this small gun is used to subdue non-humanoid xeno life forms. \ While marketed towards handling slimes, it may be useful for other creatures." - icon_state = "taserold" + icon_state = "taserblue" fire_sound = 'sound/weapons/taser2.ogg' charge_cost = 120 // Twice as many shots. projectile_type = /obj/item/projectile/beam/stun/xeno accuracy = 30 // Make it a bit easier to hit the slimes. - description_info = "This gun will stun a slime or other lesser slimy lifeform for about two seconds, if hit with the projectile it fires." - description_fluff = "An easy to use weapon designed by NanoTrasen, for NanoTrasen. This weapon is designed to subdue lesser \ - slime-based xeno lifeforms at a distance. It is ineffective at stunning non-slimy lifeforms such as humanoids." + description_info = "This gun will stun a slime or other lesser slimy lifeform for about two seconds if hit with the projectile it fires." + description_fluff = "An easy to use weapon designed by NanoTrasen, for NanoTrasen. This weapon is based on the NT Mk30 NL, \ + it's core components swaped out for a new design made to subdue lesser slime-based xeno lifeforms at a distance. It is \ + ineffective at stunning non-slimy lifeforms such as humanoids." /obj/item/weapon/gun/energy/taser/xeno/robot // Borg version self_recharge = 1 use_external_power = 1 recharge_time = 3 - +/* +VORESTATION REMOVAL /obj/item/weapon/gun/energy/taser/xeno/sec //NT's corner-cutting option for their on-station security. desc = "An NT Mk30 NL retrofitted to fire beams for subduing non-humanoid slimy xeno life forms." icon_state = "taserblue" @@ -71,6 +72,7 @@ self_recharge = 1 use_external_power = 1 recharge_time = 3 +*/ /obj/item/projectile/beam/stun/xeno icon_state = "omni" diff --git a/icons/obj/gun.dmi b/icons/obj/gun.dmi index 9de92931db..d76296effb 100644 Binary files a/icons/obj/gun.dmi and b/icons/obj/gun.dmi differ diff --git a/maps/stellardelight/stellar_delight1.dmm b/maps/stellardelight/stellar_delight1.dmm index a8695e2b7a..d74e93ac79 100644 --- a/maps/stellardelight/stellar_delight1.dmm +++ b/maps/stellardelight/stellar_delight1.dmm @@ -14597,7 +14597,6 @@ }, /obj/structure/closet/secure_closet/detective, /obj/item/weapon/reagent_containers/spray/pepper, -/obj/item/weapon/gun/energy/taser, /obj/item/device/camera{ desc = "A one use - polaroid camera. 30 photos left."; name = "detectives camera"; diff --git a/vorestation.dme b/vorestation.dme index ec74fd632c..81b55d6eec 100644 --- a/vorestation.dme +++ b/vorestation.dme @@ -1156,7 +1156,6 @@ #include "code\game\objects\items\falling_object_vr.dm" #include "code\game\objects\items\glassjar.dm" #include "code\game\objects\items\gunbox.dm" -#include "code\game\objects\items\gunbox_vr.dm" #include "code\game\objects\items\latexballoon.dm" #include "code\game\objects\items\magazine.dm" #include "code\game\objects\items\paintkit.dm"