Hierarchy

Properties

allowAnyItems?: true
allowNoItem?: true
bindable: default
canDamageItem?: true
consumesItem?: true
discoveredByDefault?: true | (() => boolean)
displayLevel?: ActionDisplayLevel
hasNoBestItem?: true
icon?: SupplierOr<UsableActionIconReference, []>
interactionDistance?: InteractionDistance | ((using: IUsableActionPossibleUsing) => undefined | InteractionDistance)

By default, actions are assumed to be interacting with the tile in front of them. This recategorises the action as one that either is unrelated to the tile in front, or interacting with the tile below.

This affects where the game chooses to path the player to in order to use the action.

interactionFollowingEntity?: true

By default, actions are assumed to be interacting with a tile. This recategorises the action as one that interacts with the entity on the tile, causing it to be followed.

priority?: number
requiresQuality?: true
requiresType?: true
skipUseCheck?: true
targetHoveredTile?: true

Whether to target the tile the mouse is over by default.

translate?: ((translator: UsableActionTranslator) => UsableActionTranslator)

Type declaration

Methods

  • Parameters

    Returns any

  • Parameters

    Returns any

  • Parameters

    Returns any

  • Parameters

    Returns boolean

Generated using TypeDoc