Date: 2019/01/23 13:57:20 UTC-08:00
Type: Denizen Script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
testopenbookcmd:
type: command
name: openbookcmd
description: my book thingy
usage: just use it
script:
#- run testopenbook player:%player_name%
#- run testopenbook player:<player.name>
- run testopenbook
testopenbook:
type: task
debug: true
script:
- narrate "Hello World!"
#- fakeitem "i@written_book[book=AUTHOR|Klawdek|TITLE|TestBook]" slot:<player.item_in_hand.slot>
#- fakeitem "i@written_book[book=AUTHOR|Klawdek|TITLE|myBook|pages|TEESTING TESTING 123]" slot:<player.item_in_hand.slot> duration:1
#- adjust book:open_book
#- fakeitem "i@written_book[book=AUTHOR|Klawdek|TITLE|myBook|pages|TEESTING TESTING 123]" slot:<player.item_in_hand.slot> duration:5t
- fakeitem i@TestBook slot:<player.item_in_hand.slot> duration:5t
- adjust <player> open_book
- inventory update
TestBook:
type: book
# The 'custom name' can be anything you wish.
title: test
# The 'custom name' can be anything you wish.
author: Klawdek
# Defaults to true. Set to false to spawn a 'book and quill' instead of a 'written book'.
signed: true
# Each -line in the text section represents an entire page.
# To create a newline, use the tag <n>. To create a paragraph, use <p>.
text:
- Stuff stuff and more stuff.