From 1ca9f4a7e5be053312ceee559a8e4e3678c16fd9 Mon Sep 17 00:00:00 2001 From: X0-11 Date: Sat, 8 Jun 2024 18:08:41 +0100 Subject: [PATCH] removes armour regen --- code/modules/mob/living/carbon/human/human_defines.dm | 1 + code/modules/mob/living/carbon/human/life.dm | 11 +---------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human_defines.dm b/code/modules/mob/living/carbon/human/human_defines.dm index 8002da4639928..1f40ce2318bbb 100644 --- a/code/modules/mob/living/carbon/human/human_defines.dm +++ b/code/modules/mob/living/carbon/human/human_defines.dm @@ -118,3 +118,4 @@ var/obj/item/grab/current_grab_type // What type of grab they use when they grab someone. var/time_last_suppressed = 0 + var/time_last_regen = 0 diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index e6dc4ffc2ab28..2fbabe0f98db3 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -81,8 +81,6 @@ handle_medical_side_effects() - handle_armour_regen() - if(!client && !mind) species.handle_npc(src) @@ -1212,11 +1210,4 @@ /mob/living/carbon/human/handle_flight_failure() if(species.handle_flight_failure(src)) //If our species returns 1, then they're fully handling this. return - . = ..() - -/mob/living/carbon/human/proc/handle_armour_regen() - for(var/i in list(head,wear_suit,w_uniform,shoes,gloves)) - var/obj/item/clothing/c = i - if(istype(c)) - if(c.armor_thickness < c.armor_thickness_max) - c.armor_thickness = min(c.armor_thickness + 0.1,c.armor_thickness_max) \ No newline at end of file + . = ..() \ No newline at end of file