Skip to main content

TypedItemOptionConfig

Partially parsed extended item option subtype for typed items

Hierarchy

Index

Properties

optionalinheritedAllowLock

AllowLock?: boolean

Whether the option permits locking - if not set, defaults to the AllowLock property of the parent asset

optionalinheritedAllowSelfSelect

AllowSelfSelect?: boolean

Whether or not this option can be selected by the wearer

optionalinheritedArchetypeConfig

ArchetypeConfig?: AssetArchetypeConfig

If the option has an archetype, sets the config to use

optionalinheritedBondageLevel

BondageLevel?: number

The required bondage skill level for this option

optionalinheritedChangeWhenLocked

ChangeWhenLocked?: boolean

Whether or not it should be possible to change from this option to another option while the item is locked (if set to false, the player must be able to unlock the item to change its type) - defaults to true

optionalinheritedCustomBlindBackground

CustomBlindBackground?: string

A custom background for this option that overrides the default

optionalinheritedDrawOptions

DrawOptions?: { Invert?: boolean; Mirror?: boolean }

Type declaration

  • optionalInvert?: boolean
  • optionalMirror?: boolean

optionalinheritedExpression

Expression?: ExpressionTrigger[]

Trigger this expression when changing to this option

FIXME: Currently broken!

optionalinheritedHasSubscreen

HasSubscreen?: boolean

Whether or not the option should open a subscreen in the extended item menu

inheritedName

Name: string

The name of the type - used for the preview icon and the translation key in the CSV

optionalNPCDefault

NPCDefault?: boolean

Whether this option should be picked as default for NPC's (rather than just going for the first option)

optionalinheritedPrerequisite

The required prerequisites that must be met before this option can be selected

optionalinheritedPrerequisiteBuyGroup

PrerequisiteBuyGroup?: string

A buy group to check for that option to be available

optionalProperty

Property?: Omit<ItemPropertiesConfig, TypeRecord>

The Property object to be applied when this option is used

optionalRandom

Random?: boolean

Whether or not this option can be selected randomly

optionalinheritedSelfBondageLevel

SelfBondageLevel?: number

The required self-bondage skill level for this option when using it on oneself