Files
the-sunken-reach/frontend/src/lib/speciesIcons.ts
T
joshuaandClaude Opus 5.5 18d9e7301c V1.23.0: every subclass, 43 species, the Artificer, and the road to level 20
- All 123 official subclasses (2014 books and the 2024 Player's Handbook), each
  with its book and features up to level 20; one file per class
- The builder has a subclass step after the class: pick one, let a die suggest
  one, or decide later; its gifts arrive at the class's choice level
- 2024 updates (Wild Heart, Warrior of the Elements) offer a one-click switch
- The Road Ahead: a level 1-20 timeline on every sheet and in the builder
- 33 new species (2024 Aasimar and Goliath, Monsters of the Multiverse) with
  chosen +2/+1 or +1/+1/+1 bonuses; species roll is now a d8 by family
- The Artificer: class, half-caster slots from level 1, features, Flash of Genius
- Class tables and counters run to level 20; a fifth Boon, Resolve

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 16:02:51 +02:00

53 lines
1.1 KiB
TypeScript

import type { Species } from '../api/types';
// Quick visual identification in lists/tables — purely decorative.
export const SPECIES_ICONS: Record<Species, string> = {
HUMAN: '🙂',
HALF_ELF: '🧝',
ELF: '🧝‍♀️',
GNOME: '🍄',
DWARF: '⛏️',
HALFLING: '🌾',
DRAGONBORN: '🐉',
TIEFLING: '😈',
HALF_ORC: '🪓',
ORC: '👹',
AASIMAR: '😇',
GOLIATH: '🏔️',
AARAKOCRA: '🦅',
BUGBEAR: '🐻',
CENTAUR: '🐎',
CHANGELING: '🎭',
DEEP_GNOME: '💎',
DUERGAR: '⚒️',
ELADRIN: '🍂',
FAIRY: '🧚',
FIRBOLG: '🌲',
AIR_GENASI: '🌬️',
EARTH_GENASI: '🪨',
FIRE_GENASI: '🔥',
WATER_GENASI: '🌊',
GITHYANKI: '⚔️',
GITHZERAI: '🧘',
GOBLIN: '👺',
HARENGON: '🐇',
HOBGOBLIN: '🛡️',
KENKU: '🐦‍⬛',
KOBOLD: '🦎',
LIZARDFOLK: '🐊',
MINOTAUR: '🐂',
SEA_ELF: '🐚',
SHADAR_KAI: '🌑',
SHIFTER: '🐺',
TABAXI: '🐆',
TORTLE: '🐢',
TRITON: '🔱',
YUAN_TI: '🐍',
OWLIN: '🦉',
SATYR: '🐐',
};
export function speciesIcon(species: Species | null): string {
return species ? SPECIES_ICONS[species] || '❓' : '❓';
}