Skip to content

Commit

Permalink
let kinetic gauntlets be worn over other gloves
Browse files Browse the repository at this point in the history
  • Loading branch information
silicons committed Dec 26, 2024
1 parent bcbf961 commit 215753e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/modules/mining/tools/kinetic/kinetic_gauntlets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@
add_overlay("[base_icon_state]-empty")
update_worn_icon()

/obj/item/kinetic_gauntlets/equip_worn_over_check(mob/M, slot, mob/user, obj/item/I, flags)
if(slot != /datum/inventory_slot/inventory/gloves::id)
return ..()
if(istype(I, /obj/item/clothing/gloves/gauntlets))
return ..()
return TRUE

/obj/item/kinetic_gauntlets/examine_query_usage_hints(datum/event_args/examine/examining)
. = ..()
. += "Punching a rock wall on <b>harm intent</b>, while charged, will try to mine it with the gauntlets."
Expand Down

0 comments on commit 215753e

Please sign in to comment.