Skip to content

Commit

Permalink
feat(config): was created a configuration of dropdowns for execution,…
Browse files Browse the repository at this point in the history
… range, target, area, etc

(resistance, element, duration)
  • Loading branch information
SouOWendel committed Feb 28, 2024
1 parent 6d5ae31 commit 7fa93bd
Showing 1 changed file with 81 additions and 0 deletions.
81 changes: 81 additions & 0 deletions module/helpers/config.mjs
Expand Up @@ -231,6 +231,12 @@ ordemparanormal.dropdownPowerType = {
*/
ordemparanormal.categories = { '0': '0', '1': 'I', '2': 'II', '3': 'III', '4': 'IV' };

/**
* The set of Ability Scores used within the system.
* @type {Object}
*/
ordemparanormal.ritualDegree = { '5': 'Outro', '1': '1', '2': '2', '3': '3', '4': '4' };

/**
* The set of Ability Scores used within the system.
* @type {Object}
Expand All @@ -240,4 +246,79 @@ ordemparanormal.dropdownExecution = {
'default': 'ordemparanormal.executionChoices.default',
'complete': 'ordemparanormal.executionChoices.complete',
'reaction': 'ordemparanormal.executionChoices.reaction'
};


// TODO: Cogitar mudar os valores para números por conta dos nomes em inglês talvez estarem incorretos no futuro.
/**
* The set of Ability Scores used within the system.
* @type {Object}
*/
ordemparanormal.dropdownRange = {
'personal': 'ordemparanormal.rangeChoices.personal',
'touch': 'ordemparanormal.rangeChoices.touch',
'short': 'ordemparanormal.rangeChoices.short',
'medium': 'ordemparanormal.rangeChoices.medium',
'long': 'ordemparanormal.rangeChoices.long',
'extreme': 'ordemparanormal.rangeChoices.extreme',
'unlimited': 'ordemparanormal.rangeChoices.unlimited'
};

/**
* The set of Ability Scores used within the system.
* @type {Object}
*/
ordemparanormal.dropdownTarget = {
'people': 'ordemparanormal.targetChoices.people',
'creatures': 'ordemparanormal.targetChoices.creatures',
'animals': 'ordemparanormal.targetChoices.animals',
'weapons': 'ordemparanormal.targetChoices.weapons',
'equipment': 'ordemparanormal.targetChoices.equipment',
'area': 'ordemparanormal.targetChoices.area'
};

/**
* The set of Ability Scores used within the system.
* @type {Object}
*/
ordemparanormal.dropdownArea = {
'cone': 'ordemparanormal.areaChoices.cone',
'cube': 'ordemparanormal.areaChoices.cube',
'sphere': 'ordemparanormal.areaChoices.sphere',
'line': 'ordemparanormal.areaChoices.line'
};

/**
* The set of Ability Scores used within the system.
* @type {Object}
*/
ordemparanormal.dropdownDuration = {
'instantaneous': 'ordemparanormal.durationChoices.instantaneous',
'scene': 'ordemparanormal.durationChoices.scene',
'sustained': 'ordemparanormal.durationChoices.sustained',
'setDuration': 'ordemparanormal.durationChoices.setDuration',
'permanent': 'ordemparanormal.durationChoices.permanent',
};

/**
* The set of Ability Scores used within the system.
* @type {Object}
*/
ordemparanormal.dropdownResistance = {
'nullifies': 'ordemparanormal.resistanceChoices.nullifies',
'discredits': 'ordemparanormal.resistanceChoices.discredits',
'partial': 'ordemparanormal.resistanceChoices.partial',
'reducesByHalf': 'ordemparanormal.resistanceChoices.reducesByHalf'
};

/**
* The set of Ability Scores used within the system.
* @type {Object}
*/
ordemparanormal.dropdownElement = {
'blood': 'ordemparanormal.elementChoices.blood',
'death': 'ordemparanormal.elementChoices.death',
'knowledge': 'ordemparanormal.elementChoices.knowledge',
'energy': 'ordemparanormal.elementChoices.energy',
'fear': 'ordemparanormal.elementChoices.fear'
};

0 comments on commit 7fa93bd

Please sign in to comment.