Skip to content

Releases: jsfehler/renpy-encyclopaedia

v2.6

Compare
Choose a tag to compare
  • word_count attribute added to Encyclopaedia and EncEntry

v2.5

Compare
Choose a tag to compare

Changes:

  • Adding an EncEntry to an Encyclopaedia via Encyclopaedia.add_entry() when it's already inside another Encyclopaedia will trigger an Exception. There's currently no safe way to put an EncEntry in two Encyclopaedia.

  • Improved validation when adding sub-entries to an entry. Duplicate page numbers will trigger an Exception.

  • The Encyclopaedia.viewed_callback, EncEntry.viewed_callback, and EncEntry.unlock_callback attributes have been replaced with a pseudo-event system using decorators. This allows multiple functions to be registered as callbacks.

v2.4

Compare
Choose a tag to compare

New:

  • EncEntryTemplate

v2.3

Compare
Choose a tag to compare

New:

Encyclopaedia now takes the optional argument tint_locked_image. If set to False, EncEntries without a specified locked_image will not use a tinted version of the image, instead just using the image.

v2.2

Compare
Choose a tag to compare

New:

  • Sort actions now use the get_selected method
  • encyclopaedia_list screen no longer sorts by number on exit
  • Sorting buttons on encyclopaedia_list screen implicitly inherit their style
  • encyclopaedia_button style now has a selected background colour set

v2.1

Compare
Choose a tag to compare

Bug Fixes:

  • Fix crash when calling Encyclopaedia.ResetSubPage if used when there's no active entry.

New:

  • Encyclopaedia.FilterBySubject action now supports toggling a button's selected state.

v2.0-beta.2

Compare
Choose a tag to compare
v2.0-beta.2 Pre-release
Pre-release

Bug Fixes:

  • Unlocking entries failed due to duplicate number check.
  • Pagination for sub-pages was out of order.
  • Allow viewed_callback to accept an arbitrary number of arguments.

v2.0-beta.1

Compare
Choose a tag to compare
v2.0-beta.1 Pre-release
Pre-release

Bug Fixes:

  • Getting the current page of an entry was off by 1
  • When initializing a new Encyclopaedia, if the show_locked_entry argument was False and show_locked_buttons argument was True, the Encyclopaedia would not be sorted correctly.

Changes:

  • EncEntry.viewed argument defaults to False instead of None.
  • EncEntry.pages defaults to 1 instead of 0.

v2.0-beta

Compare
Choose a tag to compare
v2.0-beta Pre-release
Pre-release

Pre-release for Version 2.

Heavily rewritten, with focus on ease of use, customizing, and translations.

v1.5

Compare
Choose a tag to compare

Mostly rewritten notes and docstrings.

Major changes:

  1. Encyclopaedia.sortingMode renamed to Encyclopaedia.sorting_mode
  2. Added Encyclopaedia.getEntryCurrentPage()