mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
Fixes
This commit is contained in:
parent
d7b37f8178
commit
38edbaf328
38 changed files with 171 additions and 66 deletions
|
|
@ -943,14 +943,14 @@ export const countdownAppMode = {
|
|||
export const sceneRangeMeasurementSetting = {
|
||||
disable: {
|
||||
id: 'disable',
|
||||
label: 'Disable Daggerheart Range Measurement'
|
||||
label: 'DAGGERHEART.CONFIG.SceneRangeMeasurementTypes.disable'
|
||||
},
|
||||
default: {
|
||||
id: 'default',
|
||||
label: 'Default'
|
||||
label: 'DAGGERHEART.CONFIG.SceneRangeMeasurementTypes.default'
|
||||
},
|
||||
custom: {
|
||||
id: 'custom',
|
||||
label: 'Custom'
|
||||
label: 'DAGGERHEART.CONFIG.SceneRangeMeasurementTypes.custom'
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -7,7 +7,12 @@ export const typeConfig = {
|
|||
},
|
||||
{
|
||||
key: 'system.type',
|
||||
label: 'DAGGERHEART.GENERAL.type'
|
||||
label: 'DAGGERHEART.GENERAL.type',
|
||||
format: type => {
|
||||
if (!type) return '-';
|
||||
|
||||
return CONFIG.DH.ACTOR.allAdversaryTypes()[type].label;
|
||||
}
|
||||
}
|
||||
],
|
||||
filters: [
|
||||
|
|
@ -318,7 +323,14 @@ export const typeConfig = {
|
|||
},
|
||||
{
|
||||
key: 'system.domains',
|
||||
label: 'DAGGERHEART.GENERAL.Domain.plural'
|
||||
label: 'DAGGERHEART.GENERAL.Domain.plural',
|
||||
format: domains => {
|
||||
const config = CONFIG.DH.DOMAIN.allDomains();
|
||||
return domains
|
||||
.map(x => (x ? game.i18n.localize(config[x].label) : null))
|
||||
.filter(x => x)
|
||||
.join(', ');
|
||||
}
|
||||
}
|
||||
],
|
||||
filters: [
|
||||
|
|
@ -367,7 +379,8 @@ export const typeConfig = {
|
|||
},
|
||||
{
|
||||
key: 'system.spellcastingTrait',
|
||||
label: 'DAGGERHEART.ITEMS.Subclass.spellcastingTrait'
|
||||
label: 'DAGGERHEART.ITEMS.Subclass.spellcastingTrait',
|
||||
format: trait => (trait ? `DAGGERHEART.CONFIG.Traits.${trait}.name` : '-')
|
||||
}
|
||||
],
|
||||
filters: [
|
||||
|
|
|
|||
|
|
@ -46,18 +46,14 @@ export const gameSettings = {
|
|||
export const actionAutomationChoices = {
|
||||
never: {
|
||||
id: 'never',
|
||||
label: 'Never'
|
||||
label: 'DAGGERHEART.CONFIG.ActionAutomationChoices.never'
|
||||
},
|
||||
showDialog: {
|
||||
id: 'showDialog',
|
||||
label: 'Show Dialog only'
|
||||
label: 'DAGGERHEART.CONFIG.ActionAutomationChoices.showDialog'
|
||||
},
|
||||
// npcOnly: {
|
||||
// id: "npcOnly",
|
||||
// label: "Always for non-characters"
|
||||
// },
|
||||
always: {
|
||||
id: 'always',
|
||||
label: 'Always'
|
||||
label: 'DAGGERHEART.CONFIG.ActionAutomationChoices.always'
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue