mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-12 16:38:18 +01:00
Regal Rats + Mice in hat
This commit is contained in:
committed by
Archie
parent
58f4a85c69
commit
5cca6129a5
@@ -43,6 +43,26 @@
|
||||
/datum/component/storage/concrete/pockets/small/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()
|
||||
. = ..()
|
||||
can_hold = typecacheof(list(
|
||||
/obj/item/clothing/head/mob_holder,
|
||||
/obj/item/reagent_containers/food/snacks/deadmouse
|
||||
))
|
||||
|
||||
/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
|
||||
return FALSE
|
||||
|
||||
/datum/component/storage/concrete/pockets/shoes
|
||||
attack_hand_interact = FALSE
|
||||
quickdraw = TRUE
|
||||
|
||||
Reference in New Issue
Block a user