======Disable Container======
----
Disables access to an [[item container]], prohibiting usage by the player until re-enabled.
====Signature:====
disable_container(entity_id)
^Argument^Description^Type^Required^
|entity_id|Entity ID of the container to disable.|[[String]]|Yes|
You can use the complementary [[Enable Container]] function to re-enable an [[item container]] that has previously been disabled.
====Example:====
disable_container("chest_01");
//Results:// The [[item container]] with an ID of "chest_01" will become inaccessible to the player until re-enabled.
Use the **Disable Container** function in your [[startup script]] to initially disable (i.e. "lock") a treasure chest to prohibit access until the player obtains a means of unlocking it.
----
====Editor Node:====
{{:wiki:disable_container_node.png?nolink|}}
~~NOTOC~~