From 2b19672b5cf3f29098decfc647bc2556b068672c Mon Sep 17 00:00:00 2001 From: NervanCatos <32654903+MobiusWon@users.noreply.github.com> Date: Mon, 25 Mar 2024 18:08:15 -0500 Subject: [PATCH] Adds USCM Patch to Uniforms (#5868) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # About the pull request Adds the USCM ~and Falling Falcons~ patch automatically to vended uniforms. **EDIT: Per the Technical Manual as @morrowwolf shared, only the USCM patch is added now.** # Explain why it's good for the game Get on the ready line Marines! This is a straightforward PR imo, it looks cool and is lore accurate. Like rank pins, the ~unit patch~ and USCM patch are a standard part of the USCM uniform and all Marines aboard the Almayer would be wearing one. This can be found in the movies as well as technical manuals for the Marines. It also adds some “esprit de corp” for the Falling Falcons USCM, now every player down to the newest one can take pride fighting for liberty. # Testing Photographs and Procedure
Screenshots & Videos ![image](https://github.com/cmss13-devs/cmss13/assets/32654903/f87847f8-12a1-4aff-85e0-d423b2669e61)
# Changelog :cl: NervanCatos add: Uniforms vend with USCM patch. /:cl: --------- Co-authored-by: Drathek <76988376+Drulikar@users.noreply.github.com> --- code/game/machinery/vending/cm_vending.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/machinery/vending/cm_vending.dm b/code/game/machinery/vending/cm_vending.dm index 4f825030d627..06ec8ddc7520 100644 --- a/code/game/machinery/vending/cm_vending.dm +++ b/code/game/machinery/vending/cm_vending.dm @@ -1275,12 +1275,15 @@ GLOBAL_LIST_INIT(cm_vending_gear_corresponding_types_list, list( if(vend_flags & VEND_UNIFORM_RANKS) if(insignas_override) var/obj/item/clothing/under/underclothes = new_item + //Gives ranks to the ranked if(istype(underclothes) && user.wear_id && user.wear_id.paygrade) var/rankpath = get_rank_pins(user.wear_id.paygrade) if(rankpath) var/obj/item/clothing/accessory/ranks/rank_insignia = new rankpath() + var/obj/item/clothing/accessory/patch/uscmpatch = new() underclothes.attach_accessory(user, rank_insignia) + underclothes.attach_accessory(user, uscmpatch) if(vend_flags & VEND_UNIFORM_AUTOEQUIP) // autoequip