Mod:Creation Kit/Container

Papyrus: Container Script

A container is a type of object that holds a collection of items.

Editor Dialog

 * ID: Unique identifier for this form.
 * Name: The name as it will appear in-game.
 * Weight:
 * Encumbrance:
 * Random Anim Start:
 * Obstacle: If this container dynamically cuts navmesh.
 * Respawns: If this container respawns/resets with the Cell.
 * Show Owner:
 * Model: Displays the model for this object.
 * Edit: Chooses the model for this object.
 * Add Destruction Data: Sets the damage states if an object is destructible.

NavMesh Generation Import Option
Sets how the object interacts with navmesh generation.
 * Collision Geometry: Generated Navmesh will test against the collision of the object.
 * Bounding Box: Generated Navmesh will test against the bounding box of the object.
 * Filter: Generated Navmesh will ignore the object completely.
 * Ground: Generated Navmesh will treat the object like it is part of the ground.

Sounds

 * Allow sounds when container animations exist: Only plays the following sounds if the container has an animation.
 * Open: Selects the sound that plays when opened.
 * Close: Selects the sound that plays when closed.


 * Forced Loc Ref Type:
 * Native Terminal: Select the Terminal linked to this container.

Keywords
Lists all the Keywords that will be associated with this container.

Contains Only
A drop down of Formlists. Items in the Formlist are allowed in the container. Items that aren't are refused.

Item List
Each item has a count, an object ID, and may have an owner and a health value. By right clicking in the window, you can add a new item using the values from the drop-down and text fields below.
 * Object: Editor ID of the object to add to the container.
 * Count: Quantity of the particular object found in the container.
 * Health %:
 * Owner: Each item in the container can belong to an NPC or Faction.
 * NPC: The specific NPC that owns the object. Stealing the object is considered an act of aggression against the NPC.
 * Faction: The specific Faction that owns the object. Stealing the object is considered an act of aggression against the faction.
 * Global Variable: Not used.
 * Required Rank: The minimum faction rank necessary to act as an owner of this object.
 * Preview Calculated Result: Displays a list of possible items that could be in the container when the player is at the specified level. Useful only when items in the container are leveled items.
 * Preview Level: Sets the character level for the preview.

Papyrus Scripts
A list of all the Papyrus scripts attached to this object.

Actor Values
List of Actor Values that will be associated with this container.
 * Actor Value: Drop down for actor values. An actor value can't be added from this list, you must add an actor value to the left of this.
 * Amount: Current value of this actor value?