From 330865d6bfa4d2d3f47ed04c63fa73607775fad0 Mon Sep 17 00:00:00 2001 From: ParadoxSpace Date: Fri, 7 Sep 2018 11:42:57 -0600 Subject: [PATCH] Cloak Fixes (#5234) Gardener can now select service cloak, you can now hide your tail when wearing a cloak/poncho. This offended me on a spiritual level. --- .../preference_setup/loadout/loadout_suit.dm | 2 +- .../clothing/under/accessories/accessory.dm | 10 +++++ html/changelogs/paradoxspace-nightingale.yml | 38 +++++++++++++++++++ 3 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/paradoxspace-nightingale.yml diff --git a/code/modules/client/preference_setup/loadout/loadout_suit.dm b/code/modules/client/preference_setup/loadout/loadout_suit.dm index 2f239db2468..92a8c7e3556 100644 --- a/code/modules/client/preference_setup/loadout/loadout_suit.dm +++ b/code/modules/client/preference_setup/loadout/loadout_suit.dm @@ -139,7 +139,7 @@ /datum/gear/suit/roles/poncho/cloak/service display_name = "cloak, service" path = /obj/item/clothing/accessory/poncho/roles/cloak/service - allowed_roles = list("Head of Personnel","Bartender","Botanist","Janitor","Chef","Librarian") + allowed_roles = list("Head of Personnel","Bartender","Gardener","Janitor","Chef","Librarian") /datum/gear/suit/roles/poncho/cloak/engineer display_name = "cloak, engineer" diff --git a/code/modules/clothing/under/accessories/accessory.dm b/code/modules/clothing/under/accessories/accessory.dm index 0a60154f775..93d907f4dc4 100644 --- a/code/modules/clothing/under/accessories/accessory.dm +++ b/code/modules/clothing/under/accessories/accessory.dm @@ -352,6 +352,16 @@ siemens_coefficient = 0.9 w_class = 3 slot = "over" + var/allow_tail_hiding = TRUE //in case if you want to allow someone to switch the HIDETAIL var or not + +/obj/item/clothing/accessory/poncho/verb/toggle_hide_tail() + set name = "Toggle Tail Coverage" + set category = "Object" + + if(allow_tail_hiding) + flags_inv ^= HIDETAIL + usr << "[src] will now [flags_inv & HIDETAIL ? "hide" : "show"] your tail." + ..() /obj/item/clothing/accessory/poncho/green name = "green poncho" diff --git a/html/changelogs/paradoxspace-nightingale.yml b/html/changelogs/paradoxspace-nightingale.yml new file mode 100644 index 00000000000..1a845a80e78 --- /dev/null +++ b/html/changelogs/paradoxspace-nightingale.yml @@ -0,0 +1,38 @@ +################################ +# 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 +################################# + +# Your name. +author: ParadoxSpace + +# 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: + - bugfix: "After sending in sufficient quantities of chili peppers to the first Odin cookout of the month, NT has graciously allowed gardeners to have service cloaks." + - rscadd: "Crafty Unathi and Tajaran crewmembers have learned a new way to slightly adjust their tails as to not stick out of cloaks and ponchos."