Date: 2016/01/07 20:57:50 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
BillyGalbreath:
Interact Scripts:
- 0 illyGalbreathStart
- 1 BillyGalbreathEnd
Reward:
type: item
material: diamond
#color: color goes here
display name: A Collectors Diamond
lore:
- A prized diamond from BillyGalbreath himself.
#enchantments:
#- Enchant goes here
BillyGalbreathStart:
Type: Interact
Requirements:
Mode: None
Steps:
1:
click trigger:
Script:
- narrate "Hey, you there!"
- wait 1
- narrate "I have a special request of you!"
- narrate "Will you help me?"
chat trigger:
1:
Trigger: /Yes/. I will.
script:
#Tell the player what to do.
- narrate "I need you to bring me a few things."
- WAIT 1
- narrate "I need: 1 Diamond, 1 Book, and 3 Redstone."
- WAIT 1
- narrate "Come back when you have them and I will reward you!"
#Set this script as finished, so we know they're on the quest
- FINISH
#set this script to step 2. So the player gets the hint message.
- zap step:2
2:
Trigger: /No/. I will not.
Script:
- narrate "Alright, you're missing out."
2:
click trigger:
script:
- narrate "Come back you have 1 Diamond, 1 Book, and 3 Redstone!"
BillyGalbreathEnd:
Type: Trigger
Requirements:
Mode: All
List: #Here we check if they are on the quest and have the items.
- FINISHED StartFetch
- ITEM 331 3
- ITEM 264 1
- ITEM 340 1
Steps:
'1':
Click Trigger:
Script:
#Engage is used to keep the player from clicking twice.
- ENGAGE
- TAKE 331 QTY:3
- TAKE 264 QTY:1
- TAKE 340 QTY:1
- narrate "Thank you so much! Take this as your reward."
- GIVE player i@Reward
- WAIT 1
- narrate "Bring me those items again, and I'll give you another!"
#Always disengagae after an Engage
- DISENGAGE