mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-08 23:16:12 +01:00
Merged with main
This commit is contained in:
commit
ed5c8bc826
36 changed files with 1117 additions and 835 deletions
|
|
@ -1,77 +1,77 @@
|
|||
export const abilities = {
|
||||
agility: {
|
||||
label: 'DAGGERHEART.Abilities.Agility.Name',
|
||||
label: 'DAGGERHEART.Abilities.agility.name',
|
||||
verbs: [
|
||||
'DAGGERHEART.Abilities.Agility.Verb.Sprint',
|
||||
'DAGGERHEART.Abilities.Agility.Verb.Leap',
|
||||
'DAGGERHEART.Abilities.Agility.Verb.Maneuver'
|
||||
'DAGGERHEART.Abilities.agility.verb.sprint',
|
||||
'DAGGERHEART.Abilities.agility.verb.leap',
|
||||
'DAGGERHEART.Abilities.agility.verb.maneuver'
|
||||
]
|
||||
},
|
||||
strength: {
|
||||
label: 'DAGGERHEART.Abilities.Strength.Name',
|
||||
label: 'DAGGERHEART.Abilities.strength.name',
|
||||
verbs: [
|
||||
'DAGGERHEART.Abilities.Strength.Verb.Lift',
|
||||
'DAGGERHEART.Abilities.Strength.Verb.Smash',
|
||||
'DAGGERHEART.Abilities.Strength.Verb.Grapple'
|
||||
'DAGGERHEART.Abilities.strength.verb.lift',
|
||||
'DAGGERHEART.Abilities.strength.verb.smash',
|
||||
'DAGGERHEART.Abilities.strength.verb.grapple'
|
||||
]
|
||||
},
|
||||
finesse: {
|
||||
label: 'DAGGERHEART.Abilities.Finesse.Name',
|
||||
label: 'DAGGERHEART.Abilities.finesse.name',
|
||||
verbs: [
|
||||
'DAGGERHEART.Abilities.Finesse.Verb.Control',
|
||||
'DAGGERHEART.Abilities.Finesse.Verb.Hide',
|
||||
'DAGGERHEART.Abilities.Finesse.Verb.Tinker'
|
||||
'DAGGERHEART.Abilities.finesse.verb.control',
|
||||
'DAGGERHEART.Abilities.finesse.verb.hide',
|
||||
'DAGGERHEART.Abilities.finesse.verb.tinker'
|
||||
]
|
||||
},
|
||||
instinct: {
|
||||
label: 'DAGGERHEART.Abilities.Instinct.Name',
|
||||
label: 'DAGGERHEART.Abilities.instinct.name',
|
||||
verbs: [
|
||||
'DAGGERHEART.Abilities.Instinct.Verb.Perceive',
|
||||
'DAGGERHEART.Abilities.Instinct.Verb.Sense',
|
||||
'DAGGERHEART.Abilities.Instinct.Verb.Navigate'
|
||||
'DAGGERHEART.Abilities.instinct.verb.perceive',
|
||||
'DAGGERHEART.Abilities.instinct.verb.sense',
|
||||
'DAGGERHEART.Abilities.instinct.verb.navigate'
|
||||
]
|
||||
},
|
||||
presence: {
|
||||
label: 'DAGGERHEART.Abilities.Presence.Name',
|
||||
label: 'DAGGERHEART.Abilities.presence.name',
|
||||
verbs: [
|
||||
'DAGGERHEART.Abilities.Presence.Verb.Charm',
|
||||
'DAGGERHEART.Abilities.Presence.Verb.Perform',
|
||||
'DAGGERHEART.Abilities.Presence.Verb.Deceive'
|
||||
'DAGGERHEART.Abilities.presence.verb.charm',
|
||||
'DAGGERHEART.Abilities.presence.verb.perform',
|
||||
'DAGGERHEART.Abilities.presence.verb.deceive'
|
||||
]
|
||||
},
|
||||
knowledge: {
|
||||
label: 'DAGGERHEART.Abilities.Knowledge.Name',
|
||||
label: 'DAGGERHEART.Abilities.knowledge.name',
|
||||
verbs: [
|
||||
'DAGGERHEART.Abilities.Knowledge.Verb.Recall',
|
||||
'DAGGERHEART.Abilities.Knowledge.Verb.Analyze',
|
||||
'DAGGERHEART.Abilities.Knowledge.Verb.Comprehend'
|
||||
'DAGGERHEART.Abilities.knowledge.verb.recall',
|
||||
'DAGGERHEART.Abilities.knowledge.verb.analyze',
|
||||
'DAGGERHEART.Abilities.knowledge.verb.comprehend'
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
export const featureProperties = {
|
||||
agility: {
|
||||
name: 'DAGGERHEART.Abilities.Agility.Name',
|
||||
name: 'DAGGERHEART.Abilities.agility.name',
|
||||
path: actor => actor.system.traits.agility.data.value
|
||||
},
|
||||
strength: {
|
||||
name: 'DAGGERHEART.Abilities.Strength.Name',
|
||||
name: 'DAGGERHEART.Abilities.strength.name',
|
||||
path: actor => actor.system.traits.strength.data.value
|
||||
},
|
||||
finesse: {
|
||||
name: 'DAGGERHEART.Abilities.Finesse.Name',
|
||||
name: 'DAGGERHEART.Abilities.finesse.name',
|
||||
path: actor => actor.system.traits.finesse.data.value
|
||||
},
|
||||
instinct: {
|
||||
name: 'DAGGERHEART.Abilities.Instinct.Name',
|
||||
name: 'DAGGERHEART.Abilities.instinct.name',
|
||||
path: actor => actor.system.traits.instinct.data.value
|
||||
},
|
||||
presence: {
|
||||
name: 'DAGGERHEART.Abilities.Presence.Name',
|
||||
name: 'DAGGERHEART.Abilities.presence.name',
|
||||
path: actor => actor.system.traits.presence.data.value
|
||||
},
|
||||
knowledge: {
|
||||
name: 'DAGGERHEART.Abilities.Knowledge.Name',
|
||||
name: 'DAGGERHEART.Abilities.knowledge.name',
|
||||
path: actor => actor.system.traits.knowledge.data.value
|
||||
},
|
||||
spellcastingTrait: {
|
||||
|
|
|
|||
|
|
@ -1,27 +1,27 @@
|
|||
export const range = {
|
||||
melee: {
|
||||
label: 'DAGGERHEART.Range.Melee.Name',
|
||||
description: 'DAGGERHEART.Range.Melee.Description',
|
||||
label: 'DAGGERHEART.Range.melee.name',
|
||||
description: 'DAGGERHEART.Range.melee.description',
|
||||
distance: 1
|
||||
},
|
||||
veryClose: {
|
||||
label: 'DAGGERHEART.Range.VeryClose.Name',
|
||||
description: 'DAGGERHEART.Range.VeryClose.Description',
|
||||
label: 'DAGGERHEART.Range.veryClose.name',
|
||||
description: 'DAGGERHEART.Range.veryClose.description',
|
||||
distance: 3
|
||||
},
|
||||
close: {
|
||||
label: 'DAGGERHEART.Range.Close.Name',
|
||||
description: 'DAGGERHEART.Range.Close.Description',
|
||||
label: 'DAGGERHEART.Range.close.name',
|
||||
description: 'DAGGERHEART.Range.close.description',
|
||||
distance: 10
|
||||
},
|
||||
far: {
|
||||
label: 'DAGGERHEART.Range.Far.Name',
|
||||
description: 'DAGGERHEART.Range.Far.Description',
|
||||
label: 'DAGGERHEART.Range.far.name',
|
||||
description: 'DAGGERHEART.Range.far.description',
|
||||
distance: 20
|
||||
},
|
||||
veryFar: {
|
||||
label: 'DAGGERHEART.Range.VeryFar.Name',
|
||||
description: 'DAGGERHEART.Range.VeryFar.Description',
|
||||
label: 'DAGGERHEART.Range.veryFar.name',
|
||||
description: 'DAGGERHEART.Range.veryFar.description',
|
||||
distance: 30
|
||||
}
|
||||
};
|
||||
|
|
@ -29,24 +29,24 @@ export const range = {
|
|||
export const burden = {
|
||||
oneHanded: {
|
||||
value: 'oneHanded',
|
||||
label: 'DAGGERHEART.Burden.OneHanded'
|
||||
label: 'DAGGERHEART.Burden.oneHanded'
|
||||
},
|
||||
twoHanded: {
|
||||
value: 'twoHanded',
|
||||
label: 'DAGGERHEART.Burden.TwoHanded'
|
||||
label: 'DAGGERHEART.Burden.twoHanded'
|
||||
}
|
||||
};
|
||||
|
||||
export const damageTypes = {
|
||||
physical: {
|
||||
id: 'physical',
|
||||
label: 'DAGGERHEART.DamageType.Physical.Name',
|
||||
abbreviation: 'DAGGERHEART.DamageType.Physical.Abbreviation'
|
||||
label: 'DAGGERHEART.DamageType.physical.name',
|
||||
abbreviation: 'DAGGERHEART.DamageType.physical.abbreviation'
|
||||
},
|
||||
magical: {
|
||||
id: 'magical',
|
||||
label: 'DAGGERHEART.DamageType.Magical.Name',
|
||||
abbreviation: 'DAGGERHEART.DamageType.Magical.Abbreviation'
|
||||
label: 'DAGGERHEART.DamageType.magical.name',
|
||||
abbreviation: 'DAGGERHEART.DamageType.magical.abbreviation'
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -247,6 +247,45 @@ export const diceTypes = {
|
|||
d20: 'd20'
|
||||
};
|
||||
|
||||
export const getDiceSoNicePresets = () => {
|
||||
const { diceSoNice } = game.settings.get(SYSTEM.id, SYSTEM.SETTINGS.gameSettings.appearance);
|
||||
|
||||
return {
|
||||
hope: {
|
||||
...diceSoNice.hope,
|
||||
colorset: 'inspired',
|
||||
texture: 'bloodmoon',
|
||||
material: 'metal',
|
||||
font: 'Arial Black',
|
||||
system: 'standard'
|
||||
},
|
||||
fear: {
|
||||
...diceSoNice.fear,
|
||||
colorset: 'bloodmoon',
|
||||
texture: 'bloodmoon',
|
||||
material: 'metal',
|
||||
font: 'Arial Black',
|
||||
system: 'standard'
|
||||
},
|
||||
advantage: {
|
||||
...diceSoNice.advantage,
|
||||
colorset: 'bloodmoon',
|
||||
texture: 'bloodmoon',
|
||||
material: 'metal',
|
||||
font: 'Arial Black',
|
||||
system: 'standard'
|
||||
},
|
||||
disadvantage: {
|
||||
...diceSoNice.disadvantage,
|
||||
colorset: 'bloodmoon',
|
||||
texture: 'bloodmoon',
|
||||
material: 'metal',
|
||||
font: 'Arial Black',
|
||||
system: 'standard'
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
export const refreshTypes = {
|
||||
session: {
|
||||
id: 'session',
|
||||
|
|
|
|||
|
|
@ -26,7 +26,8 @@ export const gameSettings = {
|
|||
RangeMeasurement: 'RangeMeasurement'
|
||||
},
|
||||
DualityRollColor: 'DualityRollColor',
|
||||
LevelTiers: 'LevelTiers'
|
||||
LevelTiers: 'LevelTiers',
|
||||
appearance: 'Appearance'
|
||||
};
|
||||
|
||||
export const DualityRollColor = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue