Files
Aurora.3/code/modules/client/preference_setup/loadout/items/ears.dm
T
Greenjoe12345andGitHub d7ef4cba68 dual hearing aids in loadout + hearing aid case (#21349)
Adds a new hearing aid case item, capable of holding a pair of hearing
aids. This is added to the hearing aid selection in the loadout,
allowing you to start with a pair of hearing aids.
(also adds names to each of the hearing aid types)
2025-09-15 12:01:09 +00:00

53 lines
2.3 KiB
Plaintext

/datum/gear/ears
display_name = "earwear, circuitry (empty)"
path = /obj/item/clothing/ears/circuitry
sort_category = "Earwear"
slot = slot_r_ear
/datum/gear/ears/double
display_name = "earmuffs"
path = /obj/item/clothing/ears/earmuffs
slot = null
/datum/gear/ears/double/ear_warmers
display_name = "ear warmers, colourable"
path = /obj/item/clothing/accessory/ear_warmers
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION
/datum/gear/ears/earrings
display_name = "earring selection"
description = "A selection of eye-catching earrings."
path = /obj/item/clothing/ears/earring
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION
/datum/gear/ears/earrings/New()
..()
var/list/earrings = list()
earrings["stud earrings"] = /obj/item/clothing/ears/earring
earrings["dangle earrings"] = /obj/item/clothing/ears/earring/dangle
earrings["circular bangle earrings"] = /obj/item/clothing/ears/earring/bangle
earrings["crescent earrings"] = /obj/item/clothing/ears/earring/crescent
earrings["oversized earrings"] = /obj/item/clothing/ears/earring/heavy
gear_tweaks += new /datum/gear_tweak/path(earrings)
/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
/datum/gear/ears/hearing_aid/New()
..()
var/list/hearingaids = list()
hearingaids["hearing aid, black"] = /obj/item/device/hearing_aid/black
hearingaids["hearing aid, grey"] = /obj/item/device/hearing_aid
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)