diff --git a/code/modules/client/preference_setup/loadout/loadout_head.dm b/code/modules/client/preference_setup/loadout/loadout_head.dm index 256d9940cd2..eea1f0cdd75 100644 --- a/code/modules/client/preference_setup/loadout/loadout_head.dm +++ b/code/modules/client/preference_setup/loadout/loadout_head.dm @@ -339,6 +339,7 @@ gadpathur["gadpathurian engineer beret"] = /obj/item/clothing/head/beret/gadpathur/engineer gadpathur["gadpathurian medical beret"] = /obj/item/clothing/head/beret/gadpathur/medical gadpathur["gadpathurian turban"] = /obj/item/clothing/head/turban/gadpathur + gadpathur["gadpathurian patrol cap"] = /obj/item/clothing/head/ushanka/gadpathur gear_tweaks += new /datum/gear_tweak/path(gadpathur) /datum/gear/head/dominia diff --git a/code/modules/clothing/factions/gadpathur.dm b/code/modules/clothing/factions/gadpathur.dm index 0a10cb764fe..a53a975b189 100644 --- a/code/modules/clothing/factions/gadpathur.dm +++ b/code/modules/clothing/factions/gadpathur.dm @@ -89,6 +89,24 @@ icon_state = "gadpathur_medic_beret" item_state = "gadpathur_medic_beret" +/obj/item/clothing/head/ushanka/gadpathur + name = "gadpathurian patrol cap" + desc = "A Gadpathurian cap with a sun shade for protection against the planet's ash storms." + icon_state = "gadpathur_kepi" + item_state = "gadpathur_kepi" + icon = 'icons/clothing/head/gadpathur_kepi.dmi' + contained_sprite = TRUE + +/obj/item/clothing/head/ushanka/gadpathur/attack_self(mob/user as mob) + src.earsup = !src.earsup + if(src.earsup) + icon_state = "[initial(icon_state)]_up" + item_state = "[initial(icon_state)]_up" + to_chat(user, SPAN_NOTICE("You raise the sun shade on the cap.")) + else + src.icon_state = initial(icon_state) + to_chat(user, SPAN_NOTICE("You lower the sun shade on the cap.")) + update_clothing_icon() /obj/item/clothing/accessory/armband/gadpathur name = "cadre brassard" diff --git a/html/changelogs/stryker-gadpathur.yml b/html/changelogs/stryker-gadpathur.yml new file mode 100644 index 00000000000..daf922e4f3c --- /dev/null +++ b/html/changelogs/stryker-gadpathur.yml @@ -0,0 +1,41 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +# balance +# admin +# backend +# security +# refactor +################################# + +# Your name. +author: The Stryker + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - rscadd: "Adds a Gadpathurian patrol cap to the headwear tab for the loadout." \ No newline at end of file diff --git a/icons/clothing/head/gadpathur_kepi.dmi b/icons/clothing/head/gadpathur_kepi.dmi new file mode 100644 index 00000000000..c235df5fbe1 Binary files /dev/null and b/icons/clothing/head/gadpathur_kepi.dmi differ