mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
23 lines
643 B
JavaScript
23 lines
643 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;
|
|
}
|
|
}
|