Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revives Armor Linking (med/heavy armor buff) #4451

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading