From d3d79ada741455dc7ce2f2df9f4115da45d61da2 Mon Sep 17 00:00:00 2001 From: TheStryker Date: Tue, 9 Aug 2022 18:54:10 +0800 Subject: [PATCH] Adds a Gadpathurian kepi. (#14547) --- .../preference_setup/loadout/loadout_head.dm | 1 + code/modules/clothing/factions/gadpathur.dm | 18 ++++++++ html/changelogs/stryker-gadpathur.yml | 41 ++++++++++++++++++ icons/clothing/head/gadpathur_kepi.dmi | Bin 0 -> 1488 bytes 4 files changed, 60 insertions(+) create mode 100644 html/changelogs/stryker-gadpathur.yml create mode 100644 icons/clothing/head/gadpathur_kepi.dmi 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 0000000000000000000000000000000000000000..c235df5fbe1b304d758d0593197a70c3acff48a6 GIT binary patch literal 1488 zcmbu9YgEz)7{>poWtm8M%?nKp^Oiczt(g;2AT`UBB-7MP)TK30A!iN+@3%59ftMgn za)ryxF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