From 4be8285db0b03fbf9ac81a8ca596d85484452af8 Mon Sep 17 00:00:00 2001 From: Cody Brittain Date: Fri, 27 Oct 2023 10:02:43 -0400 Subject: [PATCH] Added a Gadpathurian rebreather, exclusive to Gadpathurians (#17642) * Added a Gadpathurian rebreather, exclusive to Gadpathurians in the loadout. * CL --------- Co-authored-by: Cody Brittain --- .../preference_setup/loadout/items/mask.dm | 6 +++ code/modules/clothing/factions/gadpathur.dm | 13 +++++- .../GeneralCamo - Gadpathurian Rebreather.yml | 41 ++++++++++++++++++ icons/clothing/masks/gadpathur_breath.dmi | Bin 0 -> 492 bytes 4 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/GeneralCamo - Gadpathurian Rebreather.yml create mode 100644 icons/clothing/masks/gadpathur_breath.dmi diff --git a/code/modules/client/preference_setup/loadout/items/mask.dm b/code/modules/client/preference_setup/loadout/items/mask.dm index 9d46993528d..2cad1df2fcd 100644 --- a/code/modules/client/preference_setup/loadout/items/mask.dm +++ b/code/modules/client/preference_setup/loadout/items/mask.dm @@ -20,3 +20,9 @@ display_name = "cloth mask" path = /obj/item/clothing/mask/cloth flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION + +/datum/gear/mask/gadpathur + display_name = "gadpathurian rebreather" + path = /obj/item/clothing/mask/breath/gadpathur + flags = GEAR_HAS_DESC_SELECTION + origin_restriction = list(/singleton/origin_item/origin/gadpathur) diff --git a/code/modules/clothing/factions/gadpathur.dm b/code/modules/clothing/factions/gadpathur.dm index c386848cba0..8d466323f82 100644 --- a/code/modules/clothing/factions/gadpathur.dm +++ b/code/modules/clothing/factions/gadpathur.dm @@ -158,4 +158,15 @@ They can be easily ripped in half in the event of the wearer's death." icon = 'icons/clothing/accessories/dogtags.dmi' icon_state = "gadpathur_tag" - w_class = ITEMSIZE_SMALL \ No newline at end of file + w_class = ITEMSIZE_SMALL + +/obj/item/clothing/mask/breath/gadpathur + name = "gadpathurian rebreather" + desc = "A sturdy-looking rebreather with a canvas scarf wrapped around it. Boring, but sturdy-looking." + desc_extended = "A common sight on Gadpathur, the Type 2308 (its year of creation) rebreather is typically worn with an oxygen tank or filtration\ + module to combat more minor contaminants found on Gadpathur. Not intended for use in seriously contaminated zones." + icon = 'icons/clothing/masks/gadpathur_breath.dmi' + icon_state = "gadpathur_breath" + item_state = "gadpathur_breath" + adjustable = FALSE + contained_sprite = TRUE diff --git a/html/changelogs/GeneralCamo - Gadpathurian Rebreather.yml b/html/changelogs/GeneralCamo - Gadpathurian Rebreather.yml new file mode 100644 index 00000000000..e45c49b500e --- /dev/null +++ b/html/changelogs/GeneralCamo - Gadpathurian Rebreather.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: GeneralCamo + +# 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: "Added a Gadpathurian rebreather to the loadout, exclusive to Gadpathurians." diff --git a/icons/clothing/masks/gadpathur_breath.dmi b/icons/clothing/masks/gadpathur_breath.dmi new file mode 100644 index 0000000000000000000000000000000000000000..801769c4cc09364dcdc89832489361b3fa15d066 GIT binary patch literal 492 zcmV?!~TTrUIU937Pa008hwL_t(YiS3oW4uUWgg(=t_OdMo_ zCN54GYFJHRaWj(3Y(mI=02AKB#21h!wf+n(f3}lLzl7o5o^wxGdL7523;BLi^#IrR zoTY4FjK#7b2>eANH)6hv?cI;bl=c&$KKEo@6gPiLJVMBGoU zq}v0OTm6VID(kv&^&`T~Yipjh4Wy$8Vhd{DiA40hmtFmzpqOPizlVE>8~s?^BO#^+ io1jBwYM_St|M3Kb5iQYWAu@9S0000