跳到主要内容

shop_category

A category within a shop — misc entry.

Entry Information

PropertyValue
Entry IDshop_category
TypeMisc
ColorOrange
Iconmdi:tag

Description

A category/tab within a shop definition. Allows organizing shop items into tabs with custom icons and display names.

Fields

FieldTypeDescription
displayNameStringDisplay name for this category tab.
iconVar<Item>Icon item for this category tab.
itemIndicesList<Int>Items belonging to this category (by index in the parent shop).
layoutIdStringLayout pool ID for this category's item display. If empty, uses the parent shop's main layout.

Usage Example

- entry: shop_category
name: "A category within a shop"
displayName: ""
icon: ""
itemIndices: 0
layoutId: ""