From 2762dd413eb0060cbee0fa0a9e476db9c0f06187 Mon Sep 17 00:00:00 2001 From: Braiden Date: Sat, 25 Jul 2020 12:56:17 -0500 Subject: [PATCH] removed code confusion chief engineer's cloak still broken, unsure as to why. --- .../loadout/loadout_xeno_yw.dm | 12 ++++++++++-- .../clothing/suits/aliens/seromi_yw.dm | 6 +++--- icons/mob/species/seromi/teshari_cloak_yw.dmi | Bin 60603 -> 60604 bytes 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/code/modules/client/preference_setup/loadout/loadout_xeno_yw.dm b/code/modules/client/preference_setup/loadout/loadout_xeno_yw.dm index 960c09203e..fe77542d67 100644 --- a/code/modules/client/preference_setup/loadout/loadout_xeno_yw.dm +++ b/code/modules/client/preference_setup/loadout/loadout_xeno_yw.dm @@ -67,9 +67,9 @@ path = /obj/item/clothing/suit/storage/seromi/beltcloak/jobs/wrdn allowed_roles = list("Head of Security","Warden") -/datum/gear/suit/dept/beltcloak/cs +/datum/gear/suit/dept/beltcloak/hos display_name = "Chief of Security belted cloak (Teshari)" - path = /obj/item/clothing/suit/storage/seromi/beltcloak/jobs/cs + path = /obj/item/clothing/suit/storage/seromi/beltcloak/jobs/hos allowed_roles = list("Head of Security") /datum/gear/suit/dept/beltcloak/jani @@ -125,6 +125,14 @@ cloaks[initial(cloak_type.name)] = cloak_type gear_tweaks += new/datum/gear_tweak/path(sortAssoc(cloaks)) +/datum/gear/suit/dept/cloak/ce/New() + ..() + var/list/cloaks = list() + for(var/cloak in typesof(/obj/item/clothing/suit/storage/seromi/cloak/jobs/ce,/obj/item/clothing/suit/storage/seromi/beltcloak/jobs/ce)) + var/obj/item/clothing/suit/storage/seromi/cloak/cloak_type = cloak + cloaks[initial(cloak_type.name)] = cloak_type + gear_tweaks += new/datum/gear_tweak/path(sortAssoc(cloaks)) + /datum/gear/suit/dept/cloak/engineer/New() ..() var/list/cloaks = list() diff --git a/code/modules/clothing/suits/aliens/seromi_yw.dm b/code/modules/clothing/suits/aliens/seromi_yw.dm index 8225d5a5d0..377eb18fb4 100644 --- a/code/modules/clothing/suits/aliens/seromi_yw.dm +++ b/code/modules/clothing/suits/aliens/seromi_yw.dm @@ -561,11 +561,11 @@ icon_state = "tesh_beltcloak_wrdn" item_state = "tesh_beltcloak_wrdn" -/obj/item/clothing/suit/storage/seromi/beltcloak/jobs/cs +/obj/item/clothing/suit/storage/seromi/beltcloak/jobs/hos name = "security chief belted cloak" desc = "A soft Teshari cloak made for the Head of Security" - icon_state = "tesh_beltcloak_cs" - item_state = "tesh_beltcloak_cs" + icon_state = "tesh_beltcloak_hos" + item_state = "tesh_beltcloak_hos" /obj/item/clothing/suit/storage/seromi/beltcloak/jobs/jani name = "janitor belted cloak" diff --git a/icons/mob/species/seromi/teshari_cloak_yw.dmi b/icons/mob/species/seromi/teshari_cloak_yw.dmi index f74949991dad464d15c57c716bb96632522bc85e..075b03255409ec99679acd0117402fcb78b4f407 100644 GIT binary patch delta 302 zcmV+}0nz@u*#o@U1CS&EHIXGGf7MbXC_E%r2xN=3)Jmc&sTO?u4((Lb!-pmfkNo^3 z$UVJWUi%xJuf1A07cYr4ogSZ5*SxKcG##H+=h#oK{(MR`l}XdCa&h-Di21k=Q;_D< zv{Rk+xsaxl>fW-6Tu9U5s5;BRtfcAiu<`zlYctm@%`ChT`42U4sK1H?eR>vFP` A!2kdN delta 301 zcmV+|0n+}w*#o=T1CS&EG?67FfAvx%C_E%r2xN=3*-D}-sTO?u4((Lb!-pmfkNo^3 z$UVJWUb`Eeubo*qWzk42ogSY|Q^l2uS~@;ab4n)wAzI?BLAU!_T^WRf5OC;`fVcM zh{ur%6A30FOsu%SxUAm8$cz($>w-&BxbMkI>=kalAK^?D*9H>`PuL3Qz$@?l7tG8! zA-FKy;laW~86?7sb>tf(fgZKVWjRVgXv~d9alT