diff --git a/code/controllers/configuration.dm b/code/controllers/configuration.dm index fe5dcc0d677..3251a8e8e16 100644 --- a/code/controllers/configuration.dm +++ b/code/controllers/configuration.dm @@ -121,6 +121,7 @@ var/list/gamemode_cache = list() var/organ_health_multiplier = 1 var/organ_regeneration_multiplier = 1 + var/organs_decay //Paincrit knocks someone down once they hit 60 shock_stage, so by default make it so that close to 100 additional damage needs to be dealt, //so that it's similar to HALLOSS. Lowered it a bit since hitting paincrit takes much longer to wear off than a halloss stun. @@ -708,6 +709,8 @@ var/list/gamemode_cache = list() config.organ_regeneration_multiplier = value / 100 if("organ_damage_spillover_multiplier") config.organ_damage_spillover_multiplier = value / 100 + if("organs_can_decay") + config.organs_decay = 1 if("bones_can_break") config.bones_can_break = value if("limbs_can_break") diff --git a/code/modules/organs/organ.dm b/code/modules/organs/organ.dm index b767292511a..bbafd2e53bc 100644 --- a/code/modules/organs/organ.dm +++ b/code/modules/organs/organ.dm @@ -95,7 +95,7 @@ var/list/organ_cache = list() if(B && prob(40)) reagents.remove_reagent("blood",0.1) blood_splatter(src,B,1) - damage += rand(1,3) + if(config.organs_decay) damage += rand(1,3) if(damage >= max_damage) die() diff --git a/config/example/config.txt b/config/example/config.txt index 7b090d4b387..61bc8470db1 100644 --- a/config/example/config.txt +++ b/config/example/config.txt @@ -362,7 +362,8 @@ STARLIGHT 0 ## Enable asteroid tunnel/cave generation. Will behave strangely if turned off with a map that expects it on. # GENERATE_ASTEROID - +## Uncomment to enable organ decay outside of a body or storage item. +#ORGANS_CAN_DECAY ## Uncomment to have the changelog file automatically open when a user connects and hasn't seen the latest changelog #AGGRESSIVE_CHANGELOG