Files
Bubberstation/code/datums/components/container_item/container_item.dm
SkyratBot e3f8b4c96c [MIRROR] Adds tank holders (#1177)
* Merge pull request #54048 from nicbn/tank-frames

Adds tank holders

* Adds tank holders

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2020-10-07 01:11:16 +02:00

11 lines
387 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/try_attach)
/// Called when parent is added to the container.
/datum/component/container_item/proc/try_attach(datum/source, atom/container, mob/user)
return FALSE