SugarCube v2.30.0

SugarCube v2.30.0 has been published.

Downloads & documentation for all Twine/Twee compilers:

Changelog highlights:

  • Fixed an issue with story identifier generation that could, rarely, result in player data loss. This supersedes a previous fix made in v2.29.0 that caused issues for stories whose titles contained no characters from the basic Latin set.
  • Added the Config.passages.onProcess setting, which allows for custom text processing of passages.
  • Added the State.metadata.size API getter, which returns the number of metadata entries.
  • Added local documentation entries for additional Array natives: <Array>.concat(), <Array>.push(), <Array>.unshift().
  • Updated the Config.saves.autosave setting so that it accepts function values and deprecated its acceptance of string values.