# Character Races System

The character races system manages the 21 playable races in EverQuest II that can be used by both player characters and NPCs.

## Overview

This package handles character race definitions, including:
- Race IDs and names for all 21 playable races
- Alignment classifications (good, evil, neutral)
- Race-based stat modifiers and bonuses
- Starting location information
- Race compatibility and restrictions

## Why Not Under /internal/player?

While these are "player races" in the sense that they're the races players can choose at character creation, this package is used by the Entity system which is inherited by both:
- **Players**: For character creation and race-based mechanics
- **NPCs**: For humanoid NPCs that use player race models (e.g., Human_NPC, Dwarf_NPC, etc.)

The Entity system (`internal/entity`) references races for stat calculations, spell bonuses, and other race-based mechanics that apply to both players and NPCs.

## Relationship to Race Types

This package is distinct from the NPC race types system (`internal/npc/race_types`):
- **Character Races** (this package): The 21 playable races (Human, Elf, Dwarf, etc.)
- **Race Types** (`internal/npc/race_types`): Creature classifications (Dragon, Undead, Animal, etc.)

An NPC can have both:
- A character race (if it's a humanoid using a player race model)
- A race type (its creature classification for AI and combat mechanics)