mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-25 09:01:40 +00:00
* ONLY SKYRAT CHANGES * ACTUALLY SKYRAT CHANGES * yolo, revert later * Update alternate_byond_versions.txt Co-authored-by: AnturK <AnturK@users.noreply.github.com>
12 lines
407 B
Plaintext
12 lines
407 B
Plaintext
/// Container item, an item which can be stored by specialized containers.
|
|
/datum/component/container_item
|
|
|
|
/datum/component/container_item/Initialize()
|
|
. = ..()
|
|
RegisterSignal(parent, COMSIG_CONTAINER_TRY_ATTACH, PROC_REF(try_attach))
|
|
|
|
/// Called when parent is added to the container.
|
|
/datum/component/container_item/proc/try_attach(datum/source, atom/container, mob/user)
|
|
SIGNAL_HANDLER
|
|
return FALSE
|