insertnamehere
Really Really Experienced
I think enumerations would be useful in game mode stories, particularly to track states that cannot be represented by booleans. I realise this is perfectly achievable with integer variables, but for that reason, I assume it would be a fairly simple implementation.
For those who don't know, an enumeration is a variable that represents one of a set of options. For example, an enumeration of the suits would be defined as {Hearts, Diamonds, Spades, Clubs}. You could then have a variable of that enumeration (e.g. called currentCardSuit) and set it to one of those four options, read its current value and change it, the same way you can read and change a numeric variable.
Game mode stories often have to track states of characters, items and relationships. This would improve maintainability and readability of game mode syntax by skipping the need of the author to relate states to numbers. Most importantly, however, enumerated variables could be made visible to the reader, allowing stories to display text information in the game mode panel without needing to store it in variable names as booleans - which becomes quite unwieldy, as you need to ensure that exactly one of those booleans is True at every relevant point in the story.
For those who don't know, an enumeration is a variable that represents one of a set of options. For example, an enumeration of the suits would be defined as {Hearts, Diamonds, Spades, Clubs}. You could then have a variable of that enumeration (e.g. called currentCardSuit) and set it to one of those four options, read its current value and change it, the same way you can read and change a numeric variable.
Game mode stories often have to track states of characters, items and relationships. This would improve maintainability and readability of game mode syntax by skipping the need of the author to relate states to numbers. Most importantly, however, enumerated variables could be made visible to the reader, allowing stories to display text information in the game mode panel without needing to store it in variable names as booleans - which becomes quite unwieldy, as you need to ensure that exactly one of those booleans is True at every relevant point in the story.