Maybe I was misunderstanding, but I got the impression that it stores the entire contents of all books in the save files, which is what seemed weird since books aren't changing while the game is played. Did I misread something?
Hmmm... yes, the entire book list is being written to the save files, and that just make save files bigger than they need to be. Even so, there's a parameters that defines if the entire book list is reset or not on load. I agree this isn't the optimal design. I'll change that on the next release, making save files lighter and keeping compatibility with previous versions.
Also, I did double check the code yesterday and the books read are reset depending on your parameters (there's one where you can specify if it should persist through save files or not). If that's not how it's working for you please review your settings.
One other thing I noticed is that a lot of your background image parameter definitions (in the structs) are missing "@require 1" which is needed for them to work with Exclude Unused Files.
I'll run some tests. Not all background images parameters should be required for the plugin to work (for example, if you use the default map print as your background, none of them needs to be set).
A heads up in this matter is that
any picture used as inline images are not seen by the "Exclude Unused Files", as they are loaded at runtime. Keep that in mind when exporting your game.
%img("world", 40, 20) dont work in my .json.
%img("world", 40, 20); dont work in my .json.
Or dont work in .json?
EDIT: Ok i must use %img('world', 40, 20)
The double quote is a special character in json syntax. So you need to either use single quotes, like you did, or escape the double quotes as Solar_Flare suggested.
As a general update, I'm working in the next release. Still not promising a release date, but you can expect it to come out soon!
😉