Improved how books are handled

Implemented admin model viewer ::models
This commit is contained in:
Oven Bread
2023-07-30 08:33:40 +00:00
committed by Ryan
parent 3cf73ba09a
commit d76b99c77a
30 changed files with 214 additions and 95 deletions
@@ -126,9 +126,7 @@ class GloughsJournal : InteractionListener {
override fun defineListeners() {
on(Items.GLOUGHS_JOURNAL_785, IntType.ITEM, "read") { player, _ ->
setAttribute(player, "bookInterfaceCallback", ::display)
setAttribute(player, "bookInterfaceCurrentPage", 0)
display(player, 0, 0)
BookInterface.openBook(player, BookInterface.FANCY_BOOK_3_49, ::display)
return@on true
}
}