Header ‐ important passages - rvince452/twine-game-gen GitHub Wiki

There are some passages that are "special". I place these in a file named 00_header.twee - obviously you can name it anything or place passages however you wish. See special-passages-guide.md for some AI-generated documentation.

Special passages of note are StoryTitle, StoryAuthor, StoryBanner and StoryDisplayTitle.

But there is one more critical one named StoryData. It declares the Twine version that you are using and Tweego must have this version as well so it can compile. More importantly there is a unique ifid identifier and that should be unique. To obtain a unique identifier, you can search the web for various generators. For example see https://www.uuidgenerator.net/guid

There is another important element of StoryData, it is named "start" and the value should be the name of the starting passage. I have named my simply "Start". You will see that I do have a passage named Start in a different .twee file.

:: StoryTitle
General Game



:: StoryData

{

  "ifid": "ENTER YOUR GUID HERE",
  "format": "SugarCube",
  "format-version": "2.30.0",
  "start": "Start",
  "tag-colors": {
    "REVIEW": "orange",
    "UNUSED": "yellow",
    "EXAMPLE": "purple",
    "MAIN": "green"
  },
  "zoom": 0.6
}