#(nicochulo2) How to simulate book contents

17 messages · Page 1 of 1 (latest)

oblique bloom
#

I want to make an item that isn't a book that, when a certain event happens (could be right-clicking with it or could be shifting or whatever), simulates the GUI of a book, with words in it and (if possible) even multiple pages and the ability to pass from one to the other. Is there a way to do this with a Denizen script?

rough ravenBOT
#

(nicochulo2) How to simulate book contents

rough ravenBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

proud ridge
#

!m open_book

naive caveBOT
proud ridge
#

uh, not that one

#

!m show_book

naive caveBOT
proud ridge
#

^can do fake books with this

#

the input is a bit wonky though

#

easiest way is to make a book script

#

!m itemtag.book

naive caveBOT
# proud ridge !m itemtag.book

Changes the information on a book item.
Can have keys "pages" (a ListTag), "title", and "author", all optional.

Object

ItemTag

Input

MapTag

Tags

<ItemTag.is_book> Returns whether the item is considered an editable book. If this returns true, i...
<ItemTag.book_title> Returns the title of the book.
<ItemTag.book_author> Returns the author of the book.
<ItemTag.book_pages> Returns the plain-text pages of the book as a ListTag.

proud ridge
#

can construct it with this otherwise, though

oblique bloom
#

I missed it while scrolling through the Wiki, I was so confused XD

#

yeah, that should do it, thank you very much