Paste #17336: Script re-paste from http://hastebin.com/kubiqoqowu.xml

Date: 2015/07/03 14:30:06 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19


OpenQuest:
  type: world
  events:
    on questbook command:
    - define old_item <player.item_in_hand>
    - take <player.item_in_hand>
    - give i@Quests
    - adjust <player> open_book
    - take i@Quests
    - give %old_item% slot:<player.item_in_hand.slot>


Quests:
  type: book
  title: Quests!
  author: <player.name>
  text:
  - Page 1, line 1<n> Page 1, line 2 etc
  - Page 2, paragraph 1,<p> Page 2, paragraph 2 etc