Skip to content

Commit

Permalink
heavy armor buff real 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
private-tristan committed Sep 20, 2023
1 parent 42d0f37 commit a069c86
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions code/modules/clothing/clothing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,11 @@
var/gloves_blood_amt = 0 //taken from blood.dm
var/hide_prints = FALSE

/obj/item/clothing/gloves/Initialize(mapload, ...)
. = ..()
if(armor_melee || armor_bullet || armor_laser || armor_energy || armor_bomb || armor_bio || armor_rad)
AddComponent(/datum/component/armor_link, WEAR_JACKET, TRUE)

/obj/item/clothing/gloves/update_clothing_icon()
if (ismob(src.loc))
var/mob/M = src.loc
Expand Down Expand Up @@ -335,6 +340,11 @@
var/list/items_allowed
var/shoes_blood_amt = 0

obj/item/clothing/shoes/Initialize(mapload, ...)
. = ..()
if(armor_melee || armor_bullet || armor_laser || armor_energy || armor_bomb || armor_bio || armor_rad)
AddComponent(/datum/component/armor_link, WEAR_JACKET, TRUE)

/obj/item/clothing/shoes/update_clothing_icon()
if (ismob(src.loc))
var/mob/M = src.loc
Expand Down

0 comments on commit a069c86

Please sign in to comment.