Skip to content

Commit

Permalink
Synthetic, Compact-Nailgun Holster (#6277)
Browse files Browse the repository at this point in the history
# About the pull request

Adds a customized compact nailgun holster as a item vended alongside the
compact nailgun in the Synthetic vendor.

The item functions akin to a regular pistol holster, however it can only
hold a compact nailgun and two nailgun magazines. It can not hold the
regular nailgun or any other pistol or pistol magazine.

# Explain why it's good for the game

Additional options for inventory customization for Synthetics units in
storing the compact nailgun. Arguably this item is balanced as the
compact nailgun already is easy to store in multiple alternative storage
options, this simply adds a more streamlined storage area, and befits
the nature of a Synthetic to go the extra step and setup a customized
holster.


# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

![Screenshot 2024-05-11 20 34
10](https://github.com/cmss13-devs/cmss13/assets/6595389/926a6b9f-0645-4987-9acf-f86b410104fc)


</details>


# Changelog
:cl:
add: The Compact Nailgun that the USCM Synthetic can vend now comes with
a unique nailgun holster, capable of holding the nailgun and two spare
magazines.
/:cl:

Co-authored-by: Steelpoint <[email protected]>
  • Loading branch information
Steelpoint and Steelpoint authored May 24, 2024
1 parent 54d2675 commit 4046a39
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/game/machinery/vending/vendor_types/crew/synthetic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -387,4 +387,5 @@ GLOBAL_LIST_INIT(cm_vending_synth_tools, list(
/obj/item/weapon/gun/smg/nailgun/compact,
/obj/item/ammo_magazine/smg/nailgun,
/obj/item/ammo_magazine/smg/nailgun,
/obj/item/storage/belt/gun/m4a3/nailgun,
)
16 changes: 16 additions & 0 deletions code/game/objects/items/storage/belt.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1209,6 +1209,22 @@
for(var/i = 1 to storage_slots - 1)
new /obj/item/ammo_magazine/pistol/highpower/black(src)

/obj/item/storage/belt/gun/m4a3/nailgun
name = "customized nailgun holster"
desc = "Combination of a M276 pistol holster and engineering toolbelt that have been cannibalized into a unique belt that can holster a compact nailgun and two spare nailgun magazines."
icon_state = "nailgun_holster"
storage_slots = 3
can_hold = list(
/obj/item/weapon/gun/smg/nailgun/compact,
/obj/item/ammo_magazine/smg/nailgun,
)
has_gamemode_skin = FALSE

/obj/item/storage/belt/gun/m4a3/nailgun/prefilled/fill_preset_inventory()
handle_item_insertion(new /obj/item/weapon/gun/smg/nailgun/compact())
for(var/i = 1 to storage_slots - 1)
new /obj/item/ammo_magazine/smg/nailgun(src)

/obj/item/storage/belt/gun/m39
name = "\improper M276 pattern M39 holster rig"
desc = "Special issue variant of the M276 designed to holster a M39 submachine gun and two spare magazines. Uncommonly issued to USCM support and specialist personnel."
Expand Down
Binary file modified icons/obj/items/clothing/belts.dmi
Binary file not shown.

0 comments on commit 4046a39

Please sign in to comment.