Date: 2015/01/26 08:00:32 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
# This thing handles the oracle after the boss in the water temple
# It was written by Wahrheit and you better believe it
# @author Wahrheit
# @version 1.0
# @last-updated January 19 2015
"Oracle of Water":
type: assignment
interact scripts:
- 10 Water Savior
actions:
on assignment:
- run 'script:Water Redemption' instant
"Water Redemption":
type: task
script:
- teleport npc 'location:<anchor:wtoracle>'
- trigger name:proximity toggle:true radius:3
"Water Oracle Format":
type: format
format: "<red>Oracle of Water<white><&co> <text>"
"Water Temple Complete":
type: task
script:
- narrate "Challenger flag read as <n@184.flag[watertemple-challenger]>"
- give money qty:2500
- narrate "<yellow>You have received 2500 gold."
- give item:373,8259 qty:10
- give "item:Water Temple Depth Strider book" qty:1
- give item:384 qty:64
- give item:384 qty:64
- random 4
- give "item:Drenched Helm" qty:1
- give "item:Drenched Chestplate" qty:1
- give "item:Drenched Leggings" qty:1
- give "item:Drenched Boots" qty:1
- execute as_server "cast teach <player.name> explode"
- flag npcid:184 npc watertemple-challenger:!
- announce "<red><player.name> has successfully conquered the Water Temple! The Gods smile upon them."
- flag player watertemplewins:++
- flag player watertemplecomplete:0
- flag npcid:184 npc watertempleclear:1
- queue resume
"Drenched Helm":
type: item
material: diamond_helmet
lore:
- This soaked helm was
- obtained from the
- Water Temple by
- <n@184.flag[watertemple-challenger]>.
display name: "Drenched Helm"
enchantments:
- oxygen:3
- water_worker:1
- protection_explosions:4
- protection_environmental:4
- thorns:3
- durability:1
"Drenched Chestplate":
type: item
material: diamond_chestplate
lore:
- This soaked plate was
- obtained from the
- Water Temple by
- <n@184.flag[watertemple-challenger]>.
display name: "Drenched Chestplate"
enchantments:
- protection_explosions:4
- protection_environmental:4
- thorns:3
- durability:1
"Drenched Leggings":
type: item
material: diamond_leggings
lore:
- These soaked leggings were
- obtained from the
- Water Temple by
- <n@184.flag[watertemple-challenger]>.
display name: "Drenched Leggings"
enchantments:
- protection_explosions:4
- protection_environmental:4
- thorns:3
- durability:1
"Drenched Boots":
type: item
material: diamond_boots
lore:
- These soaked boots were
- obtained from the
- Water Temple by
- <n@184.flag[watertemple-challenger]>.
display name: "Drenched Boots"
enchantments:
- depth_strider:3
- protection_explosions:4
- protection_environmental:4
- thorns:3
- durability:1
"Water Temple Depth Strider Book":
type: item
material: enchanted_book
lore:
- This book of magic
- was obtained from the
- Water Temple by
- <n@184.flag[watertemple-challenger]>.
display name: "Drenched Book of Depth Strider"
enchantments:
- depth_strider:3
"Water Savior":
type: interact
steps:
'Before Fight*':
click trigger:
script:
- narrate "format:Water Oracle Format" "You shouldn't be able to see this, it's a debug message!"
'Congratulations':
proximity trigger:
entry:
radius: 3
script:
- narrate "format:Water Oracle Format" "You have defeated the corrupted Emira Ivese, congratulations, <player.name>!"
- narrate "format:Water Oracle Format" "When you are ready to return to Prosperus, right click me."
- narrate "format:Water Oracle Format" "I will bestow your rewards upon you and return you to the Altar of Water."
click trigger:
script:
- if <player.flag[watertemplecomplete]> == 1 {
- narrate "format:Water Oracle Format" "Okay, here are your rewards."
- run "script:Water Temple Complete"
- queue pause
- narrate "Format:Water Oracle Format" "Best of luck on your future travels!"
- execute as_npc "warp <player.name> wateraltar"
}
else {
- narrate "format:Water Oracle Format" "It looks like I've already rewarded you."
- narrate "format:Water Oracle Format" "Best of luck on your future travels!"
- execute as_npc "warp <player.name> wateraltar"
}
'After Warp':
click trigger:
script:
- narrate "format:Water Oracle Format" "This is a debug message that you shouldn't be seeing!"