diff --git a/mods/loadout_items/_loadout_items.dme b/mods/loadout_items/_loadout_items.dme index b93bb82ae70cf..c0716ccb09387 100644 --- a/mods/loadout_items/_loadout_items.dme +++ b/mods/loadout_items/_loadout_items.dme @@ -17,6 +17,7 @@ #include "code/lists/uniforms.dm" #include "code/lists/suits.dm" #include "code/lists/xenowear.dm" +#include "code/lists/headwear.dm" #include "code/loadout/loadout.dm" #include "code/loadout/donations.dm" #include "code/loadout/donator.dm" diff --git a/mods/loadout_items/code/head.dm b/mods/loadout_items/code/head.dm index fdad5c3540768..289555f60fff3 100644 --- a/mods/loadout_items/code/head.dm +++ b/mods/loadout_items/code/head.dm @@ -37,3 +37,19 @@ icon_state = initial(icon_state) item_state = initial(icon_state) to_chat(user, "You lower the ear flaps on the Suncap.") + +// Human headgarments + +/obj/item/clothing/head/soft/colorable + name = "Soft cap" + desc = "A simple baseball soft cap without any special qualities" + icon = 'mods/loadout_items/icons/obj_head.dmi' + item_icons = list( + slot_head_str = 'mods/loadout_items/icons/onmob_head.dmi' + ) + icon_state = "cprescap" + item_state = "cprescap" + +/obj/item/clothing/head/soft/on_update_icon() + . = ..() + item_state = initial(item_state) + (flipped ? "_flipped" : "") \ No newline at end of file diff --git a/mods/loadout_items/code/lists/headwear.dm b/mods/loadout_items/code/lists/headwear.dm new file mode 100644 index 0000000000000..2389436ad5e95 --- /dev/null +++ b/mods/loadout_items/code/lists/headwear.dm @@ -0,0 +1,6 @@ +/datum/gear/head/ballcap + display_name = "ballcap, colour select" + path = /obj/item/clothing/head/soft/colorable + flags = GEAR_HAS_COLOR_SELECTION + slot = slot_head + cost = 1 \ No newline at end of file diff --git a/mods/loadout_items/icons/obj_head.dmi b/mods/loadout_items/icons/obj_head.dmi index 59a4a33835632..224ac27344244 100644 Binary files a/mods/loadout_items/icons/obj_head.dmi and b/mods/loadout_items/icons/obj_head.dmi differ diff --git a/mods/loadout_items/icons/onmob_head.dmi b/mods/loadout_items/icons/onmob_head.dmi index 2c649ac83722e..8a13047241bfc 100644 Binary files a/mods/loadout_items/icons/onmob_head.dmi and b/mods/loadout_items/icons/onmob_head.dmi differ