Hierarchy

Properties

allowNoCreature?: true
bindable: default
discoveredByDefault?: true | (() => boolean)
displayLevel?: ActionDisplayLevel
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
targetHoveredTile?: true

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

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

Type declaration

Methods

  • Parameters

    Returns boolean

Generated using TypeDoc