Skip to content

Commit

Permalink
Buffs the derringer (#11960)
Browse files Browse the repository at this point in the history
* Buffs the derringer

* Removes C38 ammo from the uplink
  • Loading branch information
PowerfulBacon authored Dec 7, 2024
1 parent 4d29154 commit 1a91fcb
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 83 deletions.
5 changes: 3 additions & 2 deletions code/game/objects/items/storage/uplink_kits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -616,8 +616,9 @@

/obj/item/storage/box/syndie_kit/derringer
name = "'Infiltrator' pistol bundle"
desc = "Contains a Syndicate issued coat pistol, and one Match grade .38-special speed loader."
desc = "Contains a Syndicate issued coat pistol, and one Match grade .357 speed loader."

/obj/item/storage/box/syndie_kit/derringer/PopulateContents()
new /obj/item/gun/ballistic/automatic/pistol/der38(src)
new /obj/item/ammo_box/c38/match(src)
for (var/i in 1 to 6)
new /obj/item/ammo_casing/a357(src)
6 changes: 0 additions & 6 deletions code/modules/projectiles/ammunition/ballistic/revolver.dm
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@
. = ..()
create_reagents(reagent_amount, OPENCONTAINER)

/obj/item/ammo_casing/c38/emp
name = ".38 'BLK_OUT' bullet casing"
desc = "A specialized .38 bullet casing that releases a small electromagnetic burst on impact."
icon_state = "sS-casing"
projectile_type = /obj/projectile/bullet/c38/emp

/obj/item/ammo_casing/c38/improv
name = "improv .38 bullet casing"
desc = "An improvised .38 bullet casing."
Expand Down
5 changes: 0 additions & 5 deletions code/modules/projectiles/boxes_magazines/ammo_boxes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@
desc = "Designed to quickly reload revolvers. Blister rounds can be injected with up to 10 units of chemicals."
ammo_type = /obj/item/ammo_casing/c38/dart

/obj/item/ammo_box/c38/emp
name = "speed loader (.38 BLK_OUT)"
desc = "Designed to quickly reload revolvers. 'BLK_OUT' rounds unleash a small EMP on impact."
ammo_type = /obj/item/ammo_casing/c38/emp

/obj/item/ammo_box/c38/mime
name = "speed loader (.38 finger)"
max_ammo = 6
Expand Down
4 changes: 2 additions & 2 deletions code/modules/projectiles/boxes_magazines/internal/revolver.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

/obj/item/ammo_box/magazine/internal/der38
name = "derringer internal chambering"
ammo_type = /obj/item/ammo_casing/c38/match
caliber = "38"
ammo_type = /obj/item/ammo_casing/a357
caliber = "357"
max_ammo = 2

/obj/item/ammo_box/magazine/internal/der38/twelveshooter
Expand Down
4 changes: 1 addition & 3 deletions code/modules/projectiles/guns/ballistic/pistol.dm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

/obj/item/gun/ballistic/automatic/pistol/der38
name = "palm pistol"
desc = "An 'Infiltrator' double-barreled derringer, chambered in .38-special. Not the best for head-on engagements."
desc = "An 'Infiltrator' double-barreled derringer, chambered in the powerful .357. Useful in a pinch but inadequate for longer engagements."
icon_state = "derringer"
w_class = WEIGHT_CLASS_SMALL
item_state = null //Too small to show in hand, unless examined
Expand All @@ -47,8 +47,6 @@
fire_sound_volume = 60
spread = 18 //Innate spread of 18 degrees, unwielded spread of 48; Stechkin is unwielded 40
weapon_weight = WEAPON_LIGHT * 0.5 //Equivelant weight to 0.5 (Stechkin has weight 1)
wild_spread = TRUE
wild_factor = 0.70 //Minimum spread is 70% of spread value
equip_time = 0
has_weapon_slowdown = FALSE

Expand Down
9 changes: 0 additions & 9 deletions code/modules/projectiles/projectile/bullets/revolver.dm
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,6 @@
var/mob/living/M = target
M.adjust_bodytemperature(((100-blocked)/100)*(temperature - M.bodytemperature))

/obj/projectile/bullet/c38/emp
name = ".38 BLK_OUT bullet"
damage = 8
ricochets_max = 0

/obj/projectile/bullet/c38/emp/on_hit(atom/target)
. = ..()
empulse(target, 0, 2)

/obj/projectile/bullet/c38/improv
damage = 25
ricochets_max = 1
Expand Down
59 changes: 3 additions & 56 deletions code/modules/uplink/uplink_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -697,8 +697,9 @@ GLOBAL_LIST_INIT(illegal_tech_blacklist, typecacheof(list(

/datum/uplink_item/dangerous/derringer
name = "'Infiltrator' Coat Pistol"
desc = "For the deeply embedded agent; a very compact dual-barreled handgun chambered in .38-special. Compatible with \
standard production NT speed loaders. Loaded with .38 Match ammunition and includes a spare speedloader."
desc = "For the deeply embedded agent; a very compact dual-barreled handgun chambered with highly powerful .357 rounds. \
It's small ammo capacity and difficult to obtain ammo make it poor at prolonged engagements, but it's saved the lives of \
many agents that find themselves in sticky situations."
item = /obj/item/storage/box/syndie_kit/derringer
cost = 4
purchasable_from = ~UPLINK_CLOWN_OPS
Expand Down Expand Up @@ -1030,60 +1031,6 @@ GLOBAL_LIST_INIT(illegal_tech_blacklist, typecacheof(list(
illegal_tech = FALSE
contents_are_illegal_tech = FALSE

/datum/uplink_item/ammo/c38
name = ".38-special Speed Loader"
desc = "A standard issue .38-special speed loader, for use with the Detective's revolver or 'Infiltrator' coat pistol."
item = /obj/item/ammo_box/c38
cost = 1
purchasable_from = ~UPLINK_CLOWN_OPS
illegal_tech = FALSE
contents_are_illegal_tech = FALSE

/datum/uplink_item/ammo/c38blister
name = ".38-special 'Blister' Speed Loader"
desc = "For when you can't deside between a coat pistol and a dart pistol! These 6 cartridges can \
be injected with up to 10 units of your favorite poison for remote application via sidearm."
item = /obj/item/ammo_box/c38/dart
cost = 1
purchasable_from = ~UPLINK_CLOWN_OPS
illegal_tech = FALSE
contents_are_illegal_tech = FALSE

/datum/uplink_item/ammo/c38dumdum
name = ".38-special DumDum Speed Loader"
desc = "6 specialized fragmenting .38-special catridges, excellent for dispatching unarmored targets. \
Shrapnel can embed within the victim and provide a debilitating effect. Not advised for use \
against armored targets."
item = /obj/item/ammo_box/c38/dumdum
cost = 1
purchasable_from = ~UPLINK_CLOWN_OPS

/datum/uplink_item/ammo/c38iceblox
name = ".38-special Iceblox Speed Loader"
desc = "6 .38-special Iceblox cartridges, 'guaranteed' to free your target to the core."
item = /obj/item/ammo_box/c38/iceblox
cost = 1
purchasable_from = ~UPLINK_CLOWN_OPS

/datum/uplink_item/ammo/c38hotshot
name = ".38-special Hot Shot Speed Loader"
desc = "6 .38-special Hot Shot cartridges. Set your target ablaze with this specialized thermal payload."
item = /obj/item/ammo_box/c38/hotshot
cost = 1
purchasable_from = ~UPLINK_CLOWN_OPS
illegal_tech = FALSE
contents_are_illegal_tech = FALSE

/datum/uplink_item/ammo/c38emp
name = ".38-special 'BLK_OUT' Speed Loader"
desc = "6 specialized 'anti-silicon' .38-special cartridges that release a minor EMP on impact with a hard surface. \
From Silicons, to IPCs, to any machinery or energy-based weapons in use by security, leave them in the dark."
item = /obj/item/ammo_box/c38/emp
cost = 1
purchasable_from = ~UPLINK_CLOWN_OPS
illegal_tech = FALSE
contents_are_illegal_tech = FALSE

/datum/uplink_item/ammo/a40mm
name = "40mm Grenade Box"
desc = "A box of 40mm HE grenades for use with the M-90gl's under-barrel grenade launcher. \
Expand Down

0 comments on commit 1a91fcb

Please sign in to comment.