From cf5cfbacbe06bb273855aaf6b4471347c2fac123 Mon Sep 17 00:00:00 2001 From: Alberyk Date: Wed, 19 Jun 2019 13:47:01 -0300 Subject: [PATCH] Bug fixes: ESS and speech problems (#6586) --- code/datums/brain_damage/mild.dm | 6 +++--- code/modules/clothing/spacesuits/rig/suits/light.dm | 3 +++ html/changelogs/alberyk-twobugs.yml | 7 +++++++ 3 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 html/changelogs/alberyk-twobugs.yml diff --git a/code/datums/brain_damage/mild.dm b/code/datums/brain_damage/mild.dm index f0a72ebeea6..76823c1b6ee 100644 --- a/code/datums/brain_damage/mild.dm +++ b/code/datums/brain_damage/mild.dm @@ -124,14 +124,14 @@ owner.vomit() if(2,3) to_chat(owner, "You feel light-headed.") - owner.dizziness += 10 + owner.dizziness = max(owner.slurring, 10) if(4,5) to_chat(owner, "it becomes hard to see for some reason.") - owner.confused += 10 + owner.confused = max(owner.slurring, 10) owner.apply_effect(10,EYE_BLUR) if(6 to 9) to_chat(owner, "Your tongue feels thick in your mouth.") - owner.slurring += 30 + owner.slurring = max(owner.slurring, 30) ..() diff --git a/code/modules/clothing/spacesuits/rig/suits/light.dm b/code/modules/clothing/spacesuits/rig/suits/light.dm index e0ef6e42c26..2ad2d3eb3d5 100644 --- a/code/modules/clothing/spacesuits/rig/suits/light.dm +++ b/code/modules/clothing/spacesuits/rig/suits/light.dm @@ -166,6 +166,8 @@ species_restricted = list("Human") + siemens_coefficient = 0.9 + /obj/item/clothing/head/lightrig/offworlder name = "helmet" flash_protection = FLASH_PROTECTION_MAJOR @@ -187,6 +189,7 @@ offline_slowdown = 0 airtight = 1 offline_vision_restriction = TINT_HEAVY + siemens_coefficient = 0.2 allowed = list( /obj/item/device/flashlight, diff --git a/html/changelogs/alberyk-twobugs.yml b/html/changelogs/alberyk-twobugs.yml new file mode 100644 index 00000000000..cb628b21f00 --- /dev/null +++ b/html/changelogs/alberyk-twobugs.yml @@ -0,0 +1,7 @@ +author: Alberyk + +delete-after: True + +changes: + - bugfix: "Slurring caused by traumas should no longer last forever." + - bugfix: "The ESS now has the appropriate siemen's coefficient."