From f0e42f9a2af698a25ad2a0d4848e5c07dbe46ab8 Mon Sep 17 00:00:00 2001 From: ROdenFL <144662735+ROdenFL@users.noreply.github.com> Date: Mon, 26 Feb 2024 21:29:37 +0300 Subject: [PATCH] add: loadout icons --- .../objects/items/weapons/material/swiss.dm | 8 ++-- .../loadout/lists/accessories.dm | 4 +- .../loadout/lists/augments.dm | 4 ++ .../preference_setup/loadout/lists/earwear.dm | 2 +- .../preference_setup/loadout/lists/eyegear.dm | 2 +- .../loadout/lists/footwear.dm | 6 +-- .../preference_setup/loadout/lists/gloves.dm | 2 +- .../loadout/lists/headwear.dm | 10 ++--- .../preference_setup/loadout/lists/misc.dm | 6 +-- .../preference_setup/loadout/lists/storage.dm | 6 +-- .../preference_setup/loadout/lists/suits.dm | 10 ++--- .../loadout/lists/tactical.dm | 2 +- .../loadout/lists/uniforms.dm | 6 +-- .../loadout/lists/xenowear.dm | 4 +- .../preference_setup/loadout/loadout.dm | 37 +++++++++++++++---- html/browser/common.css | 8 ++++ .../preference_setup/loadout/lists/armor.dm | 4 +- .../loadout/lists/infinity.dm | 6 +-- .../loadout/lists/xenowear.dm | 2 +- maps/sierra/loadout/loadout_accessories.dm | 2 +- maps/sierra/loadout/loadout_head.dm | 3 +- maps/sierra/loadout/loadout_suit.dm | 2 +- maps/sierra/loadout/loadout_tactical.dm | 3 +- maps/sierra/loadout/loadout_uniform.dm | 14 +++---- maps/sierra/loadout/loadout_xeno.dm | 2 +- maps/torch/loadout/loadout_accessories.dm | 10 ++--- maps/torch/loadout/loadout_suit.dm | 1 + 27 files changed, 100 insertions(+), 66 deletions(-) diff --git a/code/game/objects/items/weapons/material/swiss.dm b/code/game/objects/items/weapons/material/swiss.dm index 5fc92ee4cf..641272cf80 100644 --- a/code/game/objects/items/weapons/material/swiss.dm +++ b/code/game/objects/items/weapons/material/swiss.dm @@ -13,7 +13,7 @@ name = "combi-knife" desc = "A small, colourable, multi-purpose folding knife." icon = 'icons/obj/swiss_knife.dmi' - icon_state = "swissknf_closed" + icon_state = "swissknf_handle" handle_icon = "swissknf_handle" takes_colour = FALSE valid_colors = null @@ -25,7 +25,7 @@ var/sharp_tools = list(SWISSKNF_LBLADE, SWISSKNF_SBLADE, SWISSKNF_GBLADE, SWISSKNF_WBLADE) /obj/item/material/knife/folding/swiss/attack_self(mob/user) - var/choice + var/choice if(user.a_intent != I_HELP && ((SWISSKNF_LBLADE in tools) || (SWISSKNF_SBLADE in tools)) && active_tool == SWISSKNF_CLOSED) open = TRUE if(SWISSKNF_LBLADE in tools) @@ -38,7 +38,7 @@ else choice = SWISSKNF_CLOSED open = FALSE - + if(!choice || !CanPhysicallyInteract(user)) return if(choice == SWISSKNF_CLOSED) @@ -51,7 +51,7 @@ playsound(user, 'sound/weapons/flipblade.ogg', 15, 1) else user.visible_message("\The [user] opens the [lowertext(choice)].") - + active_tool = choice update_force() update_icon() diff --git a/code/modules/client/preference_setup/loadout/lists/accessories.dm b/code/modules/client/preference_setup/loadout/lists/accessories.dm index bf4b539468..0b8221e7b9 100644 --- a/code/modules/client/preference_setup/loadout/lists/accessories.dm +++ b/code/modules/client/preference_setup/loadout/lists/accessories.dm @@ -6,7 +6,7 @@ /datum/gear/accessory/tie display_name = "tie selection" - path = /obj/item/clothing/accessory + path = /obj/item/clothing/accessory/blue /datum/gear/accessory/tie/New() ..() @@ -55,7 +55,7 @@ /datum/gear/accessory/ntaward display_name = "NT award selection" //inf, was: display_name = "NanoTrasen award selection" description = "A medal or ribbon awarded to NanoTrasen personnel for significant accomplishments." - path = /obj/item/clothing/accessory/medal + path = /obj/item/clothing/accessory/medal/iron/nanotrasen cost = 8 /datum/gear/accessory/ntaward/New() diff --git a/code/modules/client/preference_setup/loadout/lists/augments.dm b/code/modules/client/preference_setup/loadout/lists/augments.dm index ebc54c4c9c..40aa81a7db 100644 --- a/code/modules/client/preference_setup/loadout/lists/augments.dm +++ b/code/modules/client/preference_setup/loadout/lists/augments.dm @@ -6,12 +6,16 @@ display_name = "minor augments selection (head)" description = "A minor augment with no in-game effects." cost = 1 + icon = 'icons/obj/augment.dmi' + icon_state = "booster" path = /obj/item/organ/internal/augment/fluff/head flags = GEAR_HAS_SUBTYPE_SELECTION /datum/gear/augment/minor_chest display_name = "minor augments selection (chest)" description = "A minor augment with no in-game effects." + icon = 'icons/obj/surgery.dmi' + icon_state = "cell" cost = 1 path = /obj/item/organ/internal/augment/fluff/chest flags = GEAR_HAS_SUBTYPE_SELECTION diff --git a/code/modules/client/preference_setup/loadout/lists/earwear.dm b/code/modules/client/preference_setup/loadout/lists/earwear.dm index 30a1471745..17b0e78b10 100644 --- a/code/modules/client/preference_setup/loadout/lists/earwear.dm +++ b/code/modules/client/preference_setup/loadout/lists/earwear.dm @@ -12,7 +12,7 @@ /datum/gear/earrings display_name = "earrings" - path = /obj/item/clothing/ears/earring + path = /obj/item/clothing/ears/earring/dangle/diamond sort_category = "Earwear" /datum/gear/earrings/New() diff --git a/code/modules/client/preference_setup/loadout/lists/eyegear.dm b/code/modules/client/preference_setup/loadout/lists/eyegear.dm index 10c375e83f..3712a8335f 100644 --- a/code/modules/client/preference_setup/loadout/lists/eyegear.dm +++ b/code/modules/client/preference_setup/loadout/lists/eyegear.dm @@ -13,7 +13,7 @@ /datum/gear/eyes/fashionglasses display_name = "non-prescription glasses" - path = /obj/item/clothing/glasses + path = /obj/item/clothing/glasses/prescription/gglasses /datum/gear/eyes/fashionglasses/New() ..() diff --git a/code/modules/client/preference_setup/loadout/lists/footwear.dm b/code/modules/client/preference_setup/loadout/lists/footwear.dm index b9518f2cf8..9ca17d754a 100644 --- a/code/modules/client/preference_setup/loadout/lists/footwear.dm +++ b/code/modules/client/preference_setup/loadout/lists/footwear.dm @@ -11,7 +11,7 @@ /datum/gear/shoes/boots display_name = "boot selection" - path = /obj/item/clothing/shoes + path = /obj/item/clothing/shoes/desertboots cost = 3 /datum/gear/shoes/boots/New() @@ -26,7 +26,7 @@ /datum/gear/shoes/color display_name = "shoe selection" - path = /obj/item/clothing/shoes + path = /obj/item/clothing/shoes/black /datum/gear/shoes/color/New() ..() @@ -63,4 +63,4 @@ /datum/gear/shoes/heels display_name = "high heels, colour select" path = /obj/item/clothing/shoes/heels - flags = GEAR_HAS_COLOR_SELECTION \ No newline at end of file + flags = GEAR_HAS_COLOR_SELECTION diff --git a/code/modules/client/preference_setup/loadout/lists/gloves.dm b/code/modules/client/preference_setup/loadout/lists/gloves.dm index bba08fd635..1c707e61d8 100644 --- a/code/modules/client/preference_setup/loadout/lists/gloves.dm +++ b/code/modules/client/preference_setup/loadout/lists/gloves.dm @@ -29,7 +29,7 @@ /datum/gear/ring display_name = "ring" - path = /obj/item/clothing/ring + path = /obj/item/clothing/ring/cti /datum/gear/ring/New() ..() diff --git a/code/modules/client/preference_setup/loadout/lists/headwear.dm b/code/modules/client/preference_setup/loadout/lists/headwear.dm index 011e2c120f..8bfd06b57d 100644 --- a/code/modules/client/preference_setup/loadout/lists/headwear.dm +++ b/code/modules/client/preference_setup/loadout/lists/headwear.dm @@ -11,7 +11,7 @@ /datum/gear/head/bandana display_name = "bandana selection" - path = /obj/item/clothing + path = /obj/item/clothing/mask/bandana /datum/gear/head/bandana/New() ..() @@ -39,7 +39,7 @@ /datum/gear/head/cap display_name = "cap selection" - path = /obj/item/clothing/head + path = /obj/item/clothing/head/soft/black /datum/gear/head/cap/New() ..() @@ -91,7 +91,7 @@ /datum/gear/head/formalhat display_name = "formal hat selection" - path = /obj/item/clothing/head + path = /obj/item/clothing/head/boaterhat /datum/gear/head/formalhat/New() ..() @@ -109,7 +109,7 @@ /datum/gear/head/informalhat display_name = "informal hat selection" - path = /obj/item/clothing/head + path = /obj/item/clothing/head/cowboy_hat /datum/gear/head/informalhat/New() ..() @@ -175,7 +175,7 @@ /datum/gear/head/corporateberet display_name = "corporate beret selection" - path = /obj/item/clothing/head/beret + path = /obj/item/clothing/head/beret/pcrc /datum/gear/head/corporateberet/New() ..() diff --git a/code/modules/client/preference_setup/loadout/lists/misc.dm b/code/modules/client/preference_setup/loadout/lists/misc.dm index 99fa5ba2cf..90a49e0cbd 100644 --- a/code/modules/client/preference_setup/loadout/lists/misc.dm +++ b/code/modules/client/preference_setup/loadout/lists/misc.dm @@ -64,7 +64,7 @@ /datum/gear/knives display_name = "knives selection" description = "A selection of knives." - path = /obj/item/material/knife + path = /obj/item/material/knife/folding /datum/gear/knives/New() ..() @@ -271,7 +271,7 @@ /datum/gear/cross display_name = "cross" - path = /obj/item/material/cross + path = /obj/item/material/cross/wood cost = 2 /datum/gear/cross/New() @@ -284,7 +284,7 @@ /datum/gear/coin display_name = "coin" - path = /obj/item/material/coin + path = /obj/item/material/coin/gold cost = 2 /datum/gear/coin/New() diff --git a/code/modules/client/preference_setup/loadout/lists/storage.dm b/code/modules/client/preference_setup/loadout/lists/storage.dm index 960075a0b8..a016fdec51 100644 --- a/code/modules/client/preference_setup/loadout/lists/storage.dm +++ b/code/modules/client/preference_setup/loadout/lists/storage.dm @@ -5,7 +5,7 @@ /datum/gear/storage/vest display_name = "webbing vest selection" - path = /obj/item/clothing/accessory/storage + path = /obj/item/clothing/accessory/storage/black_vest cost = 3 /datum/gear/storage/vest/New() @@ -18,7 +18,7 @@ /datum/gear/storage/pouches display_name = "drop pouches selection" - path = /obj/item/clothing/accessory/storage + path = /obj/item/clothing/accessory/storage/black_drop /datum/gear/storage/pouches/New() ..() @@ -30,7 +30,7 @@ /datum/gear/storage/belt display_name = "storage belt selection" - path = /obj/item/storage/belt + path = /obj/item/storage/belt/general slot = slot_belt cost = 2 diff --git a/code/modules/client/preference_setup/loadout/lists/suits.dm b/code/modules/client/preference_setup/loadout/lists/suits.dm index bc412d902a..1ac24de1e9 100644 --- a/code/modules/client/preference_setup/loadout/lists/suits.dm +++ b/code/modules/client/preference_setup/loadout/lists/suits.dm @@ -34,7 +34,7 @@ /datum/gear/suit/suit_jacket display_name = "standard suit jackets" - path = /obj/item/clothing/suit/storage/toggle/suit + path = /obj/item/clothing/suit/storage/toggle/suit/black /datum/gear/suit/suit_jacket/New() ..() @@ -65,7 +65,7 @@ /datum/gear/suit/hoodie_sel display_name = "standard hoodies" - path = /obj/item/clothing/suit/storage/toggle/hoodie + path = /obj/item/clothing/suit/storage/toggle/hoodie/black /datum/gear/suit/hoodie_sel/New() ..() @@ -103,7 +103,7 @@ /datum/gear/suit/leather display_name = "jacket selection" - path = /obj/item/clothing/suit + path = /obj/item/clothing/suit/storage/tgbomber /datum/gear/suit/leather/New() ..() @@ -141,7 +141,7 @@ /datum/gear/suit/medcoat display_name = "medical suit selection" - path = /obj/item/clothing/suit + path = /obj/item/clothing/suit/storage/toggle/fr_jacket /datum/gear/suit/medcoat/New() ..() @@ -149,7 +149,7 @@ /datum/gear/suit/trenchcoat display_name = "trenchcoat selection" - path = /obj/item/clothing/suit + path = /obj/item/clothing/suit/storage/det_trench/ft /datum/gear/suit/trenchcoat/New() ..() diff --git a/code/modules/client/preference_setup/loadout/lists/tactical.dm b/code/modules/client/preference_setup/loadout/lists/tactical.dm index 2f4b3bdc9b..3ef738f5ce 100644 --- a/code/modules/client/preference_setup/loadout/lists/tactical.dm +++ b/code/modules/client/preference_setup/loadout/lists/tactical.dm @@ -10,7 +10,7 @@ /datum/gear/tactical/helm_covers display_name = "helmet covers" - path = /obj/item/clothing/accessory/armor/helmcover + path = /obj/item/clothing/accessory/armor/helmcover/black //INF flags = GEAR_HAS_SUBTYPE_SELECTION //[INF] /datum/gear/tactical/helm_covers/New() diff --git a/code/modules/client/preference_setup/loadout/lists/uniforms.dm b/code/modules/client/preference_setup/loadout/lists/uniforms.dm index 9ca31b864b..f07fe40ae8 100644 --- a/code/modules/client/preference_setup/loadout/lists/uniforms.dm +++ b/code/modules/client/preference_setup/loadout/lists/uniforms.dm @@ -23,7 +23,7 @@ /datum/gear/uniform/suit display_name = "clothes selection" - path = /obj/item/clothing/under + path = /obj/item/clothing/under/sl_suit /datum/gear/uniform/suit/New() ..() @@ -69,7 +69,7 @@ /datum/gear/uniform/dress display_name = "dress selection" - path = /obj/item/clothing/under + path = /obj/item/clothing/under/dress/dress_fire /datum/gear/uniform/dress/New() ..() @@ -151,7 +151,7 @@ /datum/gear/uniform/corporate display_name = "corporate uniform selection" - path = /obj/item/clothing/under + path = /obj/item/clothing/under/rank/scientist/corporate/nanotrasen /datum/gear/uniform/corporate/New() ..() diff --git a/code/modules/client/preference_setup/loadout/lists/xenowear.dm b/code/modules/client/preference_setup/loadout/lists/xenowear.dm index f6fde16522..5733724ba1 100644 --- a/code/modules/client/preference_setup/loadout/lists/xenowear.dm +++ b/code/modules/client/preference_setup/loadout/lists/xenowear.dm @@ -192,7 +192,7 @@ /datum/gear/eyes/visors display_name = "(Tajara) visor selection" - path = /obj/item/clothing/glasses/tajvisor + path = /obj/item/clothing/glasses/tajvisor/a sort_category = "Xenowear" whitelisted = list(SPECIES_TAJARA) cost = 1 @@ -274,7 +274,7 @@ /datum/gear/accessory/capes display_name = "(Tajara) shoulder capes" - path = /obj/item/clothing/accessory/shouldercape + path = /obj/item/clothing/accessory/shouldercape/officer whitelisted = list(SPECIES_TAJARA) sort_category = "Xenowear" diff --git a/code/modules/client/preference_setup/loadout/loadout.dm b/code/modules/client/preference_setup/loadout/loadout.dm index 9f2e4f560d..8f2dd854f7 100644 --- a/code/modules/client/preference_setup/loadout/loadout.dm +++ b/code/modules/client/preference_setup/loadout/loadout.dm @@ -200,7 +200,7 @@ var/list/gear_datums = list() var/text_style = "vertical-align:top;text-align:center;" //[/INF] - entry += "[G.display_name]" //inf, was: entry += "[G.display_name]" + entry += "[G.display_name]
" //inf, was: entry += "[G.display_name]" entry += "[G.cost]"//inf, was: entry += "[G.cost]" entry += "[G.get_description(get_gear_metadata(G,1))]" var/allowed = 1 @@ -260,15 +260,15 @@ var/list/gear_datums = list() skill_checks += skill_entry entry += "[english_list(skill_checks)]" - + if(allowed && G.allowed_backgrounds) var/good_background = 0 var/decl/cultural_info/background = SSculture.get_culture(pref.cultural_info[TAG_FACTION]) var/bgndname = background ? background.name : "Unset" entry += "
" - + var/list/backgroundchecks = list() - + if(bgndname in G.allowed_backgrounds) backgroundchecks += "[bgndname]" good_background = 1 @@ -312,6 +312,14 @@ var/list/gear_datums = list() var/list/metadata = get_gear_metadata(G) metadata["[tweak]"] = new_metadata +/datum/category_item/player_setup_item/loadout/proc/update_gear_icon(var/datum/gear/G, var/datum/gear_tweak/tweak, var/metadata) + if(istype(tweak, /datum/gear_tweak/path)) + var/datum/gear_tweak/path/path_tweak = tweak + G.path = path_tweak.valid_paths[metadata] + G.update_icon() + if(istype(tweak, /datum/gear_tweak/color)) + G.update_icon(metadata) + /datum/category_item/player_setup_item/loadout/OnTopic(href, href_list, user) if(href_list["toggle_gear"]) var/datum/gear/TG = locate(href_list["toggle_gear"]) @@ -319,6 +327,8 @@ var/list/gear_datums = list() return TOPIC_REFRESH if((TG.display_name in pref.gear_list[pref.gear_slot]) || !gear_allowed_to_equip(TG, user)) //inf, was: if(TG.display_name in pref.gear_list[pref.gear_slot]) pref.gear_list[pref.gear_slot] -= TG.display_name + TG.path = initial(TG.path) + TG.update_icon() else var/total_cost = 0 for(var/gear_name in pref.gear_list[pref.gear_slot]) @@ -335,6 +345,7 @@ var/list/gear_datums = list() var/metadata = tweak.get_metadata(user, get_tweak_metadata(gear, tweak)) if(!metadata || !CanUseTopic(user)) return TOPIC_NOACTION + update_gear_icon(gear, tweak, metadata) set_tweak_metadata(gear, tweak, metadata) return TOPIC_REFRESH_UPDATE_PREVIEW if(href_list["next_slot"]) @@ -362,7 +373,10 @@ var/list/gear_datums = list() /datum/gear var/display_name //Name/index. Must be unique. var/description //Description of this gear. If left blank will default to the description of the pathed item. - var/path //Path to item. + var/atom/path //Path to item. + var/icon_state //Icon state of item + var/icon //File of icon + var/base64icon //It will be generated automaticly var/cost = 1 //Number of points used. Items in general cost 1 point, storage/armor/gloves/special use costs 2 points. var/slot //Slot to equip to. var/list/allowed_roles //Roles that can spawn with this item. @@ -380,8 +394,7 @@ var/list/gear_datums = list() if(HAS_FLAGS(flags, GEAR_HAS_TYPE_SELECTION|GEAR_HAS_SUBTYPE_SELECTION)) CRASH("May not have both type and subtype selection tweaks") if(!description) - var/obj/O = path - description = initial(O.desc) + description = initial(path.desc) if(flags & GEAR_HAS_COLOR_SELECTION) gear_tweaks += gear_tweak_free_color_choice() if(flags & GEAR_HAS_TYPE_SELECTION) @@ -390,6 +403,16 @@ var/list/gear_datums = list() gear_tweaks += new/datum/gear_tweak/path/subtype(path) if(custom_setup_proc) gear_tweaks += new/datum/gear_tweak/custom_setup(custom_setup_proc) + update_icon() + +/datum/gear/proc/update_icon(var/color) + if(!initial(icon) || !initial(icon_state)) + icon_state = initial(path.icon_state) + icon = initial(path.icon) + var/icon/item_icon = icon(icon, icon_state, SOUTH, 1, FALSE) + if(color) + item_icon.ColorTone(color) + base64icon = icon2base64(item_icon) /datum/gear/proc/get_description(var/metadata) . = description diff --git a/html/browser/common.css b/html/browser/common.css index 732e6551eb..8a60645a4f 100644 --- a/html/browser/common.css +++ b/html/browser/common.css @@ -353,4 +353,12 @@ a.donate:hover color: #00aa88 !important; border-color: #00aa88 !important; } + +.loadoutPreview +{ + -ms-interpolation-mode: nearest-neighbor; + width: 64px; + height:64px; +} + /* [/INF] */ diff --git a/infinity/code/modules/client/preference_setup/loadout/lists/armor.dm b/infinity/code/modules/client/preference_setup/loadout/lists/armor.dm index 7add135035..7be9fa561d 100644 --- a/infinity/code/modules/client/preference_setup/loadout/lists/armor.dm +++ b/infinity/code/modules/client/preference_setup/loadout/lists/armor.dm @@ -1,6 +1,6 @@ /datum/gear/tactical/bloodpatch display_name = "blood patch selection" - path = /obj/item/clothing/accessory/armor/tag + path = /obj/item/clothing/accessory/armor/tag/abpos allowed_roles = list(/datum/job/detective, /datum/job/officer, /datum/job/hos) /datum/gear/tactical/bloodpatch/New() @@ -52,7 +52,7 @@ /datum/gear/tactical/armor_deco display_name = "armor tags selection" - path = /obj/item/clothing/accessory/armor/tag + path = /obj/item/clothing/accessory/armor/tag/nt allowed_roles = list(/datum/job/detective, /datum/job/officer, /datum/job/hos) /datum/gear/tactical/armor_deco/New() diff --git a/infinity/code/modules/client/preference_setup/loadout/lists/infinity.dm b/infinity/code/modules/client/preference_setup/loadout/lists/infinity.dm index fbd33328cb..5b82862a69 100644 --- a/infinity/code/modules/client/preference_setup/loadout/lists/infinity.dm +++ b/infinity/code/modules/client/preference_setup/loadout/lists/infinity.dm @@ -4,7 +4,7 @@ /datum/gear/accessory/collar display_name = "collar selection" - path = /obj/item/clothing/accessory/necklace/collar + path = /obj/item/clothing/accessory/necklace/collar/gold /datum/gear/accessory/collar/New() ..() @@ -49,7 +49,7 @@ /datum/gear/uniform/pmc //Please don't dublicate it in maps anymore, ok? display_name = "PMC uniform selection" allowed_roles = list(/datum/job/detective, /datum/job/officer, /datum/job/hos) - path = /obj/item/clothing/under + path = /obj/item/clothing/under/pcrcsuit /datum/gear/uniform/pmc/New() ..() @@ -69,7 +69,7 @@ */ /datum/gear/uniform/corpsi display_name = "corporate uniform selection" - path = /obj/item/clothing/under + path = /obj/item/clothing/under/mbill /datum/gear/uniform/corpsi/New() ..() diff --git a/infinity/code/modules/client/preference_setup/loadout/lists/xenowear.dm b/infinity/code/modules/client/preference_setup/loadout/lists/xenowear.dm index 08e79be7cd..6ad1e4b955 100644 --- a/infinity/code/modules/client/preference_setup/loadout/lists/xenowear.dm +++ b/infinity/code/modules/client/preference_setup/loadout/lists/xenowear.dm @@ -50,7 +50,7 @@ /datum/gear/uniform/thermal sort_category = "Xenowear" display_name = "thermal suit selection" - path = /obj/item/clothing/under + path = /obj/item/clothing/under/thermal/tajara/black whitelisted = list(SPECIES_TAJARA, SPECIES_RESOMI) /datum/gear/uniform/thermal/New() diff --git a/maps/sierra/loadout/loadout_accessories.dm b/maps/sierra/loadout/loadout_accessories.dm index f8ba00da3a..768fe2102f 100644 --- a/maps/sierra/loadout/loadout_accessories.dm +++ b/maps/sierra/loadout/loadout_accessories.dm @@ -55,7 +55,7 @@ /datum/gear/accessory/solgov_ec_rank display_name = "Expeditionary Corps rank badges selection" description = "An insignia denoting wearer's rank within the SCG Expeditionary Corps." - path = /obj/item/clothing/accessory + path = /obj/item/clothing/accessory/solgov/rank/ec/enlisted allowed_branches = list(/datum/mil_branch/contractor) allowed_backgrounds = list(FACTION_SOL_CENTRAL, FACTION_EXPEDITIONARY, FACTION_CORPORATE) diff --git a/maps/sierra/loadout/loadout_head.dm b/maps/sierra/loadout/loadout_head.dm index 685809f9eb..622381ca3b 100644 --- a/maps/sierra/loadout/loadout_head.dm +++ b/maps/sierra/loadout/loadout_head.dm @@ -15,7 +15,7 @@ /datum/gear/head/beret_selection display_name = "contractor beret selection" description = "A list of berets used by various organizations and corporights." - path = /obj/item/clothing/head/beret + path = /obj/item/clothing/head/beret/sec/corporate/pcrc allowed_roles = SECURITY_ROLES /datum/gear/head/beret_selection/New() @@ -27,4 +27,3 @@ beret_selection_type["PCRC beret"] = /obj/item/clothing/head/beret/sec/corporate/pcrc beret_selection_type["ZPCI beret"] = /obj/item/clothing/head/beret/sec/corporate/zpci gear_tweaks += new/datum/gear_tweak/path(beret_selection_type) - diff --git a/maps/sierra/loadout/loadout_suit.dm b/maps/sierra/loadout/loadout_suit.dm index 76ecab99b2..78112e23d7 100644 --- a/maps/sierra/loadout/loadout_suit.dm +++ b/maps/sierra/loadout/loadout_suit.dm @@ -60,7 +60,7 @@ /datum/gear/suit/labcoat_corp_si display_name = "labcoat, NT or Hephaestus" - path = /obj/item/clothing/suit/storage/toggle/labcoat/science + path = /obj/item/clothing/suit/storage/toggle/labcoat/science/nanotrasen allowed_roles = RESEARCH_ROLES allowed_branches = list(/datum/mil_branch/employee, /datum/mil_branch/contractor) diff --git a/maps/sierra/loadout/loadout_tactical.dm b/maps/sierra/loadout/loadout_tactical.dm index fa1ea81bc3..4c8f1a55f9 100644 --- a/maps/sierra/loadout/loadout_tactical.dm +++ b/maps/sierra/loadout/loadout_tactical.dm @@ -45,7 +45,7 @@ /datum/gear/tactical/security_uniforms display_name = "security uniform" allowed_roles = SECURITY_ROLES - path = /obj/item/clothing/under + path = /obj/item/clothing/under/rank/security/corp/alt slot = slot_w_uniform /datum/gear/tactical/security_uniforms/New() @@ -61,4 +61,3 @@ path = /obj/item/clothing/under/gray_camo slot = slot_w_uniform flags = GEAR_HAS_COLOR_SELECTION - diff --git a/maps/sierra/loadout/loadout_uniform.dm b/maps/sierra/loadout/loadout_uniform.dm index 79bb12b240..f49bfabfa0 100644 --- a/maps/sierra/loadout/loadout_uniform.dm +++ b/maps/sierra/loadout/loadout_uniform.dm @@ -22,14 +22,14 @@ path = /obj/item/clothing/under/rank/guard/nanotrasen allowed_roles = list(/datum/job/officer) -/datum/gear/uniform/si_exec - display_name = "NanoTrasen senior researcher alt uniform" - path = /obj/item/clothing/under/rank/scientist/executive - allowed_roles = list(/datum/job/senior_scientist) +// /datum/gear/uniform/si_exec +// display_name = "NanoTrasen senior researcher alt uniform" +// path = /obj/item/clothing/under/rank/scientist/executive +// allowed_roles = list(/datum/job/senior_scientist) спрайта нема /datum/gear/uniform/si_overalls display_name = "corporate coveralls" - path = /obj/item/clothing/under/rank/ntwork + path = /obj/item/clothing/under/rank/ntwork/heph allowed_branches = list(/datum/mil_branch/employee, /datum/mil_branch/contractor) /datum/gear/uniform/si_overalls/New() @@ -41,7 +41,7 @@ /datum/gear/uniform/si_flight display_name = "corporate pilot suit" - path = /obj/item/clothing/under/rank/ntpilot + path = /obj/item/clothing/under/rank/ntpilot/nanotrasen allowed_branches = list(/datum/mil_branch/employee, /datum/mil_branch/contractor) /datum/gear/uniform/si_flight/New() @@ -58,7 +58,7 @@ /datum/gear/uniform/formal_shirt_and_pants display_name = "formal shirts with pants" - path = /obj/item/clothing/under/suit_jacket + path = /obj/item/clothing/under/suit_jacket/charcoal/no_accessories /datum/gear/uniform/formal_shirt_and_pants/New() ..() diff --git a/maps/sierra/loadout/loadout_xeno.dm b/maps/sierra/loadout/loadout_xeno.dm index 5244a02fd6..f1aa2eed3b 100644 --- a/maps/sierra/loadout/loadout_xeno.dm +++ b/maps/sierra/loadout/loadout_xeno.dm @@ -2,7 +2,7 @@ /datum/gear/passport/unathi display_name = "(Unathi) registration document" - path = /obj/item/passport/xeno/unathi + path = /obj/item/passport/xeno/unathi/independent sort_category = "Xenowear" flags = 0 whitelisted = list(SPECIES_UNATHI, SPECIES_YEOSA) diff --git a/maps/torch/loadout/loadout_accessories.dm b/maps/torch/loadout/loadout_accessories.dm index b6f18f5c8a..5b9d59bccd 100644 --- a/maps/torch/loadout/loadout_accessories.dm +++ b/maps/torch/loadout/loadout_accessories.dm @@ -1,7 +1,7 @@ /datum/gear/accessory/solawardmajor display_name = "SolGov major award selection" description = "A medal or ribbon awarded to SolGov personnel for significant accomplishments." - path = /obj/item/clothing/accessory + path = /obj/item/clothing/accessory/medal/solgov/bronze/heart cost = 8 allowed_branches = SOLGOV_BRANCHES @@ -21,7 +21,7 @@ /datum/gear/accessory/solawardminor display_name = "SolGov minor award selection" description = "A medal or ribbon awarded to SolGov personnel for minor accomplishments." - path = /obj/item/clothing/accessory + path = /obj/item/clothing/accessory/medal/solgov/iron/sol cost = 5 allowed_branches = SOLGOV_BRANCHES @@ -216,7 +216,7 @@ /datum/gear/tactical/ubac/misc display_name = "miscellaneous UBAC shirt selection" - path = /obj/item/clothing/accessory/ubac + path = /obj/item/clothing/accessory/ubac/green allowed_branches = CIVILIAN_BRANCHES /datum/gear/tactical/ubac/misc/New() @@ -239,7 +239,7 @@ /datum/gear/tactical/armor_pouches/misc display_name = "miscellaneous armor pouches selection" - path = /obj/item/clothing/accessory/storage/pouches + path = /obj/item/clothing/accessory/storage/pouches/green allowed_branches = CIVILIAN_BRANCHES /datum/gear/tactical/armor_pouches/misc/New() @@ -262,7 +262,7 @@ /datum/gear/tactical/large_pouches/misc display_name = "miscellaneous large armor pouches selection" - path = /obj/item/clothing/accessory/storage/pouches/large + path = /obj/item/clothing/accessory/storage/pouches/large/green allowed_branches = CIVILIAN_BRANCHES /datum/gear/tactical/large_pouches/misc/New() diff --git a/maps/torch/loadout/loadout_suit.dm b/maps/torch/loadout/loadout_suit.dm index c74e68c53b..89ea32fb53 100644 --- a/maps/torch/loadout/loadout_suit.dm +++ b/maps/torch/loadout/loadout_suit.dm @@ -113,6 +113,7 @@ /datum/gear/tactical/pcarrier/misc display_name = "miscellaneous plate carrier selection" + path = /obj/item/clothing/suit/armor/pcarrier/green allowed_roles = ARMORED_ROLES allowed_branches = CIVILIAN_BRANCHES