Prompt file imported from byron123t/cobblemon (
.codex/prompts/generate-npc.md). Copyright stays with the author.
Generate One NPC
Use for a single Easy NPC preset.
- Read
AGENTS.md,docs/npc-generation-playbook.md,docs/command-reference.md, andtemplate.npc.snbt. - Clone
template.npc.snbt; do not write a minimal SNBT skeleton. - Preserve template formatting, static
SkinData.UUID, staticON_INTERACTION, and full export fields. - Set
PresetMetadata.nameto the UUID string,CustomNameto the visible name, and entityUUID/PresetUUIDto Java signed int-array form. - Write natural dialog branches with personality, opinions, and real player choices.
Textsis a random selection list, not a sequence; use one complete text or independent alternatives. For IMPORTANT CHARACTER NPCs, use multiple independent randomTextson major greeting/stage dialogs. - Treat
Priority/Conditionsas top-level routing only. - Use
ExecAsUser:1bplus@sfor interacting-player commands; never use@initiatoror@npcinCmd:"/...". - Gate 1/lifetime rewards with top-level already-claimed routing and Easy NPC
SCOREBOARDset/increase actions. Gate 1/day events withEXECUTION_LIMITusingText:"PER_DAY",Type:"EXECUTION_LIMIT",Value:1. Keep claim button actions straightforward: give, scoreboard only when needed for lifetime/progress state, open result dialog. Do not use/scoreboardcommands inside Easy NPC action lists. UsePLACEHOLDER_IDonly inside commands/notes when an item id is unknown. - Run
powershell -ExecutionPolicy Bypass -File .\scripts\Test-ProjectText.ps1.
Return generated file path, validation result, and any item/command test notes.
