Date: 2015/02/03 20:25:01 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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
boopbooptool:
type: world
events:
on player right clicks with i@booptool:
- run "Boopboop"
- narrate "Incoming!"
- determine cancelled
booptool:
type: item
material: m@stick
"Boopboop":
type: task
script:
- wait 2s
- flag humans1:<player.location.add[-16,-1,-16].simple>
- flag humans2:<player.location.add[16,2,16].simple>
- note cu@<player.flag[humans1]>|<player.flag[humans2]> as:nearbyhumancuboid
- flag player nearbyhumanspawn:<cu@nearbyhumancuboid.get_spawnable_blocks.random>
- ^execute as_server 'npc create Boop --at <player.flag[nearbyhumanspawn]> --trait sentry'
- ^execute as_server 'npc assign --set TeaBoop'
- ^execute as_server "npc owner <player.name>"
- ^execute as_server "npc push"
- ^execute as_server "npc lookclose"
- random 18
- execute as_server "npc skin sowa125"
- execute as_server "npc skin sowa125"
- execute as_server "npc skin Ashot"
- execute as_server "npc skin ScreamnEagles"
- execute as_server "npc skin Clockturn"
- execute as_server "npc skin wiseguy149"
- execute as_server "npc skin Rexlos"
- execute as_server "npc skin Jesse"
- execute as_server "npc skin xscizorx"
- execute as_server "npc skin Tornado95"
- execute as_server "npc skin willeguy"
- execute as_server "npc skin Franhell"
- execute as_server "npc skin pwner_dude412"
- execute as_server "npc skin awesome_cmo"
- execute as_server "npc skin LittleFreeze"
- execute as_server "npc skin Himo"
- execute as_server "npc skin DarwinAssist"
- execute as_server "npc skin IELTS8"
# - execute as_server "npc skin Legion4" is now a satyr
# - execute as_server "npc skin 3blpro" is now a terrorist
"TeaBoop":
type: assignment
actions:
on assignment:
- playeffect <npc.location> effect:SNOW_SHOVEL qty:10
- playeffect <npc.location> effect:CLOUD qty:3
- ^trigger name:click toggle:true
- ^trigger name:damage toggle:true
- ^trigger name:proximity toggle:true radius:32
- ^trigger name:npcdeath toggle:false
- ^trigger name:npcdeathowner toggle:false
- ^execute as_server "sentry health 18" silent
- ^execute as_server "sentry armor 0" silent
- ^execute as_server "sentry strength 4" silent
- ^execute as_server "sentry speed 1.5" silent
- ^execute as_server "sentry nightvision 16" silent
- ^execute as_server "sentry respawn -1" silent
- ^execute as_server "sentry drops true" silent
- ^execute as_server "sentry criticals false" silent
- random 3
- equip <npc> hand:IRON_SWORD
- equip <npc> hand:BOW
- equip <npc> head:IRON_HELMET
- random 3
- wait 40t
- wait 50t
- wait 60t
- walk <npc> <cu@nearbyhumancuboid.get_spawnable_blocks.random> radius:7
- random 3
- wait 15t
- wait 20t
- wait 10t
- attack target:<npc.location.find.players.within[32].random>
- wait 40t
- wait 50t
- wait 60t
- walk <npc> <cu@nearbyhumancuboid.get_spawnable_blocks.random> radius:7
- random 3
- wait 15t
- wait 20t
- wait 10t
- attack target:<npc.location.find.players.within[32].random>
interact scripts:
- 1 Boopoop
"Boopoop":
type: interact
steps:
1:
proximity trigger:
Entry:
script:
- if <npc.location.find.players.within[16].get[1]||null> != null {
- random 2
- playsound <npc.location> sound:WOLF_BARK
- playsound <npc.location> sound:WOLF_GROWL
- run "WolfPair"
}
else {
- attack <npc> "target:<npc.location.find.players.within[32].get[1]>"
- playsound <npc.location> sound:WOLF_HOWL volume:0.1
}
proximity trigger:
Exit:
script:
- if <npc.location.find.players.within[32].get[1]||null> != null {
- attack <npc> "target:<npc.location.find.players.within[32].get[1]>"
- playsound <npc.location> sound:WOLF_HOWL volume:0.1
}
else {
- playsound <player.location> sound:WOLF_WHINE volume:0.1
- execute as_server "npc sel <npc.id>"
- execute as_server "npc remove"
}
damage trigger:
script:
- chat "Ouch!"
- walk <npc> <cu@nearbyhumancuboid.get_spawnable_blocks.random> radius:7
- random 3
- wait 2t
- wait 1t
- wait 3t
- attack target:<npc.location.find.players.within[32].random>