TypedItemConfig
Hierarchy
- ExtendedItemConfig<TypedItemOption>
- TypedItemConfig
Index
Properties
optionalAllowEffect
A list with extra to-be allowed effect names. Should only defined when there are effects that are exclusively managed by script hooks and thus cannot be extracted from the normal extended item options.
Archetype
The archetype of the extended item config
optionalBaselineProperty
To-be initialized properties independent of the selected item module(s). Relevant if there are properties that are (near) exclusively managed by ExtendedItemConfig.ScriptHooks functions.
optionalChangeWhenLocked
A boolean indicating whether or not the item's type can be changed 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
optionalChatSetting
The chat message setting for the item. This can be provided to allow finer-grained chatroom message keys for the item. Defaults to TypedItemChatSetting.TO_ONLY
optionalChatTags
An array of the chat message tags that should be included in the item's chatroom messages.
optionalCopyConfig
The group name and asset name of a configuration to copy - useful if multiple items share the same config
Type declaration
AssetName: string
optionalGroupName?: AssetGroupName
optionalDialogPrefix
The optional text configuration for the item. Custom text keys can be configured within this object
Type declaration
optionalChat?: string | ExtendedItemChatCallback<TypedItemOption>
The dialogue prefix that will be used for each of the item's chatroom messages
optionalHeader?: string | ExtendedItemHeaderCallback<TypedItemData>
The dialogue prefix for the player prompt that is displayed on each module's menu screen
optionalNpc?: string | ExtendedItemNPCCallback<TypedItemOption>
The prefix used for dialog keys representing an NPC's reactions to item type changes
optionalOption?: string
The dialogue prefix for the name of each option
optionalDictionary
Contains custom dictionary entries in the event that the base ones do not suffice.
optionalDrawData
An interface with element-specific drawing data for a given screen.
optionalDrawImages
A boolean indicating whether or not images should be drawn for the option and/or module selection screen.
optionalName
The unique name for this (sub)-screen used for the automatic construction of ItemProperties.TypeRecord keys. Names should be short.
If not explicitly specified defaults to the name of ExtendedItemData.parentOption for sub screens and the name of the archetype in case of the (outer-most) super screen.
optionalOptions
The list of extended item options available for the item
optionalScriptHooks
A recond containing functions that are run on load, click, draw, exit, validate and publishaction,
with the original archetype function and parameters passed on to them. If undefined, these are ignored.
Note that scripthook functions must be loaded before Female3DCGExtended.js
in index.html
.
An object defining all of the required configuration for registering a typed item