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[];
}
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[]
True when the actor's currency balance matches a threshold. Requires GlitchSmith-lib.