From e99455dac6dff2213048f55011a554fb6ef49edd Mon Sep 17 00:00:00 2001 From: NervanCatos Date: Sat, 2 Mar 2024 11:58:16 -0600 Subject: [PATCH] patches --- code/game/machinery/vending/cm_vending.dm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/vending/cm_vending.dm b/code/game/machinery/vending/cm_vending.dm index 4f825030d627..190e88739f63 100644 --- a/code/game/machinery/vending/cm_vending.dm +++ b/code/game/machinery/vending/cm_vending.dm @@ -1275,13 +1275,19 @@ 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) + //var/falconpatch = /obj/item/clothing/accessory/patch/falcon + //underclothes.attach_accessory(user,falconpatch) if(rankpath) var/obj/item/clothing/accessory/ranks/rank_insignia = new rankpath() + var/obj/item/clothing/accessory/patch/uscmpatch = new(get_turf(src)) + var/obj/item/clothing/accessory/patch/falcon/falconpatch = new(get_turf(src)) underclothes.attach_accessory(user, rank_insignia) - + underclothes.attach_accessory(user, uscmpatch) + underclothes.attach_accessory(user, falconpatch) if(vend_flags & VEND_UNIFORM_AUTOEQUIP) // autoequip if(istype(new_item, /obj/item) && new_item.flags_equip_slot != NO_FLAGS) //auto-equipping feature here