{"tab":"ai","section":"generateLocationDetails","title":"Location Details","summary":"Generates location descriptions, areas, and paths. Low priority: a well-written basicInfo carries most of the load. Use custom to add sensory layers, archetype integration rules, and atmosphere guidance.","kind":"schema","uiLocation":"AI Tasks → Location Details","uiSubtitle":"\"Location Details Instructions\"","editor":"Graphical form (labeled textareas)","related":[{"section":"locations","note":"the location records this task operates on"},{"section":"locationArchetypes","note":"archetypes this task draws from"}],"wikiUrl":"/ai/generateLocationDetails","schema":null,"sizeLimits":[{"id":"aiInstructionIndividual","group":"AI Instructions Limits","label":"Each string leaf under a task (`aiInstructions.<task>.<key>`)","measure":"rawChars","enforced":5000,"display":5000,"sections":["ai/aiInstructions","ai/generateStory","ai/generateInitialStart","ai/generateCharacterBackground","ai/generateNPCDetails","ai/generateNPCUpdates","ai/generateLocationDetails","ai/generateRegionDetails","ai/generateFactionDetails","ai/generateEncounters","ai/generateItemGenerationAndUsage","ai/generateActionInfo","ai/generateNPCIntents","ai/generateNewNPC","ai/generateLearnedAbilities"]},{"id":"aiInstructionPerTask","group":"AI Instructions Limits","label":"Per task (`aiInstructions.<task>` total, sum of instruction chars)","measure":"rawChars","enforced":20000,"display":20000,"sections":["ai/aiInstructions","ai/generateStory","ai/generateInitialStart","ai/generateCharacterBackground","ai/generateNPCDetails","ai/generateNPCUpdates","ai/generateLocationDetails","ai/generateRegionDetails","ai/generateFactionDetails","ai/generateEncounters","ai/generateItemGenerationAndUsage","ai/generateActionInfo","ai/generateNPCIntents","ai/generateNewNPC","ai/generateLearnedAbilities"]}],"blocks":[{"type":"example","lang":"json","code":"{\n  \"aiInstructions\": {\n    \"generateLocationDetails\": {\n      \"custom\": \"## First Entry\\nEstablish three layers on entry: what the player sees, what they hear, what the atmosphere feels like. One detail per layer — weave them into the description, don't list them.\\n\\n## Archetype Integration\\nThe location archetype is the generative spine. Every area should express a different facet of its core tension.\"\n    }\n  }\n}"},{"type":"prose","md":"## Fields\n\n### custom\n\nThe only key — free-form rules layered on top of each location's `basicInfo`."},{"type":"prose","md":"## Authoring pattern\n\nCover in `custom`:\n\n- Three sensory layers on first entry: sight, sound, atmosphere — one detail each, woven into the prose.\n- `detailType` interpretation guidance for your world's location archetypes.\n- Atmosphere rules specific to location types (e.g. how dungeons feel vs. cities vs. wilderness)."}],"body":"## Example\n\n```json\n{\n  \"aiInstructions\": {\n    \"generateLocationDetails\": {\n      \"custom\": \"## First Entry\\nEstablish three layers on entry: what the player sees, what they hear, what the atmosphere feels like. One detail per layer — weave them into the description, don't list them.\\n\\n## Archetype Integration\\nThe location archetype is the generative spine. Every area should express a different facet of its core tension.\"\n    }\n  }\n}\n```\n\n## Fields\n\n### custom\n\nThe only key — free-form rules layered on top of each location's `basicInfo`.\n\n## Authoring pattern\n\nCover in `custom`:\n\n- Three sensory layers on first entry: sight, sound, atmosphere — one detail each, woven into the prose.\n- `detailType` interpretation guidance for your world's location archetypes.\n- Atmosphere rules specific to location types (e.g. how dungeons feel vs. cities vs. wilderness)."}