Date: 2018/09/13 10:21:57 UTC-07:00
Type: Denizen Script
testbook:
type: book
title: Testing testing
signed: true
text:
- "This is the text originally in the book!"
testbookworld:
type: world
events:
on player clicks testbook in inventory:
- inventory close
- define held <player.item_in_hand>
- adjust <player> item_in_hand:testbook
- adjust <player> open_book
- adjust <player> item_in_hand:<def[held]>
- adjust book <testbook.book.pages.insert[Here is some different text!]>