65 lines
2.3 KiB
Plaintext
65 lines
2.3 KiB
Plaintext
/datum/component/storage/concrete/pockets
|
|
max_items = 2
|
|
max_w_class = WEIGHT_CLASS_SMALL
|
|
max_combined_w_class = 50
|
|
rustle_sound = FALSE
|
|
|
|
/datum/component/storage/concrete/pockets/handle_item_insertion(obj/item/I, prevent_warning, mob/user)
|
|
. = ..()
|
|
if(. && silent && !prevent_warning)
|
|
if(quickdraw)
|
|
to_chat(user, "<span class='notice'>You discreetly slip [I] into [parent]. Alt-click [parent] to remove it.</span>")
|
|
else
|
|
to_chat(user, "<span class='notice'>You discreetly slip [I] into [parent].</span>")
|
|
|
|
/datum/component/storage/concrete/pockets
|
|
max_w_class = WEIGHT_CLASS_NORMAL
|
|
|
|
/datum/component/storage/concrete/pockets/small
|
|
max_items = 1
|
|
attack_hand_interact = FALSE
|
|
|
|
/datum/component/storage/concrete/pockets/tiny
|
|
max_items = 1
|
|
max_w_class = WEIGHT_CLASS_TINY
|
|
attack_hand_interact = FALSE
|
|
|
|
/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/shoes
|
|
attack_hand_interact = FALSE
|
|
quickdraw = TRUE
|
|
silent = TRUE
|
|
|
|
/datum/component/storage/concrete/pockets/shoes/Initialize()
|
|
. = ..()
|
|
can_hold = typecacheof(list(
|
|
/obj/item/kitchen/knife, /obj/item/switchblade, /obj/item/pen,
|
|
/obj/item/scalpel, /obj/item/reagent_containers/syringe, /obj/item/dnainjector,
|
|
/obj/item/reagent_containers/hypospray/medipen, /obj/item/reagent_containers/dropper,
|
|
/obj/item/implanter, /obj/item/screwdriver, /obj/item/weldingtool/mini,
|
|
/obj/item/firing_pin
|
|
))
|
|
|
|
/datum/component/storage/concrete/pockets/shoes/clown/Initialize()
|
|
. = ..()
|
|
can_hold = typecacheof(list(
|
|
/obj/item/kitchen/knife, /obj/item/switchblade, /obj/item/pen,
|
|
/obj/item/scalpel, /obj/item/reagent_containers/syringe, /obj/item/dnainjector,
|
|
/obj/item/reagent_containers/hypospray/medipen, /obj/item/reagent_containers/dropper,
|
|
/obj/item/implanter, /obj/item/screwdriver, /obj/item/weldingtool/mini,
|
|
/obj/item/firing_pin, /obj/item/bikehorn))
|
|
|
|
/datum/component/storage/concrete/pockets/pocketprotector
|
|
max_items = 3
|
|
max_w_class = WEIGHT_CLASS_TINY
|
|
|
|
/datum/component/storage/concrete/pockets/pocketprotector/Initialize()
|
|
. = ..()
|
|
can_hold = typecacheof(list( //Same items as a PDA
|
|
/obj/item/pen,
|
|
/obj/item/toy/crayon,
|
|
/obj/item/lipstick,
|
|
/obj/item/flashlight/pen,
|
|
/obj/item/clothing/mask/cigarette)) |