You can now store mice in your chef's hat. (#52253)

* Is that a mouse in your chef's hat.

* yeah that sounds about right

* Sure thing boss.
This commit is contained in:
ArcaneMusic
2020-07-18 14:37:29 -04:00
committed by GitHub
parent 2b03ca5a04
commit c69cb714f2
2 changed files with 26 additions and 0 deletions
@@ -33,6 +33,25 @@
/datum/component/storage/concrete/pockets/small/fedora/detective
attack_hand_interact = TRUE // so the detectives would discover pockets in their hats
/datum/component/storage/concrete/pockets/chefhat
attack_hand_interact = TRUE
max_items = 1
max_w_class = WEIGHT_CLASS_NORMAL
/datum/component/storage/concrete/pockets/chefhat/Initialize()
. = ..()
set_holdable(list(
/obj/item/clothing/head/mob_holder
))
/datum/component/storage/concrete/pockets/chefhat/can_be_inserted(obj/item/I, stop_messages, mob/M)
. = ..()
if(istype(I,/obj/item/clothing/head/mob_holder))
var/obj/item/clothing/head/mob_holder/mausholder = I
if(locate(/mob/living/simple_animal/mouse) in mausholder.contents)
return TRUE
return FALSE
/datum/component/storage/concrete/pockets/shoes
attack_hand_interact = FALSE
quickdraw = TRUE