Body, Mind & Soul — API Reference
    Preparing search index...
    currencyBalance: {
        allowedTargetScopes: never[];
        configFields: (
            | {
                label: string;
                name: string;
                options?: undefined;
                placeholder: string;
                type: string;
            }
            | {
                label: string;
                name: string;
                options: { label: string; value: string }[];
                placeholder?: undefined;
                type: string;
            }
            | {
                label: string;
                name: string;
                options?: undefined;
                placeholder?: undefined;
                type: string;
            }
        )[];
        configPartial: string;
        evaluate: (
            cond: any,
            __namedParameters: { actor: any },
        ) => Promise<boolean>;
        hooks: string[];
    }

    True when the actor's currency balance matches a threshold. Requires GlitchSmith-lib.

    Type Declaration

    • allowedTargetScopes: never[]
    • configFields: (
          | {
              label: string;
              name: string;
              options?: undefined;
              placeholder: string;
              type: string;
          }
          | {
              label: string;
              name: string;
              options: { label: string; value: string }[];
              placeholder?: undefined;
              type: string;
          }
          | {
              label: string;
              name: string;
              options?: undefined;
              placeholder?: undefined;
              type: string;
          }
      )[]
    • configPartial: string
    • evaluate: (cond: any, __namedParameters: { actor: any }) => Promise<boolean>
    • hooks: string[]