Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Interface DiceFulfillmentMethod

    interface DiceFulfillmentMethod {
        handler?: DiceFulfillmentHandler;
        icon?: string;
        interactive?: boolean;
        label: string;
        resolver?: typeof RollResolver;
    }
    Index

    Properties

    A function to invoke to programmatically fulfil a given term for non- interactive fulfillment methods.

    icon?: string

    An icon to represent the fulfillment method.

    interactive?: boolean

    Whether this method requires input from the user or if it is fulfilled entirely programmatically.

    label: string

    The human-readable label for the fulfillment method.

    resolver?: typeof RollResolver

    A custom RollResolver implementation. If the only interactive methods the user has configured are this method and manual, this resolver will be used to resolve interactive rolls, instead of the default resolver. This resolver must therefore be capable of handling manual rolls.