Some ITEM_SLOT bitflags fixes. (#92441)

## About The Pull Request

This PR fixes wrong usage of bitflags in a few places, where instead of
bitfields lists were used.

## Why It's Good For The Game

It will help prevent problems that can be a thing in the future,
improving consistency of the codebase.
This commit is contained in:
SSensum13
2025-08-19 22:30:33 -04:00
committed by nevimer
parent d9cf82b14d
commit 99d95aae62
12 changed files with 22 additions and 20 deletions
@@ -183,7 +183,7 @@ GLOBAL_LIST_INIT(channel_tokens, list(
/obj/item/radio/headset/syndicate/alt/Initialize(mapload)
. = ..()
AddComponent(/datum/component/wearertargeting/earprotection, list(ITEM_SLOT_EARS))
AddComponent(/datum/component/wearertargeting/earprotection)
/obj/item/radio/headset/syndicate/alt/leader
name = "team leader headset"
@@ -207,7 +207,7 @@ GLOBAL_LIST_INIT(channel_tokens, list(
/obj/item/radio/headset/headset_sec/alt/Initialize(mapload)
. = ..()
AddComponent(/datum/component/wearertargeting/earprotection, list(ITEM_SLOT_EARS))
AddComponent(/datum/component/wearertargeting/earprotection)
/obj/item/radio/headset/headset_eng
name = "engineering radio headset"
@@ -290,7 +290,7 @@ GLOBAL_LIST_INIT(channel_tokens, list(
/obj/item/radio/headset/heads/captain/alt/Initialize(mapload)
. = ..()
AddComponent(/datum/component/wearertargeting/earprotection, list(ITEM_SLOT_EARS))
AddComponent(/datum/component/wearertargeting/earprotection)
/obj/item/radio/headset/heads/rd
name = "\proper the research director's headset"
@@ -322,7 +322,7 @@ GLOBAL_LIST_INIT(channel_tokens, list(
/obj/item/radio/headset/heads/hos/alt/Initialize(mapload)
. = ..()
AddComponent(/datum/component/wearertargeting/earprotection, list(ITEM_SLOT_EARS))
AddComponent(/datum/component/wearertargeting/earprotection)
/obj/item/radio/headset/heads/ce
name = "\proper the chief engineer's headset"
@@ -414,7 +414,7 @@ GLOBAL_LIST_INIT(channel_tokens, list(
/obj/item/radio/headset/headset_cent/alt/Initialize(mapload)
. = ..()
AddComponent(/datum/component/wearertargeting/earprotection, list(ITEM_SLOT_EARS))
AddComponent(/datum/component/wearertargeting/earprotection)
/obj/item/radio/headset/headset_cent/alt/leader
command = TRUE