https://gitlab.synchro.net/main/sbbs/-/commit/1d9c4ea86b394c61ccc19486
Modified Files:
src/doors/clans-src/quests/prompt.md src/doors/clans-src/src/news.c
Log Message:
Expand quest prompt with engine behavior docs; fix news.c fgets truncation
Prompt changes based on LLM feedback from a quest generation session:
- Document daily limits (4 chats/day, MaxTopics per session)
- Recommend splitting chat files for packs with 8+ NPCs
- Add devkit tool argument order table (only makepak is reversed)
- Add flag table stub as explicit step 3 in generation order
- Expand AddEnemy (group combat, max 20), Display (PAK aliases,
.ans vs .asc rendering, 80x22 art limit), Pause (expressive use),
EndChat (daily chat cost, automatic pause, P-flag pattern),
GiveItem (unknown item error), Chat (recursive nesting),
TellTopic (works from IntroTopic on current NPC), JoinClan
(daily only — nightly maintenance releases all NPC members),
AddNews (%L for multi-line entries, double-newline separation)
- Correct Loyalty description (anti-poaching gate, not departure)
- Add cross-NpcFile flag scope note (all flags are global)
- Document HereNews as static string (no ACS conditions)
- Add /a/ alias convention for Display art files
- Expand special sequences table (%L, %R, %D, %B)
- Document Index/Event mismatch as fatal crash
- Confirm "Context: all" includes Topic blocks explicitly
- Note file extensions are conventional, not enforced
- Document 80x24 terminal dimensions and 22-line pagination
Bug fix: news.c fgets read limit was 255 in a 256-byte buffer,
truncating the last character of max-length AddNews strings.
Co-Authored-By: Claude Opus 4.6 <
noreply@anthropic.com>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net