From c061eb7ed0fa547fc6d3004e9f7859f55bed008b Mon Sep 17 00:00:00 2001 From: Runa Dacino Date: Sat, 27 Aug 2022 22:55:16 +0200 Subject: [PATCH] Makes neural hypersensitivity affect pain.dm Makes it so custom species with neural hypersensitivity not only enter crit faster, but get spammed with more severe pain messages too, alongside higher chance of dropping items due to pain. Only affects brute and burn. --- code/modules/organs/pain.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/organs/pain.dm b/code/modules/organs/pain.dm index 1d374ab7f0..373b30fe48 100644 --- a/code/modules/organs/pain.dm +++ b/code/modules/organs/pain.dm @@ -40,6 +40,9 @@ if(dam > maxdam && (maxdam == 0 || prob(70)) ) damaged_organ = E maxdam = dam + if(istype(src, /mob/living/carbon/human)) + var/mob/living/carbon/human/H = src + maxdam *= H.species.trauma_mod if(damaged_organ && chem_effects[CE_PAINKILLER] < maxdam) if(maxdam > 10 && paralysis) AdjustParalysis(-round(maxdam/10))