I want to have all the NPCs listed in a separate line in the room description, so I can give them actions. Example:
I saw an example once for something similar, but I can’t think of what keyword to search on. How do I get a separate line in room descriptions, preferably before listing contents, where I can call out NPCs, and give them bonus text? Corollary: How do I remove NPCs from the list of room contents?
Rule for writing a paragraph about Darcy:
Say "You can see Darcy here.";
Now Darcy is mentioned.
Rule for writing a paragraph about a person (called the NPC):
Say "You can see [the NPC] here.";
Now the NPC is mentioned.
Rule for writing a paragraph about a dancing person (called the NPC):
Say "You can see [the NPC] dancing with wild abandon.";
Now the NPC is mentioned.
However, I don’t know how to group several NPCs together in one separate listing, without “messing with the rules”, because that’s changing the standard format.
The “rule for writing a paragraph about” does this; if your rule for writing a paragraph about Nancy also mentions Jared, then neither Nancy nor Jared will appear in the “You can also see” listing. See the bit of the documentation zarf linked.
Yes, but he seemed to mean writing an automated section. …but later I figured it could be done with “Repeat with NPC through every person in the location:” lines, so you don’t need to change rules for that.