Language Organization (#281)

* Organized language

* Organized high level folders

* Some deeper organization

* More org. That's enough ._.

* Capitalized initial system localization categories
This commit is contained in:
WBHarry 2025-07-06 17:43:12 +02:00 committed by GitHub
parent 8a7ff2306a
commit 488844603a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
149 changed files with 2130 additions and 2512 deletions

View file

@ -21,38 +21,38 @@ export const parseTypes = {
export const applyLocations = {
attackRoll: {
id: 'attackRoll',
name: 'DAGGERHEART.Effects.ApplyLocations.AttackRoll.Name'
name: 'DAGGERHEART.EFFECTS.ApplyLocations.attackRoll.name'
},
damageRoll: {
id: 'damageRoll',
name: 'DAGGERHEART.Effects.ApplyLocations.DamageRoll.Name'
name: 'DAGGERHEART.EFFECTS.ApplyLocations.damageRoll.name'
}
};
export const effectTypes = {
health: {
id: 'health',
name: 'DAGGERHEART.Effects.Types.Health.Name',
name: 'DAGGERHEART.EFFECTS.Types.HitPoints.name',
values: [],
valueType: valueTypes.numberString.id,
parseType: parseTypes.number.id
},
stress: {
id: 'stress',
name: 'DAGGERHEART.Effects.Types.Stress.Name',
name: 'DAGGERHEART.EFFECTS.Types.Stress.name',
valueType: valueTypes.numberString.id,
parseType: parseTypes.number.id
},
reach: {
id: 'reach',
name: 'DAGGERHEART.Effects.Types.Reach.Name',
name: 'DAGGERHEART.EFFECTS.Types.Reach.name',
valueType: valueTypes.select.id,
parseType: parseTypes.string.id,
options: Object.keys(range).map(x => ({ name: range[x].name, value: x }))
},
damage: {
id: 'damage',
name: 'DAGGERHEART.Effects.Types.Damage.Name',
name: 'DAGGERHEART.EFFECTS.Types.Damage.name',
valueType: valueTypes.numberString.id,
parseType: parseTypes.string.id,
appliesOn: applyLocations.damageRoll.id,