mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 19:51:08 +01:00
24 lines
648 B
JavaScript
24 lines
648 B
JavaScript
const fields = foundry.data.fields;
|
|
|
|
export default class RangeField extends fields.StringField {
|
|
|
|
/** @inheritDoc */
|
|
constructor(context = {}) {
|
|
const options = {
|
|
choices: CONFIG.DH.GENERAL.range,
|
|
required: false,
|
|
blank: true,
|
|
label: "DAGGERHEART.GENERAL.range"
|
|
};
|
|
super(options, context);
|
|
}
|
|
|
|
/**
|
|
* Update Action Workflow config object.
|
|
* NOT YET IMPLEMENTED.
|
|
* @param {object} config Object that contains workflow datas. Usually made from Action Fields prepareConfig methods.
|
|
*/
|
|
prepareConfig(config) {
|
|
return;
|
|
}
|
|
}
|