A guide to using the story token replacer application.
The Story Builder is a simple application that lets you create dynamic stories by using tokens as placeholders. You can define your own tokens and their corresponding values. When the story is generated, the tokens are automatically replaced, allowing for creative and personalized narratives.
You can create a new token in one of two ways:
character_name) and a value (e.g., Alice) and clicking "Add Token".[token_name]=value (e.g., [character_name]=Alice). Then click the "Extract Inline Tokens" button.
To use a token in your story, simply type the token name inside square brackets, like so: [token_name]. For example, [character_name] will be replaced with the value you assigned to it.
Tokens support special syntax for more dynamic content.
To have the app randomly select a value from a list, simply provide a comma-separated list of values. For example, a token named character_name with the value Alice, Bob, Carol will be replaced with one of those three names randomly.
To generate a random integer within a specific range, use the format [random low-high] directly in your story. For example, [random 1-100] will be replaced with a random number between 1 and 100. This special token does not need to be added to the token list.
To change the text color, specify it like [color red] or [color #FB99C5] directly in your story. This special token does not need to be added to the token list.
Also supported: [effect throb][effect bold] and [effect none]
[name]=value from the story box, add them to your token list, and then remove them from the story. It will also add any undefined tokens to the list with a blank value.