Returns some text selected from a set of predefined values. When called multiple times, this returns each one of the values in their specified order, then it loops back to the first value again.
An optional name used for controlling internal state. When omitted, weave automatically generates a globally unique name. Commands with the same name will share internal state.
Express an integer in plain english ( aka a cardinal number ).
For example, given the number `12` return the text "tweleve".
It converts floating point numbers to integer by truncating:
given `1.6`, it returns "one".
The [story.Execute] version prints the text for the player.
Returns some text selected from a set of predefined values. When called multiple times, this returns each one of the values in a randomized order. After returning all of the available options, it begins again with a new ordering.
An optional name used for controlling internal state. When omitted, weave automatically generates a globally unique name. Commands with the same name will share internal state.
Returns some text selected from a set of predefined values. When called multiple times, this returns each of its inputs in turn. After returning all of the available options, it sticks to using the last option.
As a special case, if there was only ever one option: it returns that option followed by nothing ( the empty string ) forever after.
An optional name used for controlling internal state. When omitted, weave automatically generates a globally unique name. Commands with the same name will share internal state.