I’ve run into a strange issue while trying to combine [run paragraph on]
with [paragraph break]
. (I’m using 6M62, if that matters.) Here’s a minimal example to show what’s going on:
"Test"
The Adventure Lab is a room.
A-testing is an action applying to nothing. Understand "a" as a-testing.
Carry out a-testing:
say "[c-test] Okay.[paragraph break]";
say "Here we go."
B-testing is an action applying to nothing. Understand "b" as b-testing.
Carry out b-testing:
say "Okay.[paragraph break]";
say "Here we go."
To say c-test: say "Let's do this.[run paragraph on]"
This produces the following output:
>a
Let's do this. Okay.
Here we go.
>b
Okay.
Here we go.
What I expected was that [run paragraph on]
would have an effect only at the point where it appears, preventing the line break that would otherwise appear after “Let’s do this.” Instead, it seems to be spreading its effect over the whole paragraph, somehow cancelling out the [paragraph break]
that appears later. The desired output would be:
>a
Let's do this. Okay.
Here we go.
The documentation, as usual, is a little vague about how exactly these spacing commands work. My usual recourse at this point is to look in the Standard Rules, but the spacing commands are just defined there by calling an I6 routine, and tracing them further is beyond my skill. However, there should be some way to prevent a paragraph break after one sentence and force a paragraph break one sentence later. What gives?