User Tools

Site Tools


enable_container

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
enable_container [2017/11/24 11:31] – created justinenable_container [2021/04/21 18:58] (current) justin
Line 4: Line 4:
 Enables access to an [[item container]] that was previously disabled, allowing usage by the player for storing and retrieving [[item|items]]. Enables access to an [[item container]] that was previously disabled, allowing usage by the player for storing and retrieving [[item|items]].
  
 +====Signature:====
 <code python> <code python>
 enable_container(entity_id) enable_container(entity_id)
Line 16: Line 17:
  
 ====Example:==== ====Example:====
-<code python+<code bauxite
-enable_container("chest_01")+enable_container("chest_01");
 </code> </code>
-//Results:// The [[item container]] with an ID of "chest_01" will become inaccessible to the player until re-enabled.+//Results:// The [[item container]] with an ID of "chest_01" will become accessible to the player.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
enable_container.1511551909.txt.gz · Last modified: 2017/11/24 11:31 by justin