This commit is contained in:
Ghommie
2020-06-28 01:15:36 +02:00
parent a34a7ba5d4
commit 86241dbe8d
3 changed files with 3 additions and 3 deletions

View File

@@ -1072,7 +1072,7 @@ GLOBAL_LIST_EMPTY(roundstart_race_names)
if(clothing_check && (slot in H.check_obscured_slots()))
if(return_warning)
return_warning[1] = "<span class='warning'>You are unable to equip with your current garments in the way!</span>"
return_warning[1] = "<span class='warning'>You are unable to equip that with your current garments in the way!</span>"
return FALSE
var/num_arms = H.get_num_arms(FALSE)

View File

@@ -1,7 +1,7 @@
/mob/living/carbon/monkey/can_equip(obj/item/I, slot, disable_warning = FALSE, bypass_equip_delay_self = FALSE, clothing_check = FALSE, list/return_warning)
if(clothing_check && (slot in check_obscured_slots()))
if(return_warning)
return_warning[1] = "<span class='warning'>You are unable to equip with your current garments in the way!</span>"
return_warning[1] = "<span class='warning'>You are unable to equip that with your current garments in the way!</span>"
return FALSE
switch(slot)

View File

@@ -235,7 +235,7 @@ mob/visible_message(message, self_message, blind_message, vision_distance = DEFA
var/obj/item/I = get_item_by_slot(slot)
if(istype(I))
if(slot in check_obscured_slots())
to_chat(src, "<span class='warning'>You are unable to unequip while wearing other garments over it!</span>")
to_chat(src, "<span class='warning'>You are unable to unequip that while wearing other garments over it!</span>")
return FALSE
I.attack_hand(src)