I have text saying, for instance, “you can move your king to b8, c8, c7 and c6.” But it would technically be more grammatically accurate to say “you can move your king to b8, c8, c7 or c6.”
So I have this code comparing the shorthand “list of adjacent rooms” with something longer. But what I’m wondering is, is there shorthand Inform 7 that says “[list of adjacent rooms with conjunction = or]”?
every turn: say "[list of adjacent rooms]."; let x be number of adjacent rooms; let count be 0; repeat with rm running through adjacent rooms: increment count; say "[rm]"; if count < x - 1, say ", "; if count is x - 1, say " or "; say ".";