ah
This commit is contained in:
@@ -1072,7 +1072,7 @@ GLOBAL_LIST_EMPTY(roundstart_race_names)
|
|||||||
|
|
||||||
if(clothing_check && (slot in H.check_obscured_slots()))
|
if(clothing_check && (slot in H.check_obscured_slots()))
|
||||||
if(return_warning)
|
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
|
return FALSE
|
||||||
|
|
||||||
var/num_arms = H.get_num_arms(FALSE)
|
var/num_arms = H.get_num_arms(FALSE)
|
||||||
|
|||||||
@@ -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)
|
/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(clothing_check && (slot in check_obscured_slots()))
|
||||||
if(return_warning)
|
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
|
return FALSE
|
||||||
|
|
||||||
switch(slot)
|
switch(slot)
|
||||||
|
|||||||
@@ -235,7 +235,7 @@ mob/visible_message(message, self_message, blind_message, vision_distance = DEFA
|
|||||||
var/obj/item/I = get_item_by_slot(slot)
|
var/obj/item/I = get_item_by_slot(slot)
|
||||||
if(istype(I))
|
if(istype(I))
|
||||||
if(slot in check_obscured_slots())
|
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
|
return FALSE
|
||||||
I.attack_hand(src)
|
I.attack_hand(src)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user