From e563f82ea9dfbd3b7922261343d04af92e6d6cce Mon Sep 17 00:00:00 2001 From: AmoryBlaine Date: Mon, 12 Aug 2024 18:49:43 -0400 Subject: [PATCH] Desc updates - Reorganizes pistol code - Reverts M44 changes - Creates non-tactical variant of .44 automag so you can hear the badass sound fx - Spearhead no longer specified as a CMB/OCM weapon --- code/game/objects/items/storage/belt.dm | 9 +- code/modules/projectiles/guns/pistols.dm | 447 +++++++++--------- code/modules/projectiles/guns/revolvers.dm | 8 +- code/modules/projectiles/magazines/pistols.dm | 4 +- .../sprinkles/15.wardenofficedecorated.dmm | 2 +- 5 files changed, 242 insertions(+), 228 deletions(-) diff --git a/code/game/objects/items/storage/belt.dm b/code/game/objects/items/storage/belt.dm index aea004437a..f5e37be408 100644 --- a/code/game/objects/items/storage/belt.dm +++ b/code/game/objects/items/storage/belt.dm @@ -1254,8 +1254,13 @@ for(var/i = 1 to storage_slots - 1) new /obj/item/ammo_magazine/pistol/highpower/black(src) -/obj/item/storage/belt/gun/m4a3/highpower/tactical/fill_preset_inventory() - handle_item_insertion(new /obj/item/weapon/gun/pistol/highpower/tactical()) +/obj/item/storage/belt/gun/m4a3/highpower/automag/fill_preset_inventory() + handle_item_insertion(new /obj/item/weapon/gun/pistol/highpower/automag()) + for(var/i = 1 to storage_slots - 1) + new /obj/item/ammo_magazine/pistol/highpower/automag(src) + +/obj/item/storage/belt/gun/m4a3/highpower/automag/tactical/fill_preset_inventory() + handle_item_insertion(new /obj/item/weapon/gun/pistol/highpower/automag/tactical()) for(var/i = 1 to storage_slots - 1) new /obj/item/ammo_magazine/pistol/highpower/automag(src) diff --git a/code/modules/projectiles/guns/pistols.dm b/code/modules/projectiles/guns/pistols.dm index 7c94f8e6e9..45c20904b8 100644 --- a/code/modules/projectiles/guns/pistols.dm +++ b/code/modules/projectiles/guns/pistols.dm @@ -49,7 +49,7 @@ /obj/item/weapon/gun/pistol/m4a3 name = "\improper M4A3 service pistol" - desc = "The recently replaced service pistol of the USCM. Chambered in 9mm, it remains popular due to its versatility and abundance." + desc = "The recently replaced semi-automatic 9mm service pistol of the USCM. It remains popular among marines due to its light trigger and familiarity." icon = 'icons/obj/items/weapons/guns/guns_by_faction/uscm.dmi' icon_state = "m4a3" item_state = "m4a3" @@ -89,7 +89,7 @@ /obj/item/weapon/gun/pistol/m4a3/custom name = "\improper M4A3 custom pistol" - desc = "Sporting a nickel finish and faux ivory grips, this pistol been customized by a well known gunsmith on Gateway Station. These are commonly purchased by low level enlisted men and junior officers who have nothing better to spend their salary on. Chambered in 9mm." + desc = "Sporting a nickel finish and possibly faux ivory grips, this 9mm pistol has been customized by a well known gunsmith on Gateway Station. It offers no tactical advantages." icon_state = "m4a3c" item_state = "m4a3c" @@ -104,11 +104,68 @@ damage_mult = BASE_BULLET_DAMAGE_MULT +//VP70 - Counterpart to M1911, offers burst and capacity ine exchange of low accuracy and damage. + +/obj/item/weapon/gun/pistol/vp70 + name = "\improper VP70 M5 service pistol" + desc = "Standard issue semi-automatic USCM service pistol. Recently replacing the M4A3, it retains its predecessor's 9mm chambering but offers both a higher magazine capacity and a 3-round burst selector." + icon = 'icons/obj/items/weapons/guns/guns_by_faction/uscm.dmi' + icon_state = "88m4" + item_state = "88m4" + fire_sound = "88m4" + firesound_volume = 20 + reload_sound = 'sound/weapons/gun_88m4_reload.ogg' + unload_sound = 'sound/weapons/gun_88m4_unload.ogg' + current_mag = /obj/item/ammo_magazine/pistol/vp70 + force = 8 + flags_gun_features = GUN_AUTO_EJECTOR|GUN_CAN_POINTBLANK|GUN_ONE_HAND_WIELDED + attachable_allowed = list( + /obj/item/attachable/suppressor, + /obj/item/attachable/extended_barrel, + /obj/item/attachable/heavy_barrel, + /obj/item/attachable/compensator, + /obj/item/attachable/flashlight, + /obj/item/attachable/reflex, + /obj/item/attachable/reddot, + /obj/item/attachable/burstfire_assembly, + /obj/item/attachable/lasersight, + /obj/item/attachable/flashlight/grip, + /obj/item/attachable/magnetic_harness, + /obj/item/attachable/stock/vp70, + ) + +/obj/item/weapon/gun/pistol/vp70/set_gun_attachment_offsets() + attachable_offset = list("muzzle_x" = 27, "muzzle_y" = 21,"rail_x" = 8, "rail_y" = 22, "under_x" = 21, "under_y" = 18, "stock_x" = 18, "stock_y" = 15) + + +/obj/item/weapon/gun/pistol/vp70/set_gun_config_values() + ..() + set_fire_delay(FIRE_DELAY_TIER_11) + set_burst_amount(BURST_AMOUNT_TIER_3) + set_burst_delay(FIRE_DELAY_TIER_11) + accuracy_mult = BASE_ACCURACY_MULT + accuracy_mult_unwielded = BASE_ACCURACY_MULT + scatter = SCATTER_AMOUNT_TIER_7 + burst_scatter_mult = SCATTER_AMOUNT_TIER_7 + scatter_unwielded = SCATTER_AMOUNT_TIER_7 + damage_mult = BASE_BULLET_DAMAGE_MULT + + +/obj/item/weapon/gun/pistol/vp70/training + current_mag = /obj/item/ammo_magazine/pistol/vp70/rubber + + +/obj/item/weapon/gun/pistol/vp70/flashlight/handle_starting_attachment() + ..() + var/obj/item/attachable/flashlight/flashlight = new(src) + flashlight.Attach(src) + update_attachable(flashlight.slot) + //------------------------------------------------------- /obj/item/weapon/gun/pistol/m1911 - name = "\improper M1911 service pistol" - desc = "Despite never being an official service pistol for the USCM, its .45 ACP chambering and cultural history with the Corps keeps it a popular pistol, enough so that a large quantity are owned by the USCM." + name = "\improper M1911 pistol" + desc = "Despite never being an official service pistol of the USCM, its .45 ACP chambering and cultural connection to the Corps's predecessor keeps it a popular pistol, enough so that a large quantity are kept on backorder." icon = 'icons/obj/items/weapons/guns/guns_by_faction/uscm.dmi' icon_state = "m4a345" item_state = "m4a3" @@ -129,7 +186,7 @@ recoil_unwielded = RECOIL_AMOUNT_TIER_4 /obj/item/weapon/gun/pistol/m1911/socom - name = "\improper M48A4 service pistol" + name = "\improper M48A4 pistol" desc = "A timeless classic since the first World War, the M1911A1 has limited use with the USCM, and is often used as a sidearm by non-governmental bodies due to its reliability. This is a modernized version with an ammo counter and a polymer grip, designated M48A4. Chambered in .45 ACP." icon_state = "m4a345_s" item_state = "m4a3" @@ -148,113 +205,78 @@ /obj/item/weapon/gun/pistol/m1911/socom/equipped starting_attachment_types = list(/obj/item/attachable/suppressor, /obj/item/attachable/lasersight, /obj/item/attachable/reflex) -//------------------------------------------------------- -//Beretta 92FS, the gun McClane carries around in Die Hard. Very similar to the service pistol, all around. - -/obj/item/weapon/gun/pistol/b92fs - name = "\improper Beretta 92FS pistol" - desc = "A popular police firearm in the 20th century, often employed by hardboiled cops while confronting terrorists. A classic of its time, chambered in 9mm." - icon = 'icons/obj/items/weapons/guns/guns_by_faction/colony.dmi' - icon_state = "b92fs" - item_state = "b92fs" - current_mag = /obj/item/ammo_magazine/pistol/b92fs - -/obj/item/weapon/gun/pistol/b92fs/Initialize(mapload, spawn_empty) - . = ..() - if(prob(10)) - name = "\improper Beretta 93FR burst pistol" - desc += " This specific pistol is a burst-fire, limited availability, police-issue 93FR type Beretta. Not too accurate, aftermarket modififcations are recommended." - var/obj/item/attachable/burstfire_assembly/BFA = new(src) - BFA.flags_attach_features &= ~ATTACH_REMOVABLE - BFA.Attach(src) - update_attachable(BFA.slot) - add_firemode(GUN_FIREMODE_BURSTFIRE) - -/obj/item/weapon/gun/pistol/b92fs/set_gun_attachment_offsets() - attachable_offset = list("muzzle_x" = 28, "muzzle_y" = 20,"rail_x" = 10, "rail_y" = 22, "under_x" = 21, "under_y" = 17, "stock_x" = 21, "stock_y" = 17) - -/obj/item/weapon/gun/pistol/b92fs/set_gun_config_values() - ..() - set_fire_delay(FIRE_DELAY_TIER_12) - accuracy_mult = BASE_ACCURACY_MULT + HIT_ACCURACY_MULT_TIER_5 - accuracy_mult_unwielded = BASE_ACCURACY_MULT - scatter = SCATTER_AMOUNT_TIER_7 - burst_scatter_mult = SCATTER_AMOUNT_TIER_5 - scatter_unwielded = SCATTER_AMOUNT_TIER_7 - damage_mult = BASE_BULLET_DAMAGE_MULT - BULLET_DAMAGE_MULT_TIER_2 - - -//------------------------------------------------------- -//DEAGLE //This one is obvious. +//.45 MARSHALS PISTOL //Inspired by the Browning Hipower +// rebalanced - singlefire, very strong bullets but slow to fire and heavy recoil +// redesigned - now rejected USCM sidearm model, utilized by Colonial Marshals and other stray groups. -/obj/item/weapon/gun/pistol/heavy - name = "vintage Desert Eagle" - desc = "A bulky 50 caliber pistol with a serious kick, probably taken from some museum somewhere. This one is engraved, 'Peace through superior firepower.'" +/obj/item/weapon/gun/pistol/highpower + name = "\improper HG 45 'Aguila' pistol" + desc = "A semi-automatic Henjin-Garcia design chambered in .45 ACP that is slowly replacing the Office of the Colonial Marshals's Spearhead revolver." icon = 'icons/obj/items/weapons/guns/guns_by_faction/colony.dmi' - icon_state = "deagle" - item_state = "deagle" - fire_sound = 'sound/weapons/gun_DE50.ogg' - firesound_volume = 40 - current_mag = /obj/item/ammo_magazine/pistol/heavy - force = 13 - + icon_state = "highpower" + item_state = "highpower" + fire_sound = 'sound/weapons/gun_vp78_v2.ogg' + current_mag = /obj/item/ammo_magazine/pistol/highpower + force = 15 attachable_allowed = list( - /obj/item/attachable/reddot, - /obj/item/attachable/reflex, - /obj/item/attachable/flashlight, + /obj/item/attachable/suppressor, // Barrel + /obj/item/attachable/bayonet, + /obj/item/attachable/bayonet/upp_replica, + /obj/item/attachable/bayonet/upp, /obj/item/attachable/extended_barrel, /obj/item/attachable/heavy_barrel, - /obj/item/attachable/lasersight, /obj/item/attachable/compensator, + /obj/item/attachable/reddot, // Rail + /obj/item/attachable/reflex, + /obj/item/attachable/flashlight, + /obj/item/attachable/magnetic_harness, + /obj/item/attachable/scope, + /obj/item/attachable/scope/mini, + /obj/item/attachable/gyro, // Under + /obj/item/attachable/lasersight, + /obj/item/attachable/burstfire_assembly, ) +/obj/item/weapon/gun/pistol/highpower/set_gun_attachment_offsets() + attachable_offset = list("muzzle_x" = 29, "muzzle_y" = 20,"rail_x" = 6, "rail_y" = 22, "under_x" = 20, "under_y" = 15, "stock_x" = 0, "stock_y" = 0) -/obj/item/weapon/gun/pistol/heavy/set_gun_attachment_offsets() - attachable_offset = list("muzzle_x" = 30, "muzzle_y" = 20,"rail_x" = 17, "rail_y" = 21, "under_x" = 20, "under_y" = 17, "stock_x" = 20, "stock_y" = 17) - - -/obj/item/weapon/gun/pistol/heavy/set_gun_config_values() +/obj/item/weapon/gun/pistol/highpower/set_gun_config_values() ..() - set_fire_delay(FIRE_DELAY_TIER_5) - set_burst_amount(BURST_AMOUNT_TIER_2) - set_burst_delay(FIRE_DELAY_TIER_8) - accuracy_mult = BASE_ACCURACY_MULT - accuracy_mult_unwielded = BASE_ACCURACY_MULT - HIT_ACCURACY_MULT_TIER_5 + set_fire_delay(FIRE_DELAY_TIER_7) + accuracy_mult = BASE_ACCURACY_MULT + HIT_ACCURACY_MULT_TIER_4 + accuracy_mult_unwielded = BASE_ACCURACY_MULT scatter = SCATTER_AMOUNT_TIER_6 - burst_scatter_mult = SCATTER_AMOUNT_TIER_6 - scatter_unwielded = SCATTER_AMOUNT_TIER_6 - damage_mult = BASE_BULLET_DAMAGE_MULT + BULLET_DAMAGE_MULT_TIER_1 - recoil = RECOIL_AMOUNT_TIER_5 - recoil_unwielded = RECOIL_AMOUNT_TIER_3 + scatter_unwielded = SCATTER_AMOUNT_TIER_4 + damage_mult = BASE_BULLET_DAMAGE_MULT + BULLET_DAMAGE_MULT_TIER_5 + recoil_unwielded = RECOIL_AMOUNT_TIER_4 -/obj/item/weapon/gun/pistol/heavy/co - name = "polished vintage Desert Eagle" - desc = "The handcannon that needs no introduction, the .50-caliber Desert Eagle is expensive, unwieldy, and extremely heavy for a pistol. However, it makes up for it with its powerful shots capable of stopping a bear dead in its tracks. Iconic, glamorous, and above all, extremely deadly." - icon = 'icons/obj/items/weapons/guns/guns_by_faction/colony.dmi' - icon_state = "c_deagle" - item_state = "c_deagle" - base_gun_icon = "c_deagle" - current_mag = /obj/item/ammo_magazine/pistol/heavy/super/highimpact - black_market_value = 100 +/obj/item/weapon/gun/pistol/highpower/black + name = "\improper HG 45 'Marina' pistol" + current_mag = /obj/item/ammo_magazine/pistol/highpower/black + icon_state = "highpower_b" + item_state = "highpower_b" + desc = "A semi-automatic Henjin-Garcia design chambered in .45 ACP that is slowly replacing the Office of the Colonial Marshals's Spearhead revolver. Unlike its more common siblings, this variant was marketed and successfully sold in small quantities to the USCM." -/obj/item/weapon/gun/pistol/heavy/co/set_gun_config_values() +/obj/item/weapon/gun/pistol/highpower/automag + name = "\improper HG 44 'Automag' pistol" + desc = "A semi-automatic Henjin-Garcia design chambered in .44 Magnum that was largely discontinued in favour of the HG 45 configuration chambered in .45 ACP." + current_mag = /obj/item/ammo_magazine/pistol/highpower/automag + icon_state = "highpower_tac" + item_state = "highpower_tac" + fire_sound = 'sound/weapons/gun_kt42.ogg' + flags_gun_features = GUN_AUTO_EJECTOR|GUN_CAN_POINTBLANK|GUN_ONE_HAND_WIELDED + +/obj/item/weapon/gun/pistol/highpower/automag/set_gun_config_values() ..() - set_fire_delay(FIRE_DELAY_TIER_5) - accuracy_mult = BASE_ACCURACY_MULT + HIT_ACCURACY_MULT_TIER_4 - accuracy_mult_unwielded = BASE_ACCURACY_MULT - HIT_ACCURACY_MULT_TIER_7 - scatter = SCATTER_AMOUNT_TIER_6 - burst_scatter_mult = SCATTER_AMOUNT_TIER_4 - scatter_unwielded = SCATTER_AMOUNT_TIER_3 - damage_mult = BASE_BULLET_DAMAGE_MULT + BULLET_DAMAGE_MULT_TIER_8 - recoil = RECOIL_AMOUNT_TIER_3 - recoil_unwielded = RECOIL_AMOUNT_TIER_2 + set_fire_delay(FIRE_DELAY_TIER_6) + recoil = RECOIL_AMOUNT_TIER_5 + recoil_unwielded = RECOIL_AMOUNT_TIER_3 -/obj/item/weapon/gun/pistol/heavy/co/gold - name = "golden vintage Desert Eagle" - desc = "A Desert Eagle anodized in gold and adorned with rosewood grips. The living definition of ostentatious, it's flashy, unwieldy, tremendously heavy, and kicks like a mule. But as a symbol of power, there's nothing like it." - icon_state = "g_deagle" - item_state = "g_deagle" - base_gun_icon = "g_deagle" +/obj/item/weapon/gun/pistol/highpower/automag/tactical + name = "\improper HG 44 'Automag' pistol" + desc = "A semi-automatic Henjin-Garcia design chambered in .44 Magnum that was largely discontinued in favour of the HG 45 configuration chambered in .45 ACP." + starting_attachment_types = list(/obj/item/attachable/suppressor, /obj/item/attachable/lasersight, /obj/item/attachable/reflex) + flags_gun_features = GUN_AUTO_EJECTOR|GUN_CAN_POINTBLANK|GUN_ONE_HAND_WIELDED //------------------------------------------------------- //NP92 pistol @@ -314,14 +336,14 @@ /obj/item/weapon/gun/pistol/t73 name = "\improper Type 73 pistol" - desc = "Once the standard issue sidearm of the UPP but replaced by the smaller NP92. Chambered with 7.62x25mm Tokarev, it remains popular with veteran UPP troops due to its extra firepower." + desc = "Once the standard issue sidearm of the UPP it has since been replaced by the smaller NP92. Chambered with 7.62x25mm Tokarev, it remains popular with veterans due to its extra firepower." icon = 'icons/obj/items/weapons/guns/guns_by_faction/upp.dmi' icon_state = "tt" item_state = "tt" fire_sound = 'sound/weapons/gun_vp78_v2.ogg' // fire_sound = 'sound/weapons/gun_tt.ogg' current_mag = /obj/item/ammo_magazine/pistol/t73 - flags_gun_features = GUN_AUTO_EJECTOR|GUN_CAN_POINTBLANK|GUN_ONE_HAND_WIELDED|GUN_AMMO_COUNTER + flags_gun_features = GUN_AUTO_EJECTOR|GUN_CAN_POINTBLANK|GUN_ONE_HAND_WIELDED attachable_allowed = list( /obj/item/attachable/reddot, /obj/item/attachable/reflex, @@ -410,7 +432,6 @@ //------------------------------------------------------- -//PIZZACHIMP PROTECTION /obj/item/weapon/gun/pistol/holdout name = "holdout pistol" @@ -484,126 +505,7 @@ damage_mult = BASE_BULLET_DAMAGE_MULT + BULLET_DAMAGE_MULT_TIER_4 //------------------------------------------------------- -//.45 MARSHALS PISTOL //Inspired by the Browning Hipower -// rebalanced - singlefire, very strong bullets but slow to fire and heavy recoil -// redesigned - now rejected USCM sidearm model, utilized by Colonial Marshals and other stray groups. -/obj/item/weapon/gun/pistol/highpower - name = "\improper HG 45 'Aguila' pistol" - desc = "A semi-automatic Henjin-Garcia design chambered in .45 ACP that is slowly replacing the Office of the Colonial Marshals's Spearhead revolver." - icon = 'icons/obj/items/weapons/guns/guns_by_faction/colony.dmi' - icon_state = "highpower" - item_state = "highpower" - fire_sound = 'sound/weapons/gun_vp78_v2.ogg' - current_mag = /obj/item/ammo_magazine/pistol/highpower - force = 15 - attachable_allowed = list( - /obj/item/attachable/suppressor, // Barrel - /obj/item/attachable/bayonet, - /obj/item/attachable/bayonet/upp_replica, - /obj/item/attachable/bayonet/upp, - /obj/item/attachable/extended_barrel, - /obj/item/attachable/heavy_barrel, - /obj/item/attachable/compensator, - /obj/item/attachable/reddot, // Rail - /obj/item/attachable/reflex, - /obj/item/attachable/flashlight, - /obj/item/attachable/magnetic_harness, - /obj/item/attachable/scope, - /obj/item/attachable/scope/mini, - /obj/item/attachable/gyro, // Under - /obj/item/attachable/lasersight, - /obj/item/attachable/burstfire_assembly, - ) - -/obj/item/weapon/gun/pistol/highpower/set_gun_attachment_offsets() - attachable_offset = list("muzzle_x" = 29, "muzzle_y" = 20,"rail_x" = 6, "rail_y" = 22, "under_x" = 20, "under_y" = 15, "stock_x" = 0, "stock_y" = 0) - -/obj/item/weapon/gun/pistol/highpower/set_gun_config_values() - ..() - set_fire_delay(FIRE_DELAY_TIER_7) - accuracy_mult = BASE_ACCURACY_MULT + HIT_ACCURACY_MULT_TIER_4 - accuracy_mult_unwielded = BASE_ACCURACY_MULT - scatter = SCATTER_AMOUNT_TIER_6 - scatter_unwielded = SCATTER_AMOUNT_TIER_4 - damage_mult = BASE_BULLET_DAMAGE_MULT + BULLET_DAMAGE_MULT_TIER_5 - recoil_unwielded = RECOIL_AMOUNT_TIER_4 - -/obj/item/weapon/gun/pistol/highpower/black - name = "\improper HG 45 'Marina' pistol" - current_mag = /obj/item/ammo_magazine/pistol/highpower/black - icon_state = "highpower_b" - item_state = "highpower_b" - desc = "A semi-automatic Henjin-Garcia design chambered in .45 ACP that is slowly replacing the Office of the Colonial Marshals's Spearhead revolver. Unlike its more common siblings, this variant was marketed and successfully sold in small quantities to the USCM." - -/obj/item/weapon/gun/pistol/highpower/tactical - name = "\improper HG 44 'Automag' pistol" - desc = "A suppressed, laser-sighted, semi-automatic Henjin-Garcia design chambered in .44 magnum that was abandoned in favour of the popular HG 45 configuration chambered in .45 ACP." - current_mag = /obj/item/ammo_magazine/pistol/highpower/automag - icon_state = "highpower_tac" - item_state = "highpower_tac" - starting_attachment_types = list(/obj/item/attachable/suppressor, /obj/item/attachable/lasersight, /obj/item/attachable/reflex) - flags_gun_features = GUN_AUTO_EJECTOR|GUN_CAN_POINTBLANK|GUN_ONE_HAND_WIELDED|GUN_AMMO_COUNTER - -//------------------------------------------------------- -//mod88 based off VP70 - Counterpart to M1911, offers burst and capacity ine exchange of low accuracy and damage. - -/obj/item/weapon/gun/pistol/vp70 - name = "\improper VP70 M5 service pistol" - desc = "Standard issue USCM service pistol. Recently replacing the M4A3, it retains its predecessor's 9mm chambering but offers both a higher magazine capacity and a 3-round burst selector." - icon = 'icons/obj/items/weapons/guns/guns_by_faction/uscm.dmi' - icon_state = "88m4" - item_state = "88m4" - fire_sound = "88m4" - firesound_volume = 20 - reload_sound = 'sound/weapons/gun_88m4_reload.ogg' - unload_sound = 'sound/weapons/gun_88m4_unload.ogg' - current_mag = /obj/item/ammo_magazine/pistol/vp70 - force = 8 - flags_gun_features = GUN_AUTO_EJECTOR|GUN_CAN_POINTBLANK|GUN_ONE_HAND_WIELDED - attachable_allowed = list( - /obj/item/attachable/suppressor, - /obj/item/attachable/extended_barrel, - /obj/item/attachable/heavy_barrel, - /obj/item/attachable/compensator, - /obj/item/attachable/flashlight, - /obj/item/attachable/reflex, - /obj/item/attachable/reddot, - /obj/item/attachable/burstfire_assembly, - /obj/item/attachable/lasersight, - /obj/item/attachable/flashlight/grip, - /obj/item/attachable/magnetic_harness, - /obj/item/attachable/stock/vp70, - ) - -/obj/item/weapon/gun/pistol/vp70/set_gun_attachment_offsets() - attachable_offset = list("muzzle_x" = 27, "muzzle_y" = 21,"rail_x" = 8, "rail_y" = 22, "under_x" = 21, "under_y" = 18, "stock_x" = 18, "stock_y" = 15) - - -/obj/item/weapon/gun/pistol/vp70/set_gun_config_values() - ..() - set_fire_delay(FIRE_DELAY_TIER_11) - set_burst_amount(BURST_AMOUNT_TIER_3) - set_burst_delay(FIRE_DELAY_TIER_11) - accuracy_mult = BASE_ACCURACY_MULT - accuracy_mult_unwielded = BASE_ACCURACY_MULT - scatter = SCATTER_AMOUNT_TIER_7 - burst_scatter_mult = SCATTER_AMOUNT_TIER_7 - scatter_unwielded = SCATTER_AMOUNT_TIER_7 - damage_mult = BASE_BULLET_DAMAGE_MULT - - -/obj/item/weapon/gun/pistol/vp70/training - current_mag = /obj/item/ammo_magazine/pistol/vp70/rubber - - -/obj/item/weapon/gun/pistol/vp70/flashlight/handle_starting_attachment() - ..() - var/obj/item/attachable/flashlight/flashlight = new(src) - flashlight.Attach(src) - update_attachable(flashlight.slot) - -//------------------------------------------------------- // ES-4 - Basically a CL-exclusive reskin of the 88 mod 4 that only uses less-lethal ammo. /obj/item/weapon/gun/pistol/es4 @@ -725,6 +627,113 @@ It is a modified Beretta 93R, and can fire three-round burst or single fire. Whe recoil_unwielded = RECOIL_AMOUNT_TIER_3 +//------------------------------------------------------- +//Beretta 92FS, the gun McClane carries around in Die Hard. Very similar to the service pistol, all around. + +/obj/item/weapon/gun/pistol/b92fs + name = "\improper Beretta 92FS pistol" + desc = "A popular police firearm in the 20th century, often employed by hardboiled cops while confronting terrorists. A classic of its time, chambered in 9mm." + icon = 'icons/obj/items/weapons/guns/guns_by_faction/colony.dmi' + icon_state = "b92fs" + item_state = "b92fs" + current_mag = /obj/item/ammo_magazine/pistol/b92fs + +/obj/item/weapon/gun/pistol/b92fs/Initialize(mapload, spawn_empty) + . = ..() + if(prob(10)) + name = "\improper Beretta 93FR burst pistol" + desc += " This specific pistol is a burst-fire, limited availability, police-issue 93FR type Beretta. Not too accurate, aftermarket modififcations are recommended." + var/obj/item/attachable/burstfire_assembly/BFA = new(src) + BFA.flags_attach_features &= ~ATTACH_REMOVABLE + BFA.Attach(src) + update_attachable(BFA.slot) + add_firemode(GUN_FIREMODE_BURSTFIRE) + +/obj/item/weapon/gun/pistol/b92fs/set_gun_attachment_offsets() + attachable_offset = list("muzzle_x" = 28, "muzzle_y" = 20,"rail_x" = 10, "rail_y" = 22, "under_x" = 21, "under_y" = 17, "stock_x" = 21, "stock_y" = 17) + +/obj/item/weapon/gun/pistol/b92fs/set_gun_config_values() + ..() + set_fire_delay(FIRE_DELAY_TIER_12) + accuracy_mult = BASE_ACCURACY_MULT + HIT_ACCURACY_MULT_TIER_5 + accuracy_mult_unwielded = BASE_ACCURACY_MULT + scatter = SCATTER_AMOUNT_TIER_7 + burst_scatter_mult = SCATTER_AMOUNT_TIER_5 + scatter_unwielded = SCATTER_AMOUNT_TIER_7 + damage_mult = BASE_BULLET_DAMAGE_MULT - BULLET_DAMAGE_MULT_TIER_2 + + +//------------------------------------------------------- +//DEAGLE //This one is obvious. + +/obj/item/weapon/gun/pistol/heavy + name = "vintage Desert Eagle" + desc = "A bulky 50 caliber pistol with a serious kick, probably taken from some museum somewhere. This one is engraved, 'Peace through superior firepower.'" + icon = 'icons/obj/items/weapons/guns/guns_by_faction/colony.dmi' + icon_state = "deagle" + item_state = "deagle" + fire_sound = 'sound/weapons/gun_DE50.ogg' + firesound_volume = 40 + current_mag = /obj/item/ammo_magazine/pistol/heavy + force = 13 + + attachable_allowed = list( + /obj/item/attachable/reddot, + /obj/item/attachable/reflex, + /obj/item/attachable/flashlight, + /obj/item/attachable/extended_barrel, + /obj/item/attachable/heavy_barrel, + /obj/item/attachable/lasersight, + /obj/item/attachable/compensator, + ) + + +/obj/item/weapon/gun/pistol/heavy/set_gun_attachment_offsets() + attachable_offset = list("muzzle_x" = 30, "muzzle_y" = 20,"rail_x" = 17, "rail_y" = 21, "under_x" = 20, "under_y" = 17, "stock_x" = 20, "stock_y" = 17) + + +/obj/item/weapon/gun/pistol/heavy/set_gun_config_values() + ..() + set_fire_delay(FIRE_DELAY_TIER_5) + set_burst_amount(BURST_AMOUNT_TIER_2) + set_burst_delay(FIRE_DELAY_TIER_8) + accuracy_mult = BASE_ACCURACY_MULT + accuracy_mult_unwielded = BASE_ACCURACY_MULT - HIT_ACCURACY_MULT_TIER_5 + scatter = SCATTER_AMOUNT_TIER_6 + burst_scatter_mult = SCATTER_AMOUNT_TIER_6 + scatter_unwielded = SCATTER_AMOUNT_TIER_6 + damage_mult = BASE_BULLET_DAMAGE_MULT + BULLET_DAMAGE_MULT_TIER_1 + recoil = RECOIL_AMOUNT_TIER_5 + recoil_unwielded = RECOIL_AMOUNT_TIER_3 + +/obj/item/weapon/gun/pistol/heavy/co + name = "polished vintage Desert Eagle" + desc = "The handcannon that needs no introduction, the .50-caliber Desert Eagle is expensive, unwieldy, and extremely heavy for a pistol. However, it makes up for it with its powerful shots capable of stopping a bear dead in its tracks. Iconic, glamorous, and above all, extremely deadly." + icon = 'icons/obj/items/weapons/guns/guns_by_faction/colony.dmi' + icon_state = "c_deagle" + item_state = "c_deagle" + base_gun_icon = "c_deagle" + current_mag = /obj/item/ammo_magazine/pistol/heavy/super/highimpact + black_market_value = 100 + +/obj/item/weapon/gun/pistol/heavy/co/set_gun_config_values() + ..() + set_fire_delay(FIRE_DELAY_TIER_5) + accuracy_mult = BASE_ACCURACY_MULT + HIT_ACCURACY_MULT_TIER_4 + accuracy_mult_unwielded = BASE_ACCURACY_MULT - HIT_ACCURACY_MULT_TIER_7 + scatter = SCATTER_AMOUNT_TIER_6 + burst_scatter_mult = SCATTER_AMOUNT_TIER_4 + scatter_unwielded = SCATTER_AMOUNT_TIER_3 + damage_mult = BASE_BULLET_DAMAGE_MULT + BULLET_DAMAGE_MULT_TIER_8 + recoil = RECOIL_AMOUNT_TIER_3 + recoil_unwielded = RECOIL_AMOUNT_TIER_2 + +/obj/item/weapon/gun/pistol/heavy/co/gold + name = "golden vintage Desert Eagle" + desc = "A Desert Eagle anodized in gold and adorned with rosewood grips. The living definition of ostentatious, it's flashy, unwieldy, tremendously heavy, and kicks like a mule. But as a symbol of power, there's nothing like it." + icon_state = "g_deagle" + item_state = "g_deagle" + base_gun_icon = "g_deagle" //------------------------------------------------------- //The first rule of monkey pistol is we don't talk about monkey pistol. diff --git a/code/modules/projectiles/guns/revolvers.dm b/code/modules/projectiles/guns/revolvers.dm index 8c9186c840..90e2e37e71 100644 --- a/code/modules/projectiles/guns/revolvers.dm +++ b/code/modules/projectiles/guns/revolvers.dm @@ -288,8 +288,8 @@ //M44 Revolver /obj/item/weapon/gun/revolver/m44 - name = "\improper Model 12 'Point-gun' revolver" - desc = "A popular Grant corporation revolver for self-defense because of its seven round capacity and hard hitting .44 magnum chambering." + name = "\improper M44 revolver" + desc = ".44 Magnum revolver, in limited service with the USCMC for personal defense against larger xenofauna. For best results, aim carefully." icon = 'icons/obj/items/weapons/guns/guns_by_faction/uscm.dmi' icon_state = "m44r" item_state = "m44r" @@ -700,8 +700,8 @@ //MARSHALS REVOLVER //Spearhead exists in Alien cannon. /obj/item/weapon/gun/revolver/cmb - name = "\improper CMB Spearhead autorevolver" - desc = "An automatic revolver chambered in .357 commonly issued to Colonial Marshals." + name = "\improper Spearhead Armoury autorevolver" + desc = "A semi-automatic revolver chambered in .357 commonly issued to Colonial Marshals." icon = 'icons/obj/items/weapons/guns/guns_by_faction/colony.dmi' icon_state = "spearhead" item_state = "spearhead" diff --git a/code/modules/projectiles/magazines/pistols.dm b/code/modules/projectiles/magazines/pistols.dm index 120cebd9d1..eb526e1679 100644 --- a/code/modules/projectiles/magazines/pistols.dm +++ b/code/modules/projectiles/magazines/pistols.dm @@ -301,11 +301,11 @@ //comes in black, for the black variant of the highpower, better for military usage /obj/item/ammo_magazine/pistol/highpower/black - name = "\improper HG 45 'Marina' pistol" + name = "\improper HG 45 'Marina' magazine (.45)" icon_state = "highpower_b" /obj/item/ammo_magazine/pistol/highpower/automag - name = "\improper HG 44 'Automag' pistol" + name = "\improper HG 44 'Automag' magazine (.44)" icon_state = "highpower_b" max_rounds = 13 default_ammo = /datum/ammo/bullet/revolver diff --git a/maps/map_files/FOP_v3_Sciannex/sprinkles/15.wardenofficedecorated.dmm b/maps/map_files/FOP_v3_Sciannex/sprinkles/15.wardenofficedecorated.dmm index fa4a9b8b7b..eb34c85224 100644 --- a/maps/map_files/FOP_v3_Sciannex/sprinkles/15.wardenofficedecorated.dmm +++ b/maps/map_files/FOP_v3_Sciannex/sprinkles/15.wardenofficedecorated.dmm @@ -112,7 +112,7 @@ pixel_y = 21 }, /obj/structure/surface/table/woodentable/fancy, -/obj/item/weapon/gun/pistol/highpower/tactical, +/obj/item/weapon/gun/pistol/highpower/automag/tactical, /turf/open/floor/plating, /area/template_noop) "W" = (