54 lines
2.9 KiB
Markdown
54 lines
2.9 KiB
Markdown
---
|
|
name: ttrpg-lore-weaver
|
|
description: TTRPG worldbuilding, lore organization, dynamic workspace scanning, and character visual generation using Stable Diffusion.
|
|
disable-model-invocation: false
|
|
category: Creative
|
|
risk: safe
|
|
tags:
|
|
- ttrpg
|
|
- lore
|
|
- obsidian
|
|
- stable-diffusion
|
|
---
|
|
|
|
# TTRPG Lore Weaver
|
|
|
|
## Purpose
|
|
|
|
To guide the creation, organization, and visual design of TTRPG lore, characters, and settings, integrating dynamic workspace analysis and image generation rules.
|
|
|
|
## When to Use
|
|
|
|
Use when generating lore documents, writing character sheets, designing setting hooks, or running stable diffusion image generation pipelines for your custom TTRPG campaign.
|
|
|
|
## Step-by-Step Workflow
|
|
|
|
### Phase 1: Workspace Structure Analysis
|
|
Before generating any lore files or suggesting edits:
|
|
1. **Scan the Directory Structure**: Inspect the active workspace. Determine if running in the root project directory `hbm-books` or inside the `ObsidianNotes` subfolder.
|
|
2. **Detect Folders**: Check for the presence of folders like `npcs`, `lore`, `locations`, `rules`, `items`, `spells`.
|
|
3. **Action**:
|
|
- If directories are structured correctly, proceed.
|
|
- If files are misplaced or missing organization, suggest explicit folder structure modifications to the user before writing content.
|
|
|
|
### Phase 2: Tone & Thematic Anchors
|
|
Use these **Leading Words** to keep writing consistent:
|
|
- *Homebrew Magic*: Modern day, high fantasy, rule-bending, experimental mechanics.
|
|
|
|
### Phase 3: Character Sheet Integration
|
|
When generating a new NPC or Player Character sheet:
|
|
1. **Write Content First**: Generate the markdown file containing stats, attributes, and lore text.
|
|
2. **Visual Generation**: Build the prompt based on character features.
|
|
- **AutismSDXL Syntax**: Use Danbooru-style tags. Translate descriptors (e.g., `1girl, female elf, dark leather armor, holding dagger, long silver hair`).
|
|
- **Negative Prompt**: Apply the strict negative prompt:
|
|
`score_5_up, score_4_up, source_furry, source_pony, 3d, photo, realistic, lowres, text, error, cropped, worst quality, low quality, jpeg artifacts, blurry, signature, watermark, username, artist name, deformed, disfigured`
|
|
3. **Execute Stable Diffusion**: Run the image generation tool to save the portrait as a `.webp` file under:
|
|
- `content/assets/images/characters/CharacterName_Full.webp` (or `ObsidianNotes/_assets/images/characters/` depending on workspace path).
|
|
4. **Markdown Injection**: Inject the image reference at the top of the markdown file:
|
|
`` (use path relative to the markdown file's folder).
|
|
|
|
### Phase 4: Progressive Disclosure
|
|
To prevent lore documents from getting bloated:
|
|
- Maintain core overview sheets at under 500 lines.
|
|
- Offload long histories, world atlases, and pantheons to a `references/` subdirectory or separate Markdown files, linking them via standard Markdown links.
|