inkle / inkle/ink

Getting the remaining child number of a passage.

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

Description

Hi,

Is there any way, using Ink, to know the number of possible remaining passages of a story?

Let say my story looks like this with A being the first passage of the story :

> A-->B-->END
> |-->C-->F-->G-->H-->END
> |-->D-->E-/

On A I'd like to know that a maximum of 4 passages (C->F->G-H) and a minimum of 1 passage (B) remain.
On F the min and max remaining value would be 2 (G->H).
On B the min and max remaining value would be 0 (B has no child).

Is there any built-in feature in Ink that can do something like that. If no, can you please tell me where I should look at in the code to start working on such a feature?

Thanks.

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.