Skip to main content

AssetDefinitionProperties

Base properties of extended items derived from their respective Asset definition.

Those are the properties the main game code enforces.

Hierarchy

Index

Properties

optionalAllowActivePose

AllowActivePose?: AssetPoseName[]

A list of poses

@see

optionalAllowActivity

AllowActivity?: ActivityName[]

A list of allowed activities

@see

optionalAllowActivityOn

AllowActivityOn?: AssetGroupName[]

A list of groups allowed activities

@see

optionalAllowPose

AllowPose?: never

A list of allowed poses

@see
@deprecated
  • Was never actually functional

optionalAttribute

Attribute?: AssetAttribute[]

optionalBlock

The groups that this item blocks

@see

optionalCustomBlindBackground

CustomBlindBackground?: string

A custom background for this option that overrides the default

@see

optionalDefaultColor

DefaultColor?: ItemColor

The default color of the item. Used by extended items that need one of their layers to have a different per-type default color FIXME: That should be hoisted in the extended config, since it's set by the definition and Item.Color should be the actual colors used

@see

optionalDifficulty

Difficulty?: number

The difficulty of the item

@see

optionalEffect

Effect?: EffectName[]

Effects that are applied by this item

@see

optionalFetish

Fetish?: FetishName[]

A list of fetishes affected by the item

@see

optionalFreezeActivePose

FreezeActivePose?: never

A list of poses that should be frozen

@see
@deprecated

optionalHeightModifier

HeightModifier?: number

How much the character should be moved up

@see

optionalHide

Items groups that should be hidden by this item

@see

optionalHideItem

HideItem?: string[]

Items that should be hidden by this item

@see

optionalHideItemExclude

HideItemExclude?: string[]

Items that should not be hidden by this item

@see

optionalOpacity

Opacity?: number | number[]

The asset's draw opacity

@see

optionalOverrideHeight

OverrideHeight?: AssetOverrideHeight

Override the height of the item

@see

optionalOverridePriority

OverridePriority?: AssetLayerOverridePriority

The drawing priority of the item

@see

Asset.OverridePriority

optionalRemoveTimer

RemoveTimer?: number

The timer for after how long until a lock should be removed.

@see

optionalSelfUnlock

SelfUnlock?: boolean

Whether an item can be unlocked by the player even if they're restrained

@see

optionalSetPose

SetPose?: AssetPoseName[]

A list of poses that should forcefully be set

@see

optionalTint

A list of custom tints

@see

optionalWhitelistActivePose

WhitelistActivePose?: never

A list of poses

@see
@deprecated