From 8dfcb21c4e05943f6fe2ae52d8cc3f651c8d91bf Mon Sep 17 00:00:00 2001 From: JlereHdaZoHbl1984 Date: Thu, 21 Mar 2024 23:58:43 +0300 Subject: [PATCH] gucci lens adds peacemaker glasses in the vending machines adds reskins (choice between peacemaker and armadyne glasses) for the peacemaker glasses --- tff_modular/modules/redsec/code/vending.dm | 2 ++ .../modules/redsec_reskins/code/redsec.dm | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/tff_modular/modules/redsec/code/vending.dm b/tff_modular/modules/redsec/code/vending.dm index c2644baf233..9c0169c7d2f 100644 --- a/tff_modular/modules/redsec/code/vending.dm +++ b/tff_modular/modules/redsec/code/vending.dm @@ -62,6 +62,8 @@ /obj/item/clothing/head/beret/sec/navyofficer = 5, /obj/item/clothing/glasses/hud/security/sunglasses = 3, /obj/item/clothing/glasses/hud/security/sunglasses/redsec = 3, + /obj/item/clothing/glasses/hud/security/sunglasses/peacekeeper = 3, + /obj/item/clothing/glasses/hud/security/sunglasses/peacekeeper/armadyne = 3, /obj/item/storage/box/holobadge = 1, ) light_color = "#abadcc" diff --git a/tff_modular/modules/redsec_reskins/code/redsec.dm b/tff_modular/modules/redsec_reskins/code/redsec.dm index 5345d744bce..4dce28a9b15 100644 --- a/tff_modular/modules/redsec_reskins/code/redsec.dm +++ b/tff_modular/modules/redsec_reskins/code/redsec.dm @@ -131,6 +131,24 @@ ), ) +/obj/item/clothing/glasses/hud/security/sunglasses/peacekeeper/Initialize(mapload) + . = ..() + uses_advanced_reskins = TRUE + unique_reskin = list( + "Armadyne Hud Glasses" = list( + RESKIN_ICON = 'modular_nova/master_files/icons/obj/clothing/glasses.dmi', + RESKIN_ICON_STATE = "armadyne_glasses", + RESKIN_WORN_ICON = 'modular_nova/master_files/icons/mob/clothing/eyes.dmi', + RESKIN_WORN_ICON_STATE = "armadyne_glasses" + ), + "Peacekeeper Hud Glasses" = list( + RESKIN_ICON = 'modular_nova/master_files/icons/obj/clothing/glasses.dmi', + RESKIN_ICON_STATE = "peacekeeperglasses", + RESKIN_WORN_ICON = 'modular_nova/master_files/icons/mob/clothing/eyes.dmi', + RESKIN_WORN_ICON_STATE = "peacekeeperglasses" + ), + ) + //Вещи Security Officer /obj/item/clothing/head/security_cap/Initialize(mapload) . = ..()