mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
j
This commit is contained in:
parent
7cbe4b7580
commit
4bdafeff6d
10 changed files with 89 additions and 36 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { range } from '../config/generalConfig.mjs';
|
||||
import { capitalize } from '../helpers/utils.mjs';
|
||||
|
||||
export const valueTypes = {
|
||||
numberString: {
|
||||
|
|
@ -62,3 +63,9 @@ export const effectTypes = {
|
|||
}
|
||||
}
|
||||
};
|
||||
|
||||
export const conditionalTypes = () => {
|
||||
const operators = {};
|
||||
Object.entries(foundry.applications.ux.SearchFilter.OPERATORS).forEach(([key, value]) => operators[value] = key.replaceAll('_', ' ').toLowerCase().capitalize());
|
||||
return operators;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue