• Home
  • Blog
  • Gallery
  • Pricing
  • Home
  • Blog
  • Gallery
  • Pricing
Start creating

Create.Play.

Creator blog

Home/Blog/Interactive Fiction Design

Conditional Text in Interactive Fiction: Keeping Classifiers, Negation, and Connectives in Order

Whether conditional fragments form a coherent Chinese sentence depends on which fragment owns each grammatical element. Using a fictional example of whether a backpack contains a lantern and a cloak, this guide assigns classifiers, negation, and connectives to specific components, then expands every permitted state combination into a reusable sentence assembly template.

D
DramaFork Editorial TeamInteractive storytelling and AI production
2026.10.13Estimated reading time: 17 min
Cinematic editorial illustration: blank paper pieces of different shapes surround a backpack, a cloak, and a lantern.
Article contents
Creator blog
  1. 01Introduction
  2. 02Define the states before splitting the sentence
  3. 03Keep classifiers and negation with the elements they depend on
  4. 04A reusable template: the frame owns the location; slots supply complete predicates
  5. 05Expand all four combinations before choosing connectives
  6. 06Check by reconstructing the states, and enlarge replacement units when dependencies demand it
Back to article top

Introduction

To keep conditional fragments from clashing, first define what each slot may accept: classifiers stay with their item phrases, negation stays with the predicate it governs, and one clearly defined layer owns the connectives. The shared sentence frame should contain only elements that hold true in every state. Once the fragments are written, expand every permitted combination into a complete sentence and check what a reader would understand. Checking that each fragment reads well on its own is not enough.

The following walkthrough uses whether a backpack contains a lantern and a cloak. This is a fictional teaching example, not an actual user case, a measured result, or a DramaFork product feature. It does not depend on any particular engine. The grammatical examples concern Chinese text; English glosses explain their meaning.

Define the states before splitting the sentence

This example describes only the items inside the backpack, not what the character is wearing. The light source is specifically a lantern. The lantern and cloak each have just two states: absent or one present. That gives four permitted combinations. The backpack may contain other items, so the absence of both does not mean it is empty.

First, write down the facts to express: the lantern is or is not in the backpack, and the cloak is or is not in the backpack. Do not introduce “还” (still/yet), “已经” (already), or “终于” (finally) at this stage. These words can imply timing or expectations that the current state does not establish.

A poor draft might split the text into “背包里” (in the backpack) + “还没有” (does not yet have) + “一件” (one, with a classifier) + an item name + “,也” (a comma followed by “also”) + another item name. The result is the malformed sentence “背包里还没有一件灯,也披风”. This is more than an awkward sentence: “件” is not the appropriate classifier for the lantern here, “也” lacks a following predicate, and it is unclear which item or items “没有” negates.

The revision should give each of the four states an unambiguous reading. There is no need to maximize the text shared by all sentences. Reducing the number of fragments cannot replace checking their meaning.

Keep classifiers and negation with the elements they depend on

Store “一盏提灯” (one lantern) and “一件披风” (one cloak) as complete item phrases. Do not leave “一件” in the shared frame. This makes the classifier change along with the item. Treating these phrases as indivisible is an editing convention for this template, not a claim that Chinese classifiers can never be shared.

Affirmative and negative forms do not need identical wording, either. Here, the affirmative is “有一盏提灯” (there is a lantern), and the negative is “没有提灯” (there is no lantern). Do not force the negative into “没有一盏提灯” merely to reuse “一盏”. That version can emphasize the quantity—roughly, not even one lantern—which may not suit a plain inventory description.

Can “没有” appear before several items? If the entire passage clearly states that both are absent, use “既没有提灯,也没有披风” (there is neither a lantern nor a cloak) and maintain it as a single unit. If the two items change state independently, let each clause own its negation so that a shared “没有” cannot accidentally govern a later affirmative item.

In particular, never treat “没有” (does not have) and “不只有” (contains more than just) as interchangeable fragments. “背包里不只有提灯” means the backpack contains something besides the lantern, not that the lantern is missing. Before setting fragment boundaries, establish whether the negation concerns existence, quantity, or a restriction.

A reusable template: the frame owns the location; slots supply complete predicates

Start with a deliberately plain version that is easy to review. The fixed frame is: 背包里,{提灯分句};{披风分句}。 Its meaning is: In the backpack, {lantern clause}; {cloak clause}. Both slots must supply complete predicates, and neither may be empty.

Component Permitted content Grammatical dependencies and ownership
Fixed frame 背包里,甲;乙。 (In the backpack, A; B.) Owns the shared location, order, and punctuation
Lantern clause 有一盏提灯 (there is a lantern) / 没有提灯 (there is no lantern) Owns the existence statement and its negation
Cloak clause 有一件披风 (there is a cloak) / 没有披风 (there is no cloak) Owns the existence statement and its negation
Affirmative item phrases 一盏提灯 (one lantern) / 一件披风 (one cloak) Quantity, classifier, and item name are replaced together
Connection A fixed semicolon Slots do not bring their own “也” (also), “但” (but), or “而且” (and/furthermore)

Each slot selects one candidate solely from its own item's state. The indivisible fragments are the two affirmative item phrases and the negative predicates “没有提灯” and “没有披风”. Slots contain no sentence-final punctuation; the frame closes the sentence.

To use different items, copy this arrangement: a fixed location plus two required predicate slots; affirmative and negative candidates for each slot; complete quantities and classifiers in the affirmative candidates; and an explicit negation of existence in the negative candidates. Replace an entire set of candidates before expanding the combinations.

The semicolon version has a tradeoff: it reads like a checklist. It suits inventory checks and status messages where precision comes first. For an emotionally charged character monologue, keep separate versions of complete sentences if needed. The narration does not have to fit one short frame.

Expand all four combinations before choosing connectives

The following is a manually expanded editorial demonstration based on the fictional setup, not software output or test results.

Lantern state Cloak state Complete sentence
Present Present 背包里,有一盏提灯;有一件披风。 / In the backpack, there is a lantern; there is a cloak.
Present Absent 背包里,有一盏提灯;没有披风。 / In the backpack, there is a lantern; there is no cloak.
Absent Present 背包里,没有提灯;有一件披风。 / In the backpack, there is no lantern; there is a cloak.
Absent Absent 背包里,没有提灯;没有披风。 / In the backpack, there is no lantern; there is no cloak.

All four sentences separately answer whether the lantern and cloak are present. The last reports only that those two items are absent; it does not broaden the claim to “there is nothing”.

If the repetition feels excessive, add another layer that selects a complete sentence pattern from the two states. When both are present: “背包里有一盏提灯和一件披风” (the backpack contains a lantern and a cloak). With only the lantern: “背包里有一盏提灯,没有披风” (the backpack contains a lantern and no cloak). With only the cloak: “背包里没有提灯,有一件披风” (the backpack contains no lantern and one cloak). With neither: “背包里既没有提灯,也没有披风” (the backpack contains neither a lantern nor a cloak).

In this arrangement, the complete sentence owns “和” (and) or “既……也……” (here, neither…nor…). Item phrases no longer contain hidden connectives. Do not let the frame add “也” and then have a slot add it again. Nor should “但” (but) automatically appear whenever one item is present and the other absent. Different states alone do not establish a need for contrast.

Check by reconstructing the states, and enlarge replacement units when dependencies demand it

Before delivery, check in this order: list every permitted state, select the corresponding fragments, write the complete sentence, and reconstruct the states from that sentence alone. Reading “没有提灯,有一件披风” should yield lantern absent, cloak present. If the author must explain where the negation ends, rewrite the sentence.

Next, check four interfaces: whether classifiers match their nouns, whether negation crosses clause boundaries, whether connectives are repeated or missing a required counterpart, and whether empty slots leave dangling punctuation. This template forbids empty slots. If a future version allows an item to be hidden, create a separate single-item frame instead of merely deleting the item name.

For a sentence such as “不是没有提灯,而是没有灯油” (it is not the lantern that is missing, but the lamp oil), preserve complete clauses or even the whole sentence. Its meaning depends on both the corrective relationship and the relationship between the items. Splitting it into independent switches can easily change that meaning. Smaller fragments make individual pieces of wording easier to maintain, but they also create more dependencies to check.

This template covers only a fixed location, two item types, and explicit present-or-absent states. Multiple items, unknown states, a character's mistaken judgment, or changes over time require additional candidates and combinations. “Unknown” cannot become “absent”, and current absence alone cannot become “not found yet”. The acceptance criterion remains whether the complete sentence accurately reconstructs the facts this particular setup permits you to express.

Explore product capabilities Play interactive stories
PLAY / DISCOVER

Play what you just read

Browse the works index
Text game

Memory Black Market

Run an illegal memory clinic and decide whose life to preserve while clients, hunters, and conscience close in.

Character IP

Jordan Blake

Wants space usable by everyone, yet schedules by the loudest demand.

Character IP

Sharp-Tongued Alchemy Senior Sister

She tests pills on herself first, then decides if you are worth the recipe.

Character IP

Xu Zhidong

Wants to open her own studio, but fears every offer of help becomes a debt.

Continue reading

Browse more articles
A horizontal, cinematic editorial illustration: a bell tower, an extinguished window light, and a figure rising indoors are…
Interactive Fiction Design2026.10.13 · 17 min

Multiple Events in One Text Adventure Turn: Keeping Paragraph Order from Implying a Timeline

Establish how events relate in time before deciding the order in which readers encounter them. A turn-output outline that records timing, transitions, causal evidence, and supported inferences helps keep simultaneous changes from reading as cause and effect.

Cinematic editorial illustration: blank paper strips form a continuous arc across a desk, with one segment pulled out for…
Interactive Fiction Design2026.10.13 · 17 min

Interactive Fiction: Keeping Sentences Connected After a Click Replaces Part of a Sentence

When a local text replacement makes a passage stop making sense, neighboring sentences are often still relying on facts from the old version. Use a local replacement continuity card to track the replacement slot, surrounding sentences, referents, and words whose assumptions no longer hold, then read the full paragraph in different click orders.

Cinematic editorial illustration: a letter secured by a display clip rests under a spotlight.
Interactive Fiction Design2026.10.13 · 18 min

Typewriter Text in Interactive Fiction: Avoiding Misjudgments from Incomplete Negation

When text appears character by character, actions should become available only after the relevant negation, contrast, and restrictions have been fully conveyed. A semantic breakdown of the reveal script should separately mark when the information is complete, when an action can be performed, and what information must remain when the reveal animation is skipped.

From a story to a playable world.

Create interactive narrative games with DramaFork: connect scripts, characters, shots, and choices into a playable first version.

Content directories

  • Creator blog
  • Story topics
  • Article archive
  • Works index

Explore

  • Playable gallery
  • Text game
  • Character IP

Legal

  • Privacy
  • Terms
  • Cookies
© 2026 DramaFork/DramaFork · Interactive narrative games
Press Enter to send, or drag away and release.