|
| 1 | +/datum/loadout_item/accessory/insert_path_into_outfit(datum/outfit/outfit, mob/living/carbon/human/equipper, visuals_only = FALSE, override_items = LOADOUT_OVERRIDE_BACKPACK) |
| 2 | + if(override_items == LOADOUT_OVERRIDE_BACKPACK && !visuals_only) |
| 3 | + if(outfit.accessory) |
| 4 | + LAZYADD(outfit.backpack_contents, outfit.accessory) |
| 5 | + outfit.accessory = item_path |
| 6 | + else |
| 7 | + outfit.accessory = item_path |
| 8 | + |
| 9 | +/datum/loadout_item/accessory/qm_cloak |
| 10 | + name = "QM Cloak" |
| 11 | + group = "Command Outfit" |
| 12 | + item_path = /obj/item/clothing/neck/cloak/qm |
| 13 | + restricted_roles = list(JOB_QUARTERMASTER) |
| 14 | + |
| 15 | +/datum/loadout_item/accessory/hos_cloak |
| 16 | + name = "HOS Cloak" |
| 17 | + group = "Command Outfit" |
| 18 | + item_path = /obj/item/clothing/neck/cloak/hos |
| 19 | + restricted_roles = list(JOB_HEAD_OF_SECURITY) |
| 20 | + |
| 21 | +/datum/loadout_item/accessory/cmo_cloak |
| 22 | + name = "CMO Cloak" |
| 23 | + group = "Command Outfit" |
| 24 | + item_path = /obj/item/clothing/neck/cloak/cmo |
| 25 | + restricted_roles = list(JOB_CHIEF_MEDICAL_OFFICER) |
| 26 | + |
| 27 | +/datum/loadout_item/accessory/ce_cloak |
| 28 | + name = "CE Cloak" |
| 29 | + group = "Command Outfit" |
| 30 | + item_path = /obj/item/clothing/neck/cloak/ce |
| 31 | + restricted_roles = list(JOB_CHIEF_ENGINEER) |
| 32 | + |
| 33 | +/datum/loadout_item/accessory/rd_cloak |
| 34 | + name = "RD Cloak" |
| 35 | + group = "Command Outfit" |
| 36 | + item_path = /obj/item/clothing/neck/cloak/rd |
| 37 | + restricted_roles = list(JOB_RESEARCH_DIRECTOR) |
| 38 | + |
| 39 | +/datum/loadout_item/accessory/cap_cloak |
| 40 | + name = "Captain Cloak" |
| 41 | + group = "Command Outfit" |
| 42 | + item_path = /obj/item/clothing/neck/cloak/cap |
| 43 | + restricted_roles = list(JOB_CAPTAIN) |
| 44 | + |
| 45 | +/datum/loadout_item/accessory/hop_cloak |
| 46 | + name = "HOP Cloak" |
| 47 | + group = "Command Outfit" |
| 48 | + item_path = /obj/item/clothing/neck/cloak/hop |
| 49 | + restricted_roles = list(JOB_HEAD_OF_PERSONNEL) |
0 commit comments