Patchouli

Patchouli

168M Downloads

The book fails to open when loading a world where the last viewed entry is locked

ChiriVulpes opened this issue · 1 comments

commented

Steps to reproduce:

  1. Get a book in a world. Unlock a page. Open the page.
  2. Make another world and get the same book. Upon right click, it will make only the page turn noise, and not do anything else.

Note: This issue was originally about the book opening to the same page across worlds, but after looking into it it became apparent that was intentional.

Original issue text:

Steps to reproduce:

  1. Get a book in a world. Go to any page.
  2. Make another world and get the same book. Upon right click, it will attempt to open to the same page.

This causes the book to not be openable at all if the page you were on in the previous world is locked by advancement in the second world. It just makes the page turn sound and does nothing.

commented

From some investigation it seems it working this way is intentional — PersistentData.java saves and loads from a global patchouli_data.json file. I don't agree with it working this way (it's immersion breaking & weird; seriously, what else can you do in-game that affects other games?), but since I assume this is intentional maybe this issue should be changed to just being about the book being unable to open when you were on a page that's locked in your current world.