equipment.rpg.item
An item in the player's inventory. Self-contained with all data needed for rendering and display. The give URI and assetCid enable verification against the provider's attestation. Each record is one item.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | rpg.equipment |
| Indexed |
Record
record · key anyProperties
When the player accepted this item.
asset
blobThe item's sprite layer artwork (144x192 PNG). Required for 'layer' items, optional for 'inventory' items.
accept: image/png
assetCid
stringCID of the canonical asset PNG, copied from the give. Matches the asset blob's ref when the copy is genuine.
maxLength: 200
behindRows
arraySprite-sheet row indices (0-3) where this layer composites behind the body via destination-over blending. Row 0=down, 1=left, 2=right, 3=up. Omit for normal source-over on all rows.
maxLength: 4
minimum: 0maximum: 3
bodyTypeAlt
unknownPer-body-class alternate artwork map. Keys such as body.feminine map to structured fallbacks matching #fallback.
category
stringGenerator layer category for 'layer' items (e.g. 'tops', 'righthand'). Ignored for 'inventory' items.
maxLength: 30
channels
arrayColor channels defined by this item's colorway. Each entry names a recolorable region and declares its sentinel color and optional default.
maxLength: 8
colorway
blobColorway map (_c) for the asset. A 144x192 PNG with sentinel-colored pixels indicating recolorable regions. Required for 'layer' items that support recoloring.
accept: image/png
context
stringOrigin description copied from the give record.
maxLength: 200
description
stringFlavour text or description.
maxLength: 500
fitClass
stringFit-class tag for this item (format <category>.<name>) used by class-based suppression.
maxLength: 90
AT URI of the equipment.rpg.give record on the provider's PDS.
icon
blobSmall standalone icon for the item (e.g. 64x64 PNG). Used in inventory displays and profile panels.
accept: image/png
iconCid
stringCID of the canonical icon PNG, copied from the give. Matches the icon blob's ref when the copy is genuine. Omit if there's no icon.
maxLength: 200
Item identifier matching the give record (e.g. 'popcorn', 'theatre_shirt').
maxLength: 50
kind
stringItem kind. 'layer' for sprite-generator wearables (requires category + asset). For non-wearable inventory items, use any descriptive type string such as 'badge', 'potion', 'map', 'key', 'ticket', etc. This value is shown as the item's type label in the player's inventory. Defaults to 'layer' if omitted.
maxLength: 20
DID of the provider who gave this item.
stats
unknownItem properties copied from the give record at acceptance time.
Target-side exceptions to submaskRule. The layers array contains exact canonical source layer IDs and the classes array contains exact source layerClass or fitClass values; matching source masks are skipped before submaskRule is evaluated. Omission or empty arrays means no source-specific exclusions.
submaskRule
stringControls which external subtractive masks may affect this asset. Omission means respect-all.
maxLength: 24knownValues: respect-all | ignore-all | ignore-layers-above | ignore-layers-below
suppress
refsuppressAs
stringWhen this item is suppressed, render this same-category item name instead (e.g. replace pigtails with basic short).
maxLength: 120
Self-contained artwork for suppressAs when the fallback is not otherwise available to the generator.
suppressClasses
arrayFit-class identifiers that should be hidden while this item is equipped (e.g. hide all items tagged hair.*).
maxLength: 20
maxLength: 90
suppressLayers
arrayLayer IDs that should be hidden while this item is equipped (e.g. a hat suppressing hair and bangs).
maxLength: 20
maxLength: 30
suppressSpecific
unknownPer-suppressor override map. Values may be a structured #fallback or a rule with default and bodyTypeAlt fallbacks. The active body-specific value takes priority over the class default, then suppressAs.
Display name for the item.
maxLength: 100
zSlot
integerLegacy all-direction draw-order slot. zSlotByDir takes precedence.
minimum: 0maximum: 30
zSlotByDir
unknownPer-direction draw-order slots [down, left, right, up]. Entries are non-negative integers or null when the category default applies.
#channel
objectProperties
color
stringSentinel hex color in the colorway map.
maxLength: 7
defaultColor
stringSuggested default hex color for the color picker.
maxLength: 7
Channel identifier such as main, sub1, brim, or ribbon.
maxLength: 20
#fallback
objectSelf-contained alternate artwork used for suppression or body-type adaptation.
#submaskExclusions
objectTarget-side exceptions for subtractive masks. List exact canonical source layer IDs in layers, or exact source layerClass or fitClass values in classes; matching source masks must not erase the target item. Omission or empty arrays means no source-specific exclusions.
#suppressionRules
objectLayer categories and fit classes hidden while this item is active.
Properties
categories
arraymaxLength: 20
maxLength: 30
classes
arraymaxLength: 20
maxLength: 90
layerClasses
arraymaxLength: 20
maxLength: 90
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
equipment.rpg.give
recordA provider's attestation that an item was given to a player. Lives on the provider's PDS.
-
actor.rpg.generator
recordGenerator metadata and decomposed layers for a sprite built with the rpg.actor sprite generator.