mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user