Merge pull request #14093 from Very-Soft/equipspecial

equip_special
This commit is contained in:
Casey
2022-11-18 01:39:47 -05:00
committed by CHOMPStation2
parent 5d35b5b8a2
commit f6cfa0a3ed
2 changed files with 12 additions and 3 deletions

View File

@@ -127,9 +127,12 @@
var/emagged = FALSE var/emagged = FALSE
var/target_size = 1 var/target_size = 1
/obj/item/clothing/gloves/bluespace/mob_can_equip(mob/M, gloves, disable_warning = 0) /obj/item/proc/equip_special()
. = ..() return
if(. && ishuman(M) && !disable_warning)
/obj/item/clothing/gloves/bluespace/equip_special()
var/mob/M = src.loc
if(ishuman(M))
var/mob/living/carbon/human/H = M var/mob/living/carbon/human/H = M
if(!H.resizable) if(!H.resizable)
return return

View File

@@ -377,6 +377,12 @@ This saves us from having to call add_fingerprint() any time something is put in
W.in_inactive_hand(src) W.in_inactive_hand(src)
//VOREStation Addition Start
if(istype(W, /obj/item))
var/obj/item/I = W
I.equip_special()
//VOREStation Addition End
return 1 return 1
//Checks if a given slot can be accessed at this time, either to equip or unequip I //Checks if a given slot can be accessed at this time, either to equip or unequip I