mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-03 13:32:17 +00:00
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
/datum/component/storage/concrete/rped
|
|
collection_mode = COLLECT_EVERYTHING
|
|
allow_quick_gather = TRUE
|
|
allow_quick_empty = TRUE
|
|
click_gather = TRUE
|
|
max_w_class = WEIGHT_CLASS_NORMAL
|
|
max_combined_w_class = 100
|
|
max_items = 50
|
|
display_numerical_stacking = TRUE
|
|
|
|
/datum/component/storage/concrete/rped/can_be_inserted(obj/item/I, stop_messages, mob/M)
|
|
. = ..()
|
|
if(!I.get_part_rating())
|
|
if (!stop_messages)
|
|
to_chat(M, "<span class='warning'>[parent] only accepts machine parts!</span>")
|
|
return FALSE
|
|
|
|
/datum/component/storage/concrete/bluespace/rped
|
|
collection_mode = COLLECT_EVERYTHING
|
|
allow_quick_gather = TRUE
|
|
allow_quick_empty = TRUE
|
|
click_gather = TRUE
|
|
max_w_class = WEIGHT_CLASS_BULKY // can fit vending refills
|
|
max_combined_w_class = 800
|
|
max_items = 400
|
|
display_numerical_stacking = TRUE
|
|
|
|
/datum/component/storage/concrete/bluespace/rped/can_be_inserted(obj/item/I, stop_messages, mob/M)
|
|
. = ..()
|
|
if(!I.get_part_rating())
|
|
if (!stop_messages)
|
|
to_chat(M, "<span class='warning'>[parent] only accepts machine parts!</span>")
|
|
return FALSE
|