Fixes a set of reversed pain checks in sensitive hearing (#12858)

* Fixes a set of reversed pain checks

* typo fix

Co-authored-by: TGW <mc-casper@hotmail.dk>
Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com>
This commit is contained in:
Casper3667
2021-12-19 05:09:45 +01:00
committed by GitHub
co-authored by TGW Werner
parent 22958e49c4
commit 9db3249cf1
2 changed files with 11 additions and 5 deletions
@@ -2120,16 +2120,16 @@
var/obj/item/organ/external/E = organs_by_name[BP_HEAD]
switch (intensity)
if (1)
custom_pain("Your ears hurt a little.", 5, FALSE, E, 0)
custom_pain("Your ears hurt a little.", 5, FALSE, E, TRUE)
if (2)
custom_pain("Your ears hurt!", 10, TRUE, E, 0)
custom_pain("Your ears hurt!", 10, TRUE, E, TRUE)
if (3)
custom_pain("Your ears hurt badly!", 40, TRUE, E, 0)
custom_pain("Your ears hurt badly!", 40, TRUE, E, TRUE)
if (4)
custom_pain("Your ears begin to ring faintly from the pain!", 70, TRUE, E, 0)
custom_pain("Your ears begin to ring faintly from the pain!", 70, TRUE, E, TRUE)
adjustEarDamage(5, 0, FALSE)
stop_listening()
if (5)
custom_pain("YOUR EARS ARE DEAFENED BY THE PAIN!", 110, TRUE, E, 1)
custom_pain("YOUR EARS ARE DEAFENED BY THE PAIN!", 110, TRUE, E, FALSE)
adjustEarDamage(5, 5, FALSE)
stop_listening()