diff --git a/code/game/objects/items/devices/hearing_aid.dm b/code/game/objects/items/devices/hearing_aid.dm index f9079c82a9a..c94a656220b 100644 --- a/code/game/objects/items/devices/hearing_aid.dm +++ b/code/game/objects/items/devices/hearing_aid.dm @@ -1,5 +1,5 @@ /obj/item/device/hearing_aid - name = "hearing aid" + name = "grey hearing aid" desc = "A device that allows the naturally deaf to hear, to an extent." icon = 'icons/obj/item/device/hearing_aid.dmi' icon_state = "hearing_aid" @@ -8,18 +8,44 @@ w_class = WEIGHT_CLASS_SMALL /obj/item/device/hearing_aid/black + name = "black hearing aid" icon_state = "hearing_aid-b" item_state = "hearing_aid-b" /obj/item/device/hearing_aid/silver + name = "silver hearing aid" icon_state = "hearing_aid-s" item_state = "hearing_aid-s" /obj/item/device/hearing_aid/white + name = "white hearing aid" icon_state = "hearing_aid-w" item_state = "hearing_aid-w" /obj/item/device/hearing_aid/skrell + name = "skrellian hearing aid" desc = "A device that allows the naturally deaf to hear, to an extent. It seems to be Skrellian in design." icon_state = "hearing_aid_skrell" item_state = "hearing_aid_skrell" + +/obj/item/storage/hearing_aid_case + name = "hearing aid case" + desc = "A small plastic case designed to hold a pair of hearing aids." + w_class = WEIGHT_CLASS_SMALL + can_hold = list(/obj/item/device/hearing_aid) + icon = 'icons/obj/item/device/hearing_aid.dmi' + icon_state = "hearing_aid_case" + storage_slots = 2 + starts_with = list(/obj/item/device/hearing_aid = 2) + +/obj/item/storage/hearing_aid_case/black + starts_with = list(/obj/item/device/hearing_aid/black = 2) + +/obj/item/storage/hearing_aid_case/silver + starts_with = list(/obj/item/device/hearing_aid/silver = 2) + +/obj/item/storage/hearing_aid_case/white + starts_with = list(/obj/item/device/hearing_aid/white = 2) + +/obj/item/storage/hearing_aid_case/skrell + starts_with = list(/obj/item/device/hearing_aid/skrell = 2) diff --git a/code/modules/client/preference_setup/loadout/items/ears.dm b/code/modules/client/preference_setup/loadout/items/ears.dm index f7383388022..64e33e063f0 100644 --- a/code/modules/client/preference_setup/loadout/items/ears.dm +++ b/code/modules/client/preference_setup/loadout/items/ears.dm @@ -32,6 +32,7 @@ /datum/gear/ears/hearing_aid display_name = "hearing aid selection" + description = "A selection of hearing aids. If you select a pair, you should pick a wristbound or clip-on radio to keep both ears free for the hearing aids." path = /obj/item/device/hearing_aid cost = 1 @@ -43,4 +44,9 @@ hearingaids["hearing aid, silver"] = /obj/item/device/hearing_aid/silver hearingaids["hearing aid, white"] = /obj/item/device/hearing_aid/white hearingaids["hearing aid, skrellian"] = /obj/item/device/hearing_aid/skrell + hearingaids["hearing aid pair, black"] = /obj/item/storage/hearing_aid_case/black + hearingaids["hearing aid pair, grey"] = /obj/item/storage/hearing_aid_case + hearingaids["hearing aid pair, silver"] = /obj/item/storage/hearing_aid_case/silver + hearingaids["hearing aid pair, white"] = /obj/item/storage/hearing_aid_case/white + hearingaids["hearing aid pair, skrellian"] = /obj/item/storage/hearing_aid_case/skrell gear_tweaks += new /datum/gear_tweak/path(hearingaids) diff --git a/html/changelogs/greenjoe - hearingaidpair.yml b/html/changelogs/greenjoe - hearingaidpair.yml new file mode 100644 index 00000000000..231ee4a59d0 --- /dev/null +++ b/html/changelogs/greenjoe - hearingaidpair.yml @@ -0,0 +1,58 @@ +################################ +# 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 +# - (fixes bugs) +# wip +# - (work in progress) +# qol +# - (quality of life) +# soundadd +# - (adds a sound) +# sounddel +# - (removes a sound) +# rscadd +# - (adds a feature) +# rscdel +# - (removes a feature) +# imageadd +# - (adds an image or sprite) +# imagedel +# - (removes an image or sprite) +# spellcheck +# - (fixes spelling or grammar) +# experiment +# - (experimental change) +# balance +# - (balance changes) +# code_imp +# - (misc internal code change) +# refactor +# - (refactors code) +# config +# - (makes a change to the config files) +# admin +# - (makes changes to administrator tools) +# server +# - (miscellaneous changes to server) +################################# + +# Your name. +author: Greenjoe + +# 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, this gets changed to [] after reading. Just remove the brackets when you add new shit. +# Please surround your changes in double quotes ("). It works without them, but if you use certain characters it screws up compiling. The quotes will not show up in the changelog. +changes: + - rscadd: "Adds a hearing aid case item, capable of holding a pair of hearing aids, adding it to the hearing aid selection in the loadout." diff --git a/icons/obj/item/device/hearing_aid.dmi b/icons/obj/item/device/hearing_aid.dmi index ade3ec89a67..3f0c4b6de40 100644 Binary files a/icons/obj/item/device/hearing_aid.dmi and b/icons/obj/item/device/hearing_aid.dmi differ