Skip to content

Commit

Permalink
kevlar upgrades no longer make you immortal (#6149)
Browse files Browse the repository at this point in the history
guess who fucked up?
  • Loading branch information
silicons authored Nov 18, 2023
1 parent 2ef2b1e commit f9c8e05
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions code/game/objects/items/upgradekit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
if(istype(target, /obj/item/clothing/under))
var/obj/item/clothing/under/C = target
if(C.fetch_armor().is_atleast(list(
ARMOR_MELEE = 40,
ARMOR_BULLET = 20,
ARMOR_LASER = 20,
ARMOR_MELEE = 0.2,
ARMOR_BULLET = 0.1,
ARMOR_LASER = 0.1,
)))
to_chat(user, "This item cannot be upgraded any further!")
return CLICKCHAIN_DO_NOT_PROPAGATE
C.set_armor(C.fetch_armor().boosted(list(
ARMOR_MELEE = 40,
ARMOR_BULLET = 20,
ARMOR_LASER = 20,
ARMOR_MELEE = 0.2,
ARMOR_BULLET = 0.1,
ARMOR_LASER = 0.1,
)))

to_chat(user, "Armor upgrade successful!")
Expand Down

0 comments on commit f9c8e05

Please sign in to comment.