V1.0.1: Aldenfell campaign seed, content library, party overview
- Seed now resets the database and seeds the Aldenfell campaign from the campaign book: admin DM user, default weapons, locations, bestiary, pre-built encounters, and DM/shared notes - Default weapon/spell/monster library, character profile fields, locations and dice mode (new migration) - Party overview page, pagination, info tips, build preview calc - Remove stale demo-login hint; notes preserve line breaks Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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: '👹',
|
||||
};
|
||||
|
||||
export function speciesIcon(species: Species | null): string {
|
||||
return species ? SPECIES_ICONS[species] || '❓' : '❓';
|
||||
}
|
||||
Reference in New Issue
Block a user