mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Initial commit
This commit is contained in:
commit
aa4021d1a2
163 changed files with 26530 additions and 0 deletions
17
module/config/actionConfig.mjs
Normal file
17
module/config/actionConfig.mjs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
export const actionTypes = {
|
||||
damage: {
|
||||
id: "damage",
|
||||
name: "DAGGERHEART.Effects.Types.Health.Name"
|
||||
},
|
||||
}
|
||||
|
||||
export const targetTypes = {
|
||||
self: {
|
||||
id: 'self',
|
||||
label: 'Self',
|
||||
},
|
||||
other: {
|
||||
id: 'other',
|
||||
label: 'Other',
|
||||
},
|
||||
}
|
||||
355
module/config/actorConfig.mjs
Normal file
355
module/config/actorConfig.mjs
Normal file
|
|
@ -0,0 +1,355 @@
|
|||
export const abilities = {
|
||||
agility: {
|
||||
label: "DAGGERHEART.Abilities.Agility.Name",
|
||||
verbs: ["DAGGERHEART.Abilities.Agility.Verb.Sprint", "DAGGERHEART.Abilities.Agility.Verb.Leap", "DAGGERHEART.Abilities.Agility.Verb.Maneuver"],
|
||||
},
|
||||
strength: {
|
||||
label: "DAGGERHEART.Abilities.Strength.Name",
|
||||
verbs: ["DAGGERHEART.Abilities.Strength.Verb.Lift", "DAGGERHEART.Abilities.Strength.Verb.Smash", "DAGGERHEART.Abilities.Strength.Verb.Grapple"],
|
||||
},
|
||||
finesse: {
|
||||
label: "DAGGERHEART.Abilities.Finesse.Name",
|
||||
verbs: ["DAGGERHEART.Abilities.Finesse.Verb.Control", "DAGGERHEART.Abilities.Finesse.Verb.Hide", "DAGGERHEART.Abilities.Finesse.Verb.Tinker"],
|
||||
},
|
||||
instinct: {
|
||||
label: "DAGGERHEART.Abilities.Instinct.Name",
|
||||
verbs: ["DAGGERHEART.Abilities.Instinct.Verb.Perceive", "DAGGERHEART.Abilities.Instinct.Verb.Sense", "DAGGERHEART.Abilities.Instinct.Verb.Navigate"],
|
||||
},
|
||||
presence: {
|
||||
label: "DAGGERHEART.Abilities.Presence.Name",
|
||||
verbs: ["DAGGERHEART.Abilities.Presence.Verb.Charm", "DAGGERHEART.Abilities.Presence.Verb.Perform", "DAGGERHEART.Abilities.Presence.Verb.Deceive"],
|
||||
},
|
||||
knowledge: {
|
||||
label: "DAGGERHEART.Abilities.Knowledge.Name",
|
||||
verbs: ["DAGGERHEART.Abilities.Knowledge.Verb.Recall", "DAGGERHEART.Abilities.Knowledge.Verb.Analyze", "DAGGERHEART.Abilities.Knowledge.Verb.Comprehend"],
|
||||
},
|
||||
};
|
||||
|
||||
export const featureProperties = {
|
||||
agility: {
|
||||
name: "DAGGERHEART.Abilities.Agility.Name",
|
||||
path: actor => actor.system.attributes.agility.data.value,
|
||||
},
|
||||
strength: {
|
||||
name: "DAGGERHEART.Abilities.Strength.Name",
|
||||
path: actor => actor.system.attributes.strength.data.value,
|
||||
},
|
||||
finesse: {
|
||||
name: "DAGGERHEART.Abilities.Finesse.Name",
|
||||
path: actor => actor.system.attributes.finesse.data.value,
|
||||
},
|
||||
instinct: {
|
||||
name: "DAGGERHEART.Abilities.Instinct.Name",
|
||||
path: actor => actor.system.attributes.instinct.data.value,
|
||||
},
|
||||
presence: {
|
||||
name: "DAGGERHEART.Abilities.Presence.Name",
|
||||
path: actor => actor.system.attributes.presence.data.value,
|
||||
},
|
||||
knowledge: {
|
||||
name: "DAGGERHEART.Abilities.Knowledge.Name",
|
||||
path: actor => actor.system.attributes.knowledge.data.value,
|
||||
},
|
||||
spellcastingTrait: {
|
||||
name: "DAGGERHEART.FeatureProperty.SpellcastingTrait",
|
||||
path: actor => actor.system.attributes[actor.system.subclass.system.spellcastingTrait].data.value,
|
||||
},
|
||||
}
|
||||
|
||||
export const adversaryTypes = {
|
||||
bruiser: {
|
||||
name: "DAGGERHEART.Adversary.Bruiser.Name",
|
||||
description: "DAGGERHEART.Adversary.Bruiser.Description"
|
||||
},
|
||||
horde: {
|
||||
name: "DAGGERHEART.Adversary.Horde.Name",
|
||||
description: "DAGGERHEART.Adversary.Horde.Description"
|
||||
},
|
||||
leader: {
|
||||
name: "DAGGERHEART.Adversary.Leader.Name",
|
||||
description: "DAGGERHEART.Adversary.Leader.Description"
|
||||
},
|
||||
minion: {
|
||||
name: "DAGGERHEART.Adversary.Minion.Name",
|
||||
description: "DAGGERHEART.Adversary.Minion.Description"
|
||||
},
|
||||
ranged: {
|
||||
name: "DAGGERHEART.Adversary.Ranged.Name",
|
||||
description: "DAGGERHEART.Adversary.Ranged.Description"
|
||||
},
|
||||
skulker: {
|
||||
name: "DAGGERHEART.Adversary.Skulker.Name",
|
||||
description: "DAGGERHEART.Adversary.Skulker.Description"
|
||||
},
|
||||
social: {
|
||||
name: "DAGGERHEART.Adversary.Social.Name",
|
||||
description: "DAGGERHEART.Adversary.Social.Description"
|
||||
},
|
||||
solo: {
|
||||
name: "DAGGERHEART.Adversary.Solo.Name",
|
||||
description: "DAGGERHEART.Adversary.Solo.Description"
|
||||
},
|
||||
standard: {
|
||||
name: "DAGGERHEART.Adversary.Standard.Name",
|
||||
description: "DAGGERHEART.Adversary.Standard.Description"
|
||||
},
|
||||
support: {
|
||||
name: "DAGGERHEART.Adversary.Support.Name",
|
||||
description: "DAGGERHEART.Adversary.Support.Description"
|
||||
},
|
||||
};
|
||||
|
||||
export const adversaryTraits = {
|
||||
relentless: {
|
||||
name: "DAGGERHEART.Adversary.Trait..Name",
|
||||
description: "DAGGERHEART.Adversary.Trait..Description",
|
||||
tip: "DAGGERHEART.Adversary.Trait..Tip",
|
||||
},
|
||||
slow: {
|
||||
name: "DAGGERHEART.Adversary.Trait..Name",
|
||||
description: "DAGGERHEART.Adversary.Trait..Description",
|
||||
tip: "DAGGERHEART.Adversary.Trait..Tip",
|
||||
},
|
||||
minion: {
|
||||
name: "DAGGERHEART.Adversary.Trait..Name",
|
||||
description: "DAGGERHEART.Adversary.Trait..Description",
|
||||
tip: "DAGGERHEART.Adversary.Trait..Tip",
|
||||
},
|
||||
};
|
||||
|
||||
export const levelChoices = {
|
||||
attributes: {
|
||||
name: 'attributes',
|
||||
title: '',
|
||||
choices: [],
|
||||
},
|
||||
hitPointSlots: {
|
||||
name: 'hitPointSlots',
|
||||
title: '',
|
||||
choices: [],
|
||||
},
|
||||
stressSlots: {
|
||||
name: 'stressSlots',
|
||||
title: '',
|
||||
choices: [],
|
||||
},
|
||||
experiences: {
|
||||
name: 'experiences',
|
||||
title: '',
|
||||
choices: 'system.experiences',
|
||||
nrChoices: 2,
|
||||
},
|
||||
proficiency: {
|
||||
name: 'proficiency',
|
||||
title: '',
|
||||
choices: [],
|
||||
},
|
||||
armorOrEvasionSlot: {
|
||||
name: 'armorOrEvasionSlot',
|
||||
title: 'Permanently add one Armor Slot or take +1 to your Evasion',
|
||||
choices: [{ name: 'Armor Marks +1', path: 'armor' }, { name: 'Evasion +1', path: 'evasion' }],
|
||||
nrChoices: 1,
|
||||
},
|
||||
majorDamageThreshold2: {
|
||||
name: 'majorDamageThreshold2',
|
||||
title: '',
|
||||
choices: [],
|
||||
},
|
||||
severeDamageThreshold2: {
|
||||
name: 'severeDamageThreshold2',
|
||||
title: '',
|
||||
choices: [],
|
||||
},
|
||||
// minorDamageThreshold2: {
|
||||
// name: 'minorDamageThreshold2',
|
||||
// title: '',
|
||||
// choices: [],
|
||||
// },
|
||||
severeDamageThreshold3: {
|
||||
name: 'severeDamageThreshold3',
|
||||
title: '',
|
||||
choices: [],
|
||||
},
|
||||
// major2OrSevere4DamageThreshold: {
|
||||
// name: 'major2OrSevere4DamageThreshold',
|
||||
// title: 'Increase your Major Damage Threshold by +2 or Severe Damage Threshold by +4',
|
||||
// choices: [{ name: 'Major Damage Threshold +2', path: 'major' }, { name: 'Severe Damage Threshold +4', path: 'severe' }],
|
||||
// nrChoices: 1,
|
||||
// },
|
||||
// minor1OrMajor1DamageThreshold: {
|
||||
// name: 'minor1OrMajor1DamageThreshold',
|
||||
// title: 'Increase your Minor or Major Damage Threshold by +1',
|
||||
// choices: [{ name: 'Minor Damage Threshold +1', path: 'minor' }, { name: 'Major Damage Threshold +1', path: 'major' }],
|
||||
// nrChoices: 1,
|
||||
// },
|
||||
severeDamageThreshold4: {
|
||||
name: 'severeDamageThreshold4',
|
||||
title: '',
|
||||
choices: [],
|
||||
},
|
||||
// majorDamageThreshold1: {
|
||||
// name: 'majorDamageThreshold2',
|
||||
// title: '',
|
||||
// choices: [],
|
||||
// },
|
||||
subclass: {
|
||||
name: 'subclass',
|
||||
title: 'Select subclass to upgrade',
|
||||
choices: [],
|
||||
},
|
||||
multiclass: {
|
||||
name: 'multiclass',
|
||||
title: '',
|
||||
choices: [{}],
|
||||
}
|
||||
};
|
||||
|
||||
export const levelupData = {
|
||||
tier1: {
|
||||
id: "2_4",
|
||||
tier: 1,
|
||||
levels: [2,3,4],
|
||||
label: 'DAGGERHEART.LevelUp.Tier1.Label',
|
||||
info: "DAGGERHEART.LevelUp.Tier1.InfoLabel",
|
||||
pretext: "DAGGERHEART.LevelUp.Tier1.Pretext",
|
||||
posttext: "DAGGERHEART.LevelUp.Tier1.Posttext",
|
||||
choices: {
|
||||
[levelChoices.attributes.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.Attributes",
|
||||
maxChoices: 3,
|
||||
},
|
||||
[levelChoices.hitPointSlots.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.HitPointSlots",
|
||||
maxChoices: 1,
|
||||
},
|
||||
[levelChoices.stressSlots.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.StressSlots",
|
||||
maxChoices: 1,
|
||||
},
|
||||
[levelChoices.experiences.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.Experiences",
|
||||
maxChoices: 1,
|
||||
},
|
||||
[levelChoices.proficiency.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.Proficiency",
|
||||
maxChoices: 1,
|
||||
},
|
||||
[levelChoices.armorOrEvasionSlot.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.ArmorOrEvasionSlot",
|
||||
maxChoices: 1,
|
||||
},
|
||||
[levelChoices.majorDamageThreshold2.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.MajorDamageThreshold2",
|
||||
maxChoices: 1,
|
||||
},
|
||||
[levelChoices.severeDamageThreshold2.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.SevereDamageThreshold2",
|
||||
maxChoices: 1,
|
||||
}
|
||||
}
|
||||
},
|
||||
tier2: {
|
||||
id: "5_7",
|
||||
tier: 2,
|
||||
levels: [5,6,7],
|
||||
label: 'DAGGERHEART.LevelUp.Tier2.Label',
|
||||
info: "DAGGERHEART.LevelUp.Tier2.InfoLabel",
|
||||
pretext: "DAGGERHEART.LevelUp.Tier2.Pretext",
|
||||
posttext: "DAGGERHEART.LevelUp.Tier2.Posttext",
|
||||
choices: {
|
||||
[levelChoices.attributes.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.Attributes",
|
||||
maxChoices: 3,
|
||||
},
|
||||
[levelChoices.hitPointSlots.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.HitPointSlots",
|
||||
maxChoices: 2,
|
||||
},
|
||||
[levelChoices.stressSlots.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.StressSlots",
|
||||
maxChoices: 2,
|
||||
},
|
||||
[levelChoices.experiences.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.Experiences",
|
||||
maxChoices: 1,
|
||||
},
|
||||
[levelChoices.proficiency.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.Proficiency",
|
||||
maxChoices: 2,
|
||||
},
|
||||
[levelChoices.armorOrEvasionSlot.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.ArmorOrEvasionSlot",
|
||||
maxChoices: 2,
|
||||
},
|
||||
[levelChoices.majorDamageThreshold2.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.MajorDamageThreshold2",
|
||||
maxChoices: 1,
|
||||
},
|
||||
[levelChoices.severeDamageThreshold3.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.SevereDamageThreshold3",
|
||||
maxChoices: 1,
|
||||
},
|
||||
[levelChoices.subclass.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.Subclass",
|
||||
maxChoices: 1,
|
||||
},
|
||||
[levelChoices.multiclass.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.Multiclass",
|
||||
maxChoices: 1,
|
||||
cost: 2,
|
||||
},
|
||||
},
|
||||
},
|
||||
tier3: {
|
||||
id: "8_10",
|
||||
tier: 3,
|
||||
levels: [8,9,10],
|
||||
label: 'DAGGERHEART.LevelUp.Tier3.Label',
|
||||
info: "DAGGERHEART.LevelUp.Tier3.InfoLabel",
|
||||
pretext: "DAGGERHEART.LevelUp.Tier3.Pretext",
|
||||
posttext: "DAGGERHEART.LevelUp.Tier3.Posttext",
|
||||
choices: {
|
||||
[levelChoices.attributes.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.Attributes",
|
||||
maxChoices: 3,
|
||||
},
|
||||
[levelChoices.hitPointSlots.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.HitPointSlots",
|
||||
maxChoices: 2,
|
||||
},
|
||||
[levelChoices.stressSlots.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.StressSlots",
|
||||
maxChoices: 2,
|
||||
},
|
||||
[levelChoices.experiences.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.Experiences",
|
||||
maxChoices: 1,
|
||||
},
|
||||
[levelChoices.proficiency.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.Proficiency",
|
||||
maxChoices: 2,
|
||||
},
|
||||
[levelChoices.armorOrEvasionSlot.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.ArmorOrEvasionSlot",
|
||||
maxChoices: 2,
|
||||
},
|
||||
[levelChoices.majorDamageThreshold2.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.MajorDamageThreshold2",
|
||||
maxChoices: 1,
|
||||
},
|
||||
[levelChoices.severeDamageThreshold4.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.SevereDamageThreshold4",
|
||||
maxChoices: 1,
|
||||
},
|
||||
[levelChoices.subclass.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.Subclass",
|
||||
maxChoices: 1,
|
||||
},
|
||||
[levelChoices.multiclass.name]: {
|
||||
description: "DAGGERHEART.LevelUp.ChoiceDescriptions.Multiclass",
|
||||
maxChoices: 1,
|
||||
cost: 2,
|
||||
},
|
||||
},
|
||||
}
|
||||
};
|
||||
101
module/config/domainConfig.mjs
Normal file
101
module/config/domainConfig.mjs
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
export const domains = {
|
||||
arcana: {
|
||||
id: 'arcana',
|
||||
label: 'Arcana',
|
||||
src: 'icons/magic/symbols/circled-gem-pink.webp',
|
||||
description: 'DAGGERHEART.Domains.Arcana',
|
||||
},
|
||||
blade: {
|
||||
id: 'blade',
|
||||
label: 'Blade',
|
||||
src: 'icons/weapons/swords/sword-broad-crystal-paired.webp',
|
||||
description: 'DAGGERHEART.Domains.Blade',
|
||||
},
|
||||
bone: {
|
||||
id: 'bone',
|
||||
label: 'Bone',
|
||||
src: 'icons/skills/wounds/bone-broken-marrow-red.webp',
|
||||
description: 'DAGGERHEART.Domains.Bone',
|
||||
},
|
||||
codex: {
|
||||
id: 'codex',
|
||||
label: 'Codex',
|
||||
src: 'icons/sundries/books/book-embossed-jewel-gold-purple.webp',
|
||||
description: 'DAGGERHEART.Domains.Codex',
|
||||
},
|
||||
grace: {
|
||||
id: 'grace',
|
||||
label: 'Grace',
|
||||
src: 'icons/skills/movement/feet-winged-boots-glowing-yellow.webp',
|
||||
description: 'DAGGERHEART.Domains.Grace',
|
||||
},
|
||||
midnight: {
|
||||
id: 'midnight',
|
||||
label: 'Midnight',
|
||||
src: 'icons/environment/settlement/watchtower-castle-night.webp',
|
||||
background: 'systems/daggerheart/assets/backgrounds/MidnightBackground.webp',
|
||||
description: 'DAGGERHEART.Domains.Midnight',
|
||||
},
|
||||
sage: {
|
||||
id: 'sage',
|
||||
label: 'Sage',
|
||||
src: 'icons/sundries/misc/pipe-wooden-straight-brown.webp',
|
||||
description: 'DAGGERHEART.Domains.Sage',
|
||||
},
|
||||
splendor: {
|
||||
id: 'splendor',
|
||||
label: 'Splendor',
|
||||
src: 'icons/magic/control/control-influence-crown-gold.webp',
|
||||
description: 'DAGGERHEART.Domains.Splendor',
|
||||
},
|
||||
valor: {
|
||||
id: 'valor',
|
||||
label: 'Valor',
|
||||
src: 'icons/magic/control/control-influence-rally-purple.webp',
|
||||
description: 'DAGGERHEART.Domains.Valor',
|
||||
},
|
||||
};
|
||||
|
||||
export const classDomainMap = {
|
||||
rogue: [domains.midnight, domains.grace],
|
||||
};
|
||||
|
||||
export const subclassMap = {
|
||||
syndicate: {
|
||||
id: 'syndicate',
|
||||
label: 'Syndicate',
|
||||
},
|
||||
nightwalker: {
|
||||
id: 'nightwalker',
|
||||
label: 'Nightwalker',
|
||||
},
|
||||
};
|
||||
|
||||
export const classMap = {
|
||||
rogue: {
|
||||
label: "Rogue",
|
||||
subclasses: [subclassMap.syndicate.id, subclassMap.nightwalker.id],
|
||||
},
|
||||
seraph: {
|
||||
label: "Seraph",
|
||||
subclasses: []
|
||||
},
|
||||
};
|
||||
|
||||
export const cardTypes = {
|
||||
ability: {
|
||||
id: 'ability',
|
||||
label: "DAGGERHEART.Domain.CardTypes.Ability",
|
||||
img: "",
|
||||
},
|
||||
spell: {
|
||||
id: 'spell',
|
||||
label: "DAGGERHEART.Domain.CardTypes.Spell",
|
||||
img: ""
|
||||
},
|
||||
grimoire: {
|
||||
id: 'grimoire',
|
||||
label: "DAGGERHEART.Domain.CardTypes.Grimoire",
|
||||
img: ""
|
||||
}
|
||||
};
|
||||
64
module/config/effectConfig.mjs
Normal file
64
module/config/effectConfig.mjs
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
import { range } from "./generalConfig.mjs";
|
||||
|
||||
export const valueTypes = {
|
||||
numberString: {
|
||||
id: 'numberString',
|
||||
},
|
||||
select: {
|
||||
id: 'select',
|
||||
}
|
||||
}
|
||||
|
||||
export const parseTypes = {
|
||||
string: {
|
||||
id: 'string',
|
||||
},
|
||||
number: {
|
||||
id: 'number',
|
||||
},
|
||||
}
|
||||
|
||||
export const applyLocations = {
|
||||
attackRoll: {
|
||||
id: 'attackRoll',
|
||||
name: "DAGGERHEART.Effects.ApplyLocations.AttackRoll.Name",
|
||||
},
|
||||
damageRoll: {
|
||||
id: 'damageRoll',
|
||||
name: "DAGGERHEART.Effects.ApplyLocations.DamageRoll.Name",
|
||||
}
|
||||
};
|
||||
|
||||
export const effectTypes = {
|
||||
health: {
|
||||
id: "health",
|
||||
name: "DAGGERHEART.Effects.Types.Health.Name",
|
||||
values: [],
|
||||
valueType: valueTypes.numberString.id,
|
||||
parseType: parseTypes.number.id,
|
||||
},
|
||||
stress: {
|
||||
id: "stress",
|
||||
name: "DAGGERHEART.Effects.Types.Stress.Name",
|
||||
valueType: valueTypes.numberString.id,
|
||||
parseType: parseTypes.number.id,
|
||||
},
|
||||
reach: {
|
||||
id: "reach",
|
||||
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",
|
||||
valueType: valueTypes.numberString.id,
|
||||
parseType: parseTypes.string.id,
|
||||
appliesOn: applyLocations.damageRoll.id,
|
||||
applyLocationChoices: {
|
||||
[applyLocations.damageRoll.id]: applyLocations.damageRoll.name,
|
||||
[applyLocations.attackRoll.id]: applyLocations.attackRoll.name,
|
||||
},
|
||||
}
|
||||
};
|
||||
268
module/config/generalConfig.mjs
Normal file
268
module/config/generalConfig.mjs
Normal file
|
|
@ -0,0 +1,268 @@
|
|||
export const range = {
|
||||
melee: {
|
||||
label: "DAGGERHEART.Range.Melee.Name",
|
||||
description: "DAGGERHEART.Range.Melee.Description",
|
||||
distance: 1
|
||||
},
|
||||
veryClose: {
|
||||
label: "DAGGERHEART.Range.VeryClose.Name",
|
||||
description: "DAGGERHEART.Range.VeryClose.Description",
|
||||
distance: 3
|
||||
},
|
||||
close: {
|
||||
label: "DAGGERHEART.Range.Close.Name",
|
||||
description: "DAGGERHEART.Range.Close.Description",
|
||||
distance: 10
|
||||
},
|
||||
far: {
|
||||
label: "DAGGERHEART.Range.Far.Name",
|
||||
description: "DAGGERHEART.Range.Far.Description",
|
||||
distance: 20
|
||||
},
|
||||
veryFar: {
|
||||
label: "DAGGERHEART.Range.VeryFar.Name",
|
||||
description: "DAGGERHEART.Range.VeryFar.Description",
|
||||
distance: 30
|
||||
}
|
||||
}
|
||||
|
||||
export const burden = {
|
||||
oneHanded: "DAGGERHEART.Burden.OneHanded",
|
||||
twoHanded: "DAGGERHEART.Burden.TwoHanded"
|
||||
}
|
||||
|
||||
export const damageTypes = {
|
||||
physical: {
|
||||
id: 'physical',
|
||||
label: "DAGGERHEART.DamageType.Physical.Name",
|
||||
abbreviation: "DAGGERHEART.DamageType.Physical.Abbreviation",
|
||||
},
|
||||
magical: {
|
||||
id: 'magical',
|
||||
label: "DAGGERHEART.DamageType.Magical.Name",
|
||||
abbreviation: "DAGGERHEART.DamageType.Magical.Abbreviation",
|
||||
},
|
||||
}
|
||||
|
||||
export const healingTypes = {
|
||||
health: {
|
||||
id: 'health',
|
||||
label: "DAGGERHEART.HealingType.HitPoints.Name",
|
||||
abbreviation: "DAGGERHEART.HealingType.HitPoints.Abbreviation"
|
||||
},
|
||||
stress: {
|
||||
id: 'stress',
|
||||
label: "DAGGERHEART.HealingType.Stress.Name",
|
||||
abbreviation: "DAGGERHEART.HealingType.Stress.Abbreviation"
|
||||
},
|
||||
};
|
||||
|
||||
export const conditions = {
|
||||
vulnerable: {
|
||||
id: 'vulnerable',
|
||||
name: "DAGGERHEART.Condition.Vulnerable.Name",
|
||||
icon: "icons/magic/control/silhouette-fall-slip-prone.webp",
|
||||
description: "DAGGERHEART.Condition.Vulnerable.Description"
|
||||
},
|
||||
hidden: {
|
||||
id: 'hidden',
|
||||
name: "DAGGERHEART.Condition.Hidden.Name",
|
||||
icon: "icons/magic/perception/silhouette-stealth-shadow.webp",
|
||||
description: "DAGGERHEART.Condition.Hidden.Description"
|
||||
},
|
||||
restrained: {
|
||||
id: 'restrained',
|
||||
name: "DAGGERHEART.Condition.Restrained.Name",
|
||||
icon: "icons/magic/control/debuff-chains-shackle-movement-red.webp",
|
||||
description: "DAGGERHEART.Condition.Restrained.Description"
|
||||
},
|
||||
}
|
||||
|
||||
export const downtime = {
|
||||
shortRest: {
|
||||
tendToWounds: {
|
||||
id: "tendToWounds",
|
||||
name: "DAGGERHEART.Downtime.TendToWounds.Name",
|
||||
img: "icons/magic/life/cross-worn-green.webp",
|
||||
description: "DAGGERHEART.Downtime.TendToWounds.Description",
|
||||
},
|
||||
clearStress: {
|
||||
id: "clearStress",
|
||||
name: "DAGGERHEART.Downtime.ClearStress.Name",
|
||||
img: "icons/magic/perception/eye-ringed-green.webp",
|
||||
description: "DAGGERHEART.Downtime.ClearStress.Description",
|
||||
},
|
||||
repairArmor: {
|
||||
id: "repairArmor",
|
||||
name: "DAGGERHEART.Downtime.RepairArmor.Name",
|
||||
img: "icons/skills/trades/smithing-anvil-silver-red.webp",
|
||||
description: "DAGGERHEART.Downtime.RepairArmor.Description",
|
||||
},
|
||||
prepare: {
|
||||
id: "prepare",
|
||||
name: "DAGGERHEART.Downtime.Prepare.Name",
|
||||
img: "icons/skills/trades/academics-merchant-scribe.webp",
|
||||
description: "DAGGERHEART.Downtime.Prepare.Description",
|
||||
},
|
||||
},
|
||||
longRest: {
|
||||
tendToWounds: {
|
||||
id: "tendToWounds",
|
||||
name: "DAGGERHEART.Downtime.TendToWounds.Name",
|
||||
img: "icons/magic/life/cross-worn-green.webp",
|
||||
description: "DAGGERHEART.Downtime.TendToWounds.Description",
|
||||
},
|
||||
clearStress: {
|
||||
id: "clearStress",
|
||||
name: "DAGGERHEART.Downtime.ClearStress.Name",
|
||||
img: "icons/magic/perception/eye-ringed-green.webp",
|
||||
description: "DAGGERHEART.Downtime.ClearStress.Description",
|
||||
},
|
||||
repairArmor: {
|
||||
id: "repairArmor",
|
||||
name: "DAGGERHEART.Downtime.RepairArmor.Name",
|
||||
img: "icons/skills/trades/smithing-anvil-silver-red.webp",
|
||||
description: "DAGGERHEART.Downtime.RepairArmor.Description",
|
||||
},
|
||||
prepare: {
|
||||
id: "prepare",
|
||||
name: "DAGGERHEART.Downtime.Prepare.Name",
|
||||
img: "icons/skills/trades/academics-merchant-scribe.webp",
|
||||
description: "DAGGERHEART.Downtime.Prepare.Description",
|
||||
},
|
||||
workOnAProject: {
|
||||
id: "workOnAProject",
|
||||
name: "DAGGERHEART.Downtime.WorkOnAProject.Name",
|
||||
img: "icons/skills/social/thumbsup-approval-like.webp",
|
||||
description: "DAGGERHEART.Downtime.WorkOnAProject.Description",
|
||||
}
|
||||
},
|
||||
custom: {
|
||||
id: 'customActivity',
|
||||
name: "",
|
||||
img: "icons/skills/trades/academics-investigation-puzzles.webp",
|
||||
description: "",
|
||||
namePlaceholder: "DAGGERHEART.Downtime.Custom.NamePlaceholder",
|
||||
placeholder: "DAGGERHEART.Downtime.Custom.Placeholder",
|
||||
}
|
||||
}
|
||||
|
||||
export const deathMoves = {
|
||||
avoidDeath: {
|
||||
id: "avoidDeath",
|
||||
name: "DAGGERHEART.DeathMoves.AvoidDeath.Name",
|
||||
img: "icons/magic/time/hourglass-yellow-green.webp",
|
||||
description: "DAGGERHEART.DeathMoves.AvoidDeath.Description",
|
||||
},
|
||||
riskItAll: {
|
||||
id: 'riskItAll',
|
||||
name: "DAGGERHEART.DeathMoves.RiskItAll.Name",
|
||||
img: "icons/sundries/gaming/dice-pair-white-green.webp",
|
||||
description: "DAGGERHEART.DeathMoves.RiskItAll.Description",
|
||||
},
|
||||
blazeOfGlory: {
|
||||
id: "blazeOfGlory",
|
||||
name: "DAGGERHEART.DeathMoves.BlazeOfGlory.Name",
|
||||
img: "icons/magic/life/heart-cross-strong-flame-purple-orange.webp",
|
||||
description: "DAGGERHEART.DeathMoves.BlazeOfGlory.Description",
|
||||
}
|
||||
};
|
||||
|
||||
export const tiers = {
|
||||
0: {
|
||||
key: 0,
|
||||
id: 'tier0',
|
||||
name: 'DAGGERHEART.General.Tier.0',
|
||||
},
|
||||
1: {
|
||||
key: 1,
|
||||
id: 'tier1',
|
||||
name: 'DAGGERHEART.General.Tier.1',
|
||||
},
|
||||
2: {
|
||||
key: 2,
|
||||
id: 'tier2',
|
||||
name: 'DAGGERHEART.General.Tier.2',
|
||||
},
|
||||
3: {
|
||||
key: 3,
|
||||
id: 'tier3',
|
||||
name: 'DAGGERHEART.General.Tier.3',
|
||||
}
|
||||
};
|
||||
|
||||
export const objectTypes = {
|
||||
pc: {
|
||||
name: "TYPES.Actor.pc",
|
||||
},
|
||||
npc: {
|
||||
name: "TYPES.Actor.npc",
|
||||
},
|
||||
adversary: {
|
||||
name: "TYPES.Actor.adversary",
|
||||
},
|
||||
ancestry: {
|
||||
name: "TYPES.Item.ancestry",
|
||||
},
|
||||
community: {
|
||||
name: "TYPES.Item.community",
|
||||
},
|
||||
class: {
|
||||
name: "TYPES.Item.class",
|
||||
},
|
||||
subclass: {
|
||||
name: "TYPES.Item.subclass",
|
||||
},
|
||||
feature: {
|
||||
name: "TYPES.Item.feature",
|
||||
},
|
||||
domainCard: {
|
||||
name: "TYPES.Item.domainCard",
|
||||
},
|
||||
consumable: {
|
||||
name: "TYPES.Item.consumable",
|
||||
},
|
||||
miscellaneous: {
|
||||
name: "TYPES.Item.miscellaneous",
|
||||
},
|
||||
weapon: {
|
||||
name: "TYPES.Item.weapon",
|
||||
},
|
||||
armor: {
|
||||
name: "TYPES.Item.armor",
|
||||
}
|
||||
};
|
||||
|
||||
export const diceTypes = {
|
||||
d4: "d4",
|
||||
d6: "d6",
|
||||
d8: "d8",
|
||||
d12: "d12",
|
||||
d20: "d20"
|
||||
};
|
||||
|
||||
export const refreshTypes = {
|
||||
session: {
|
||||
id: 'session',
|
||||
label: "DAGGERHEART.General.RefreshType.Session"
|
||||
},
|
||||
shortRest: {
|
||||
id: 'shortRest',
|
||||
label: "DAGGERHEART.General.RefreshType.Shortrest",
|
||||
},
|
||||
longRest: {
|
||||
id: 'longRest',
|
||||
label: "DAGGERHEART.General.RefreshType.Longrest"
|
||||
}
|
||||
}
|
||||
|
||||
export const abilityCosts = {
|
||||
hope: {
|
||||
id: 'hope',
|
||||
label: 'Hope',
|
||||
},
|
||||
stress: {
|
||||
id: 'stress',
|
||||
label: 'Stress',
|
||||
}
|
||||
}
|
||||
351
module/config/itemConfig.mjs
Normal file
351
module/config/itemConfig.mjs
Normal file
|
|
@ -0,0 +1,351 @@
|
|||
export const armorFeatures = {
|
||||
light: {
|
||||
label: "DAGGERHEART.ArmorFeature.Light.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Light.Description",
|
||||
},
|
||||
heavy: {
|
||||
label: "DAGGERHEART.ArmorFeature.Heavy.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Heavy.Description",
|
||||
},
|
||||
veryHeavy: {
|
||||
label: "DAGGERHEART.ArmorFeature.VeryHeavy.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.VeryHeavy.Description",
|
||||
},
|
||||
reinforced: {
|
||||
label: "DAGGERHEART.ArmorFeature.Reinforced.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Reinforced.Description",
|
||||
},
|
||||
sturdy: {
|
||||
label: "DAGGERHEART.ArmorFeature.Sturdy.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Sturdy.Description",
|
||||
},
|
||||
warded: {
|
||||
label: "DAGGERHEART.ArmorFeature.Warded.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Warded.Description",
|
||||
},
|
||||
resistant: {
|
||||
label: "DAGGERHEART.ArmorFeature.Resistant.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Resistant.Description",
|
||||
},
|
||||
quiet: {
|
||||
label: "DAGGERHEART.ArmorFeature.Quiet.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Quiet.Description",
|
||||
},
|
||||
hopeful: {
|
||||
label: "DAGGERHEART.ArmorFeature.Hopeful.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Hopeful.Description",
|
||||
},
|
||||
impenetrable: {
|
||||
label: "DAGGERHEART.ArmorFeature.Impenetrable.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Impenetrable.Description",
|
||||
},
|
||||
painful: {
|
||||
label: "DAGGERHEART.ArmorFeature.Painful.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Painful.Description",
|
||||
},
|
||||
gilded: {
|
||||
label: "DAGGERHEART.ArmorFeature.Gilded.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Gilded.Description",
|
||||
},
|
||||
physical: {
|
||||
label: "DAGGERHEART.ArmorFeature.Physical.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Physical.Description",
|
||||
},
|
||||
magic: {
|
||||
label: "DAGGERHEART.ArmorFeature.Magic.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Magic.Description",
|
||||
},
|
||||
sharp: {
|
||||
label: "DAGGERHEART.ArmorFeature.Sharp.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Sharp.Description",
|
||||
},
|
||||
burning: {
|
||||
label: "DAGGERHEART.ArmorFeature.Burning.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Burning.Description",
|
||||
},
|
||||
timeslowing: {
|
||||
label: "DAGGERHEART.ArmorFeature.Timeslowing.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Timeslowing.Description",
|
||||
},
|
||||
truthseeking: {
|
||||
label: "DAGGERHEART.ArmorFeature.Truthseeking.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Truthseeking.Description",
|
||||
},
|
||||
channeling: {
|
||||
label: "DAGGERHEART.ArmorFeature.Channeling.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Channeling.Description",
|
||||
},
|
||||
difficult: {
|
||||
label: "DAGGERHEART.ArmorFeature.Difficult.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Difficult.Description",
|
||||
},
|
||||
variable: {
|
||||
label: "DAGGERHEART.ArmorFeature.Variable.Name",
|
||||
description: "DAGGERHEART.ArmorFeature.Variable.Description",
|
||||
},
|
||||
};
|
||||
|
||||
export const weaponFeatures = {
|
||||
light: {
|
||||
label: "DAGGERHEART.WeaponFeature.Light.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Light.Description",
|
||||
},
|
||||
heavy: {
|
||||
label: "DAGGERHEART.WeaponFeature.Heavy.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Heavy.Description",
|
||||
},
|
||||
massive: {
|
||||
label: "DAGGERHEART.WeaponFeature.Massive.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Massive.Description",
|
||||
},
|
||||
reliable: {
|
||||
label: "DAGGERHEART.WeaponFeature.Reliable.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Reliable.Description",
|
||||
},
|
||||
quick: {
|
||||
label: "DAGGERHEART.WeaponFeature.Quick.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Quick.Description",
|
||||
},
|
||||
cumbersome: {
|
||||
label: "DAGGERHEART.WeaponFeature.Cumbersome.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Cumbersome.Description",
|
||||
},
|
||||
versatile: {
|
||||
label: "DAGGERHEART.WeaponFeature.Versatile.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Versatile.Description",
|
||||
override: {
|
||||
damage: "",
|
||||
}
|
||||
},
|
||||
powerful: {
|
||||
label: "DAGGERHEART.WeaponFeature.Powerful.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Powerful.Description",
|
||||
},
|
||||
scary: {
|
||||
label: "DAGGERHEART.WeaponFeature.Scary.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Scary.Description",
|
||||
},
|
||||
brutal: {
|
||||
label: "DAGGERHEART.WeaponFeature.Brutal.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Brutal.Description",
|
||||
},
|
||||
reloading: {
|
||||
label: "DAGGERHEART.WeaponFeature.Reloading.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Reloading.Description",
|
||||
},
|
||||
eruptive: {
|
||||
label: "DAGGERHEART.WeaponFeature.Eruptive.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Eruptive.Description",
|
||||
},
|
||||
persuasive: {
|
||||
label: "DAGGERHEART.WeaponFeature.Persuasive.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Persuasive.Description",
|
||||
},
|
||||
pompous: {
|
||||
label: "DAGGERHEART.WeaponFeature.Pompous.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Pompous.Description",
|
||||
},
|
||||
invigorating: {
|
||||
label: "DAGGERHEART.WeaponFeature.Invigorating.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Invigorating.Description",
|
||||
},
|
||||
dense: {
|
||||
label: "DAGGERHEART.WeaponFeature.Dense.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Dense.Description",
|
||||
},
|
||||
soulswift: {
|
||||
label: "DAGGERHEART.WeaponFeature.Soulswift.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Soulswift.Description",
|
||||
},
|
||||
protective: {
|
||||
label: "DAGGERHEART.WeaponFeature.Protective.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Protective.Description",
|
||||
},
|
||||
devastating: {
|
||||
label: "DAGGERHEART.WeaponFeature.Devastating.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Devastating.Description",
|
||||
},
|
||||
retractable: {
|
||||
label: "DAGGERHEART.WeaponFeature.Retractable.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Retractable.Description",
|
||||
},
|
||||
burn: {
|
||||
label: "DAGGERHEART.WeaponFeature.Burn.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Burn.Description",
|
||||
},
|
||||
painful: {
|
||||
label: "DAGGERHEART.WeaponFeature.Painful.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Painful.Description",
|
||||
},
|
||||
otherwordly: {
|
||||
label: "DAGGERHEART.WeaponFeature.Otherwordly.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Otherwordly.Description",
|
||||
},
|
||||
lucky: {
|
||||
label: "DAGGERHEART.WeaponFeature.Lucky.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Lucky.Description",
|
||||
},
|
||||
selfCorrecting: {
|
||||
label: "DAGGERHEART.WeaponFeature.SelfCorrecting.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.SelfCorrecting.Description",
|
||||
},
|
||||
healing: {
|
||||
label: "DAGGERHEART.WeaponFeature.Healing.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Healing.Description",
|
||||
},
|
||||
timebender: {
|
||||
label: "DAGGERHEART.WeaponFeature.Timebender.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Timebender.Description",
|
||||
},
|
||||
enchanted: {
|
||||
label: "DAGGERHEART.WeaponFeature.Enchanted.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Enchanted.Description",
|
||||
},
|
||||
serrated: {
|
||||
label: "DAGGERHEART.WeaponFeature.Serrated.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Serrated.Description",
|
||||
},
|
||||
grappling: {
|
||||
label: "DAGGERHEART.WeaponFeature.Grappling.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Grappling.Description",
|
||||
},
|
||||
long: {
|
||||
label: "DAGGERHEART.WeaponFeature.Long.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Long.Description",
|
||||
},
|
||||
destructive: {
|
||||
label: "DAGGERHEART.WeaponFeature.Destructive.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Destructive.Description",
|
||||
},
|
||||
concussive: {
|
||||
label: "DAGGERHEART.WeaponFeature.Concussive.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Concussive.Description",
|
||||
},
|
||||
bouncing: {
|
||||
label: "DAGGERHEART.WeaponFeature.Bouncing.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Bouncing.Description",
|
||||
},
|
||||
penetrating: {
|
||||
label: "DAGGERHEART.WeaponFeature.Penetrating.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Penetrating.Description",
|
||||
},
|
||||
lifestealing: {
|
||||
label: "DAGGERHEART.WeaponFeature.Lifestealing.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Lifestealing.Description",
|
||||
},
|
||||
greedy: {
|
||||
label: "DAGGERHEART.WeaponFeature.Greedy.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Greedy.Description",
|
||||
},
|
||||
bonded: {
|
||||
label: "DAGGERHEART.WeaponFeature.Bonded.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Bonded.Description",
|
||||
},
|
||||
barrier: {
|
||||
label: "DAGGERHEART.WeaponFeature.Barrier.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Barrier.Description",
|
||||
},
|
||||
paired: {
|
||||
label: "DAGGERHEART.WeaponFeature.Paired.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Paired.Description",
|
||||
},
|
||||
whipcrack: {
|
||||
label: "DAGGERHEART.WeaponFeature.Whipcrack.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Whipcrack.Description",
|
||||
},
|
||||
hook: {
|
||||
label: "DAGGERHEART.WeaponFeature.Hook.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Hook.Description",
|
||||
},
|
||||
doubleDuty: {
|
||||
label: "DAGGERHEART.WeaponFeature.DoubleDuty.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.DoubleDuty.Description",
|
||||
},
|
||||
parry: {
|
||||
label: "DAGGERHEART.WeaponFeature.Parry.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Parry.Description",
|
||||
},
|
||||
retrieve: {
|
||||
label: "DAGGERHEART.WeaponFeature.Retrieve.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Retrieve.Description",
|
||||
},
|
||||
deflecting: {
|
||||
label: "DAGGERHEART.WeaponFeature.Deflecting.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Deflecting.Description",
|
||||
},
|
||||
chargedAttack: {
|
||||
label: "DAGGERHEART.WeaponFeature.ChargedAttack.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.ChargedAttack.Description",
|
||||
},
|
||||
sheltering: {
|
||||
label: "DAGGERHEART.WeaponFeature.Sheltering.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.Sheltering.Description",
|
||||
},
|
||||
doubledUp: {
|
||||
label: "DAGGERHEART.WeaponFeature.DoubledUp.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.DoubledUp.Description",
|
||||
},
|
||||
lockedOn: {
|
||||
label: "DAGGERHEART.WeaponFeature.LockedOn.Name",
|
||||
description: "DAGGERHEART.WeaponFeature.LockedOn.Description",
|
||||
},
|
||||
};
|
||||
|
||||
export const featureTypes = {
|
||||
ancestry: {
|
||||
id: "ancestry",
|
||||
label: "DAGGERHEART.Feature.Type.Ancestry"
|
||||
},
|
||||
community: {
|
||||
id: "community",
|
||||
label: "DAGGERHEART.Feature.Type.Community"
|
||||
},
|
||||
class: {
|
||||
id: "class",
|
||||
label: "DAGGERHEART.Feature.Type.Class"
|
||||
},
|
||||
subclass: {
|
||||
id: "subclass",
|
||||
label: "DAGGERHEART.Feature.Type.Subclass"
|
||||
},
|
||||
}
|
||||
|
||||
export const valueTypes = {
|
||||
normal: {
|
||||
id: 'normal',
|
||||
name: "DAGGERHEART.Feature.ValueType.Normal",
|
||||
data: {
|
||||
value: 0,
|
||||
max: 0,
|
||||
}
|
||||
},
|
||||
input: {
|
||||
id: 'input',
|
||||
name: "DAGGERHEART.Feature.ValueType.Input",
|
||||
data: {
|
||||
value: null,
|
||||
}
|
||||
},
|
||||
dice: {
|
||||
id: 'dice',
|
||||
name: "DAGGERHEART.Feature.ValueType.Dice",
|
||||
data: {
|
||||
value: null,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export const actionTypes = {
|
||||
passive: {
|
||||
id: "passive",
|
||||
label: "DAGGERHEART.ActionType.Passive"
|
||||
},
|
||||
action: {
|
||||
id: "action",
|
||||
label: "DAGGERHEART.ActionType.Action"
|
||||
},
|
||||
reaction: {
|
||||
id: "reaction",
|
||||
label: "DAGGERHEART.ActionType.Reaction"
|
||||
}
|
||||
};
|
||||
28
module/config/settingsConfig.mjs
Normal file
28
module/config/settingsConfig.mjs
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
export const menu = {
|
||||
Automation: {
|
||||
Name: "GameSettingsAutomation",
|
||||
Icon: "fa-solid fa-robot",
|
||||
},
|
||||
Homebrew: {
|
||||
Name: "GameSettingsHomebrew",
|
||||
Icon: "fa-solid fa-flask-vial",
|
||||
},
|
||||
Range: {
|
||||
Name: "GameSettingsRange",
|
||||
Icon: "fa-solid fa-ruler",
|
||||
},
|
||||
};
|
||||
|
||||
export const gameSettings = {
|
||||
Automation: {
|
||||
Hope: "AutomationHope",
|
||||
ActionPoints: "AutomationActionPoints",
|
||||
},
|
||||
Resources: {
|
||||
Fear: "ResourcesFear"
|
||||
},
|
||||
General: {
|
||||
AbilityArray: "AbilityArray",
|
||||
RangeMeasurement: "RangeMeasurement",
|
||||
}
|
||||
}
|
||||
20
module/config/system.mjs
Normal file
20
module/config/system.mjs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
import * as GENERAL from './generalConfig.mjs';
|
||||
import * as DOMAIN from "./domainConfig.mjs";
|
||||
import * as ACTOR from './actorConfig.mjs';
|
||||
import * as ITEM from './itemConfig.mjs';
|
||||
import * as SETTINGS from './settingsConfig.mjs';
|
||||
import * as EFFECTS from './effectConfig.mjs';
|
||||
import * as ACTIONS from './actionConfig.mjs';
|
||||
|
||||
export const SYSTEM_ID = "daggerheart";
|
||||
|
||||
export const SYSTEM = {
|
||||
id: SYSTEM_ID,
|
||||
GENERAL,
|
||||
DOMAIN,
|
||||
ACTOR,
|
||||
ITEM,
|
||||
SETTINGS,
|
||||
EFFECTS,
|
||||
ACTIONS,
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue