Initial commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// Generated from /seed-data/classes.json — keep in sync by hand if that file changes.
|
||||
// See docs/GAME_RULES_REFERENCE.md "Class Quick Facts".
|
||||
|
||||
const CLASSES = {
|
||||
FIGHTER: { key: 'FIGHTER', name: 'Fighter', hitDie: 10, primaryAbility: 'Str/Dex', saveProficiencies: ['STR', 'CON'], spellcastingAbility: null },
|
||||
BARBARIAN: { key: 'BARBARIAN', name: 'Barbarian', hitDie: 12, primaryAbility: 'Str', saveProficiencies: ['STR', 'CON'], spellcastingAbility: null },
|
||||
ROGUE: { key: 'ROGUE', name: 'Rogue', hitDie: 8, primaryAbility: 'Dex', saveProficiencies: ['DEX', 'INT'], spellcastingAbility: null },
|
||||
RANGER: { key: 'RANGER', name: 'Ranger', hitDie: 10, primaryAbility: 'Dex/Wis', saveProficiencies: ['STR', 'DEX'], spellcastingAbility: 'WIS' },
|
||||
WIZARD: { key: 'WIZARD', name: 'Wizard', hitDie: 6, primaryAbility: 'Int', saveProficiencies: ['INT', 'WIS'], spellcastingAbility: 'INT' },
|
||||
SORCERER: { key: 'SORCERER', name: 'Sorcerer', hitDie: 6, primaryAbility: 'Cha', saveProficiencies: ['CON', 'CHA'], spellcastingAbility: 'CHA' },
|
||||
CLERIC: { key: 'CLERIC', name: 'Cleric', hitDie: 8, primaryAbility: 'Wis', saveProficiencies: ['WIS', 'CHA'], spellcastingAbility: 'WIS' },
|
||||
PALADIN: { key: 'PALADIN', name: 'Paladin', hitDie: 10, primaryAbility: 'Str/Cha', saveProficiencies: ['WIS', 'CHA'], spellcastingAbility: 'CHA' },
|
||||
BARD: { key: 'BARD', name: 'Bard', hitDie: 8, primaryAbility: 'Cha', saveProficiencies: ['DEX', 'CHA'], spellcastingAbility: 'CHA' },
|
||||
WARLOCK: { key: 'WARLOCK', name: 'Warlock', hitDie: 8, primaryAbility: 'Cha', saveProficiencies: ['WIS', 'CHA'], spellcastingAbility: 'CHA' },
|
||||
DRUID: { key: 'DRUID', name: 'Druid', hitDie: 8, primaryAbility: 'Wis', saveProficiencies: ['INT', 'WIS'], spellcastingAbility: 'WIS' },
|
||||
MONK: { key: 'MONK', name: 'Monk', hitDie: 8, primaryAbility: 'Dex/Wis', saveProficiencies: ['STR', 'DEX'], spellcastingAbility: null },
|
||||
};
|
||||
|
||||
module.exports = { CLASSES };
|
||||
@@ -0,0 +1,25 @@
|
||||
// Generated from /seed-data/skills.json — keep in sync by hand if that file changes.
|
||||
// See docs/GAME_RULES_REFERENCE.md "Skill -> Governing Ability".
|
||||
|
||||
const SKILLS = {
|
||||
ACROBATICS: { key: 'ACROBATICS', name: 'Acrobatics', ability: 'DEX' },
|
||||
ANIMAL_HANDLING: { key: 'ANIMAL_HANDLING', name: 'Animal Handling', ability: 'WIS' },
|
||||
ARCANA: { key: 'ARCANA', name: 'Arcana', ability: 'INT' },
|
||||
ATHLETICS: { key: 'ATHLETICS', name: 'Athletics', ability: 'STR' },
|
||||
DECEPTION: { key: 'DECEPTION', name: 'Deception', ability: 'CHA' },
|
||||
HISTORY: { key: 'HISTORY', name: 'History', ability: 'INT' },
|
||||
INSIGHT: { key: 'INSIGHT', name: 'Insight', ability: 'WIS' },
|
||||
INTIMIDATION: { key: 'INTIMIDATION', name: 'Intimidation', ability: 'CHA' },
|
||||
INVESTIGATION: { key: 'INVESTIGATION', name: 'Investigation', ability: 'INT' },
|
||||
MEDICINE: { key: 'MEDICINE', name: 'Medicine', ability: 'WIS' },
|
||||
NATURE: { key: 'NATURE', name: 'Nature', ability: 'INT' },
|
||||
PERCEPTION: { key: 'PERCEPTION', name: 'Perception', ability: 'WIS' },
|
||||
PERFORMANCE: { key: 'PERFORMANCE', name: 'Performance', ability: 'CHA' },
|
||||
PERSUASION: { key: 'PERSUASION', name: 'Persuasion', ability: 'CHA' },
|
||||
RELIGION: { key: 'RELIGION', name: 'Religion', ability: 'INT' },
|
||||
SLEIGHT_OF_HAND: { key: 'SLEIGHT_OF_HAND', name: 'Sleight of Hand', ability: 'DEX' },
|
||||
STEALTH: { key: 'STEALTH', name: 'Stealth', ability: 'DEX' },
|
||||
SURVIVAL: { key: 'SURVIVAL', name: 'Survival', ability: 'WIS' },
|
||||
};
|
||||
|
||||
module.exports = { SKILLS };
|
||||
@@ -0,0 +1,23 @@
|
||||
// Generated from /seed-data/species.json — keep in sync by hand if that file changes.
|
||||
// See docs/GAME_RULES_REFERENCE.md "Species Ability Score Increases & Speed".
|
||||
|
||||
const SPECIES = {
|
||||
HUMAN: { key: 'HUMAN', name: 'Human', abilityBonuses: { STR: 1, DEX: 1, CON: 1, INT: 1, WIS: 1, CHA: 1 }, speed: 30, notes: null },
|
||||
HALF_ELF: {
|
||||
key: 'HALF_ELF',
|
||||
name: 'Half-Elf',
|
||||
abilityBonuses: { STR: 0, DEX: 0, CON: 0, INT: 0, WIS: 0, CHA: 2 },
|
||||
speed: 30,
|
||||
notes: "Fixed +2 CHA plus a flexible +1/+1 to two other abilities of the player's choice. The builder UI must prompt for this choice; do not hardcode a default.",
|
||||
},
|
||||
ELF: { key: 'ELF', name: 'Elf', abilityBonuses: { STR: 0, DEX: 2, CON: 0, INT: 0, WIS: 0, CHA: 0 }, speed: 30, notes: null },
|
||||
GNOME: { key: 'GNOME', name: 'Gnome', abilityBonuses: { STR: 0, DEX: 0, CON: 0, INT: 2, WIS: 0, CHA: 0 }, speed: 25, notes: null },
|
||||
DWARF: { key: 'DWARF', name: 'Dwarf', abilityBonuses: { STR: 0, DEX: 0, CON: 2, INT: 0, WIS: 0, CHA: 0 }, speed: 25, notes: null },
|
||||
HALFLING: { key: 'HALFLING', name: 'Halfling', abilityBonuses: { STR: 0, DEX: 2, CON: 0, INT: 0, WIS: 0, CHA: 0 }, speed: 25, notes: null },
|
||||
DRAGONBORN: { key: 'DRAGONBORN', name: 'Dragonborn', abilityBonuses: { STR: 2, DEX: 0, CON: 0, INT: 0, WIS: 0, CHA: 1 }, speed: 30, notes: null },
|
||||
TIEFLING: { key: 'TIEFLING', name: 'Tiefling', abilityBonuses: { STR: 0, DEX: 0, CON: 0, INT: 1, WIS: 0, CHA: 2 }, speed: 30, notes: null },
|
||||
HALF_ORC: { key: 'HALF_ORC', name: 'Half-Orc', abilityBonuses: { STR: 2, DEX: 0, CON: 1, INT: 0, WIS: 0, CHA: 0 }, speed: 30, notes: null },
|
||||
ORC: { key: 'ORC', name: 'Orc', abilityBonuses: { STR: 2, DEX: 0, CON: 1, INT: 0, WIS: 0, CHA: 0 }, speed: 30, notes: null },
|
||||
};
|
||||
|
||||
module.exports = { SPECIES };
|
||||
Reference in New Issue
Block a user