Flags and numbers

Last edit 26 Jul 2026, 21:21History

Flags are booleans. Numbers are integers. Both live on the player's story progress and survive chapter changes.

Flags

ink
~ SetStoryFlag("met_her_parents")
~ RemoveStoryFlag("met_her_parents")

Branch on them:

ink
{
    - GetStoryFlag("met_her_parents"):
        * Ask about dinner
            -> dinner
    - else:
        * Keep it chill
            -> chill
}

Name status emoji

In Studio → Characters you can map a flag to an emoji. When that flag is set, the emoji shows after their name in Messages / chat header (1:1, first match wins). Handy for relationship state without writing it into every line.

Choice route badges

Design tab can map flag names to emojis for choice buttons:

ink
* (ntr_route) Do it

See Choices.

Numbers

ink
~ SetStoryNumber("suspicion", 0)
~ AddStoryNumber("suspicion", 1)
ink
{ GetStoryNumber("suspicion") >= 3:
    She knows.
    -> caught
}

FansOnly can treat one story number as real currency for subscribe/tip costs. See FansOnly.

Shared everywhere

Main Whapp, side conversations, TheGram DMs, FansOnly DMs, and Swiper DMs all read/write the same flags and numbers. Only the Ink savedState (knot position, etc.) is local to each channel.

Don't spoil yourself in saves

Flag names can show up in creator tooling. Players don't see raw flag dumps in the chat UI, but still: name them clearly for you, not as joke spoilers you might flash in a debug screen later.

Official Sexter creator documentation. Older Unity / SmGF folder-mod docs remain at docs.unzipped.games. Creator Corner is for community models and production workflows.