These values are valid throughout every script that is importing
PGStoryMode.lua. It is advised to not change them unless you know exactly what you are doing.
ScriptPoolCount = 0
Initialises the story mode. It is a wrapper around the
Define_State(...) function that ensures a valid setup for story scripts. It will use the
StoryModeEvents table that has to be defined in every story script to initialise valid states.
Advances the story state if a given event has been triggered.
string name: The story event name.