added npc images to API and frontend
This commit is contained in:
@@ -225,6 +225,7 @@ Main NPC definition with personality and dialogue data for AI generation.
|
||||
| `location_id` | str | ID of location where NPC resides |
|
||||
| `personality` | NPCPersonality | Personality traits and speech patterns |
|
||||
| `appearance` | NPCAppearance | Physical description |
|
||||
| `image_url` | Optional[str] | URL path to NPC portrait image (e.g., "/static/images/npcs/crossville/grom_ironbeard.png") |
|
||||
| `knowledge` | Optional[NPCKnowledge] | What the NPC knows (public and secret) |
|
||||
| `relationships` | List[NPCRelationship] | How NPC feels about other NPCs |
|
||||
| `inventory_for_sale` | List[NPCInventoryItem] | Items NPC sells (if merchant) |
|
||||
|
||||
Reference in New Issue
Block a user