Skip to main content

FB1InventoryTableRow

Overview

  • Structure that defines an inventory table row. Contains inventory type, capacity limits, display info, conditions, and script references.

Metadata

FieldValue
Kindstruct
EnvironmentB1 - Presentation
Categorystructs
ExtendsFB1TableRowBase

Properties (11)

NameTypeDescription
ChildObjectStateChangeScriptIdstringScript ID executed when a child object's state changes.
DescTextIdstringText ID for the description of this inventory.
DisplayNamestringText ID for the display name of this inventory.
InventoryTypeEB1InventoryTypeThe type of inventory this row represents.
MaxCountintegerMaximum number of items this inventory can hold. Use -1 for unlimited.
ObjectConditionIdstringCondition ID for filtering which objects can be placed in this inventory.
ObjectPutInScriptIdstringScript ID executed when an object is put into this inventory.
ObjectPutOutScriptIdstringScript ID executed when an object is taken out of this inventory.
OnCountRangeChangedScriptsFB1OnRangeChangedScript[]Scripts triggered when the item count enters or exits a specified range.
OwnerObjectStateChangeScriptIdstringScript ID executed when the owner object's state changes.
RecommendedMaxCountintegerRecommended maximum item count for this inventory. Use -1 for no recommendation.