mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-21 22:47:19 +00:00
* kill BANG_PROTECT_2 * let's put this back in * dirty * kill OMNITONGUE_2 This is a write-only variable, probably leftover from some refactor years ago * kill flags_2
12 lines
365 B
Plaintext
12 lines
365 B
Plaintext
/datum/component/wearertargeting/earprotection
|
|
signals = list(COMSIG_CARBON_SOUNDBANG)
|
|
mobtype = /mob/living/carbon
|
|
|
|
/datum/component/wearertargeting/earprotection/Initialize(_valid_slots)
|
|
. = ..()
|
|
valid_slots = _valid_slots
|
|
callback = CALLBACK(src, .proc/reducebang)
|
|
|
|
/datum/component/wearertargeting/earprotection/proc/reducebang(list/reflist)
|
|
reflist[1]--
|