Skip to content

Commit

Permalink
removes armour regen
Browse files Browse the repository at this point in the history
  • Loading branch information
X0-11 committed Jun 8, 2024
1 parent 04290ca commit 1ca9f4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
1 change: 1 addition & 0 deletions code/modules/mob/living/carbon/human/human_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
11 changes: 1 addition & 10 deletions code/modules/mob/living/carbon/human/life.dm
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@

handle_medical_side_effects()

handle_armour_regen()

if(!client && !mind)
species.handle_npc(src)

Expand Down Expand Up @@ -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)
. = ..()

0 comments on commit 1ca9f4a

Please sign in to comment.