Story API functions for tagged content #62
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
More external-facing functions are needed for external game engines to embed Hank games and do cool stuff with them.
Tag
tagFilter is in the form of a boolean expression like
"content && !hidden"which gets parsed in a littleHankInterpwhose variables are initialized with `[tagName] = {true or false} and undefined == false.Either returns next text frame that satisfies tag filter (skipping others), or
HasChoices()filtered by tagFilter orNoMatchingContent