Date: 2014/07/27 22:12:40 UTC-07: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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
MagicalBooks:
type: assignment
interact scripts:
- 11 MagicalBooks
MagicalBooks:
type:interact
steps:
1:
proximity trigger:
toggle:true radius:6
script:
- chat "Hey, you! Yes, <player.name> I'm talking to you! Can you help me out with something? Yes or No?"
chat trigger
1:
trigger: /Yes/, I can help you out, what's the task?
script:
- chat "Great! I need you to bring me one of those books of knowledge..."
- wait 1
- chat "What's their name..."
- wait 3
- chat "Ah! <blue>Codices<wh>! Bring me a <blue>Codex<wh> and I shall reward you, noble Hero!"
- zap step:2
2:
trigger: /No/, I am too busy for your worthless cares!
script:
- chat "Oh, such a shame... I thought you were better than the others."
- wait 1
- chat "Come back anytime if you change your mind!"
- zap step:3
2:
proximity trigger:
toggle:true radius:5
script:
-chat "So, have you come back with a <blue>Codex<wh>?"
-if <player.inventory.contains[INSERT_ITEM_ID_OF_A_CODEX_HERE].qty[1]> {
-^take INSERT_ITEM_ID_OF_A_CODEX_HERE qty:1
- chat "Wonderful! This will be amazing help for my research! Thank you, Hero!"
- give [INSERT REWARDS HERE]
- zap step:4
3:
proximity trigger:
toggle:true radius:8
script:
- chat "Have you thought about my request? Will you help me out?"
chat trigger
1:
trigger: /Yes/, I can help you out, what's the task?
script:
- chat "Great! I need you to bring me one of those books of knowledge..."
- wait 1
- chat "What's their name..."
- wait 3
- chat "Ah! <blue>Codices<wh>! Bring me a <blue>Codex<wh> and I shall reward you, noble Hero!"
- zap step:2
2:
trigger: /No/, I am too busy for your worthless cares!
script:
- chat "Oh, such a shame... I thought you were better than the others."
- wait 1
- chat "Come back anytime if you change your mind!"
- zap step:3
4:
proximity trigger:
toggle:true radius:5
script:
- chat "May the Zo smile upon your destiny, Hero!"