mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
makes space pods (and earmuffs) make you deaf
i guess i can make earmuffs actually work while im at it
This commit is contained in:
@@ -22,6 +22,15 @@
|
||||
AddElement(/datum/element/earhealing)
|
||||
AddComponent(/datum/component/wearertargeting/earprotection, list(ITEM_SLOT_EARS))
|
||||
|
||||
/obj/item/clothing/ears/earmuffs/equipped(mob/user, slot)
|
||||
. = ..()
|
||||
if(ishuman(user) && slot == ITEM_SLOT_EARS)
|
||||
ADD_TRAIT(user, TRAIT_DEAF, CLOTHING_TRAIT)
|
||||
|
||||
/obj/item/clothing/ears/earmuffs/dropped(mob/user)
|
||||
. = ..()
|
||||
REMOVE_TRAIT(user, TRAIT_DEAF, CLOTHING_TRAIT)
|
||||
|
||||
/obj/item/clothing/ears/earmuffs/spacepods
|
||||
name = "nanotrasen space pods"
|
||||
desc = "Flex your money, AND ignore what everone else says, all at once!"
|
||||
|
||||
Reference in New Issue
Block a user