Files
Bubberstation/code/datums/components/container_item/container_item.dm
Zonespace f7c26bbf25 515 Compat (#17465)
* ONLY SKYRAT CHANGES

* ACTUALLY SKYRAT CHANGES

* yolo, revert later

* Update alternate_byond_versions.txt

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
2022-11-15 06:59:06 +00:00

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