Window Book v3.0 (first major public release!)
by Enelvon
Summary
This script provides a parent class for multi-page windows, with a focus on those used to display information.
Detailed usage information is available within the script’s header.
Features
- Easily create multi-page windows with little-to-no scripting knowledge.
- Advanced users can create nearly any sort of multi-page window imaginable.
Script
This script is available from the SES source repository. The specific file to download is ‘lib/book.rb’.
Installation
Place below Materials and above all other custom scripts, or with the Window_* classes if you want to keep things organized.
License
This script is made available under the terms of the MIT Expat license.
Hi, I got a problem with this script (needed for the Bestiary).
I add this script and SES Core on the place you say (SES Core between Materials and Main ; Window_Book on Window_* categorie).
At the start of the game, it’s saying that the line 889 has an error.
889> class Scene_Book < Scene_Base
def set_book(book, scene = nil)
@book = (book.class == Class ? book.new : book)
if scene
SceneManager.push_to_stack(scene.class == Class ? scene.new : scene)
end
end
def update
super
@book.update if @book
SceneManager.return if Input.trigger?(:B)
end
end
I don't know what it may be. Did I need to add some extra-code into Scene_Base or did I need to create a Scene_Book with a code in it ?