inkle / inkle/ink

Saving JSON story state right after choices and opening the story back continues from the pre-choice line

Open
#479 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.9k
Forks
540
PR merge metrics
No merged PRs in 30d

Description

We have faced an interesting issue. If we display a line of text before a set of choices and save immediately after choosing something, it starts with that pre-question line when loading. It looks like:

```
What do you want to eat?
* Fish
You eat fish. It's tasty
* Meat
You eat meat. It's meaty
* Vegetables
You eat vegetables. It's healthy
```

If we answer "fish", save and quit, Ink will display this at the next startup:

```
What do you want to eat?
You eat fish. It's tasty
```

It will display the question without choices, it will just continue to the next line down the path of the choice which was made before saving
Is it intentional by design?
Right now we ad-hocked a nasty solution where we force-continue the story if we have saved right after the choice so it skips the first line (pre-question) and goes down the choice line immediately

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.