Paste #38387: Air

Date: 2016/12/17 23:02:10 UTC-08: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
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
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703


Aang:
    type: assignment
    actions:
        on assignment: 
        - trigger name:click state:true
        - trigger name:chat state:true
    interact scripts:
    - 10 aang_interact

cchat:
    type: format
    format: "<&b><npc.name><&co> <&2><text>"


aang_interact:
    type: interact
    steps:
        1:

            click trigger:
                script:
                - if <player.has_flag[npc_engaged]> queue clear
                - flag player npc_engaged
                - engage
                - narrate format:cchat "Hey <player.name>! Welcome to the Airbender's Training Guild!"
                - wait 2s
                - narrate format:cchat "Now that you're an Airbender, you'd probably like to learn some abilities!"
                - wait 3s
                - narrate "<&b><npc.name><&co> <&2>Alright, so the first move I would like to teach you is <&7>AirBlast"
                - wait 3s
                - narrate "<&2>Type <&d>/b b airblast <&2>to bind the ability to your currently selected slot in your hotbar"
                - wait 3s
                - narrate "<&2>Type <&d>Ok <&2>when you have bound your ability!"
                - disengage
                - flag player npc_engaged:!
                - zap 2
        2:   
            chat trigger:
                1:
                    trigger: /Ok/, I bound the ability.
                    script:
                    - engage
                    - narrate format:cchat "Great!"
                    - wait 1s
                    - narrate format:cchat "AirBlast is the most fundamental bending technique of an airbender." 
                    - wait 3s
                    - narrate format:cchat "To use, simply left-click in a direction. A gust of wind will be created at your fingertips, launching anything in its path harmlessly back." 
                    - wait 7s
                    - narrate format:cchat "A gust of air can extinguish fires on the ground or on a player, can cool lava, and can flip levers and activate buttons."
                    - wait 9s
                    - narrate format:cchat "Additionally, tapping sneak will change the origin of your next AirBlast to your targeted location."
                    - wait 5s
                    - narrate format:cchat "Alright go ahead and try to use your new ability!"
                    - wait 2s
                    - narrate "<&b><npc.name><&co> <&2>Type <&d>Ok <&2>when you're ready to learn your next move!"
                    - disengage
                    - zap 3

        3:

            chat trigger:
                1:
                    trigger: /Ok/, I'm ready!
                    script:
                    - if <player.has_flag[npc_engaged]> queue clear
                    - engage
                    - narrate format:cchat "Congratulations on learning your first move!"
                    - wait 20t
                    - narrate "<&b><npc.name><&co> <&2>The next move I would like to teach you is the move <&7>AirSwipe"
                    - wait 2s
                    - narrate "<&2>Type <&d>/b b airswipe <&2>to bind the ability to your currently selected slot in your hotbar"
                    - wait 2s
                    - narrate format:cchat "To use, simply left-click in a direction. An arc of air will flow from you towards that direction, cutting and pushing back anything in its path."
                    - wait 8s
                    - narrate format:cchat "Its damage is minimal, but it still sends the message."
                    - wait 3s
                    - narrate format:cchat "This ability will extinguish fires, cool lava, and cut things like grass, mushrooms, and flowers." 
                    - wait 5s
                    - narrate format:cchat "Additionally, you can charge it by holding sneak. Charging before attacking will increase damage and knockback, up to a maximum."
                    - wait 12s
                    - narrate format:cchat "Ok try to use your new abilities to kill these spiders!"
                    - wait 2s
                    - spawn spider|spider|spider <npc.location>  
                    - flag player kill_spider_quest
                    - flag player kill_spider_quest_count:0
                    - flag player npc_engaged:!
                    - disengage

        4:

            click trigger:
                    script:
                    - if <player.has_flag[npc_engaged]> queue clear
                    - flag player npc_engaged
                    - engage
                    - narrate format:cchat "Great work!"
                    - wait 10t
                    - narrate format:cchat "That seems like enough moves to learn for now!"
                    - wait 2s
                    - narrate format:cchat "Go forth and use your abilities to better yourself and benefit the world around you!"
                    - wait 3s
                    - narrate "<&b><npc.name><&co> <&2>Come back when you have killed about <&d>30 mobs <&2>or so and I'll teach you a couple more moves!"
                    - flag player kill_spider_quest_count:!
                    - flag player kill_entity
                    - flag player kill_entity_count:0
                    - flag player npc_engaged:!
                    - disengage     
                    - zap 5
        5:

            click trigger:
                    script:
                    - random {
                      - narrate format:cchat "You haven't killed 30 mobs yet!"
                      - narrate format:cchat "Hey what do you think you're doing? Kill 30 mobs first!"
                      - narrate format:cchat "I know you are anxious to learn new moves, but you have to kill 30 mobs first!"
                      - narrate format:cchat "I know, I'm pretty great to be around, but if you want to hear something new from me, you have to kill 30 mobs!"
                      - narrate format:cchat "Haha, nice try. Go and kill 30 mobs first."
                      - narrate format:cchat "Hey stop bothering me and kill 30 mobs first. I need a little break, and you need some training!"
                      }   
        6:

            click trigger:
                script:
                - if <player.has_flag[npc_engaged]> queue clear
                - engage
                - narrate format:cchat "Welcome back!"
                - wait 1s
                - narrate "<&b><npc.name><&co> <&2>You've been promoted to the <&d>Novice Rank<&2>, and you can now bend a new ability!"
                - group set NAirBender
                - wait 3s
                - narrate "<&b><npc.name><&co> <&2>The new ability is called <&7>AirJump<&2>."
                - wait 3s
                - narrate "<&b><npc.name><&co> <&2>Go ahead and type <&d>/b b airjump <&2> similarly to all the other moves."
                - wait 5s
                - narrate format:cchat "It's a very simple move, but it can be very useful when moving around!"
                - wait 3s
                - narrate format:cchat "AirJump is a basic Air ability that allows the user to propel themselves forward in the direction they're looking."
                - wait 6s
                - narrate format:cchat "To use, simply tap shift!"
                - wait 3s
                - narrate format:cchat "That's all there is to it! Go ahead and try it out in the mountains and have some fun!"
                - wait 3s
                - narrate "<&b><npc.name><&co> <&2>Come back when you have killed about <&d>200 mobs. <&2>It doesn't matter what mob it is. You can even <&d>kill players <&2>if you'd like!"
                - wait 4s
                - narrate format:cchat "Good Luck, and I'll be here to teach you more moves when you're done!"
                - flag player kill_entity_count:!
                - flag player npc_engaged:!
                - flag player 2kill_entity
                - flag player 2kill_entity_count:0
                - disengage
                - zap 7
        7:
            click trigger:
                    script:
                    - random {
                      - narrate format:cchat "You haven't killed <&d>200 mobs <&2>yet!"
                      - narrate format:cchat "Hey what do you think you're doing? Kill <&d>200 mobs <&2>first!"
                      - narrate format:cchat "I know you are anxious to learn new moves, but you have to kill <&d>200 mobs <&2>first!"
                      - narrate format:cchat "I know, I'm pretty great to be around, but if you want to hear something new from me, you have to kill <&d>200 mobs<&2>!"
                      - narrate format:cchat "Haha, nice try. Go and kill <&d>200 mobs <&2>first."
                      - narrate format:cchat "Hey stop bothering me and kill <&d>200 mobs <&2>first. I need a little break, and you need some training!"
                      - narrate format:cchat "Are you the same guy who asked me last time without fulfilling the requirements? Come on!"
                      - narrate "<&b><npc.name><&co> <&2>You've only killed <&d><player.flag[2kill_entity_count]> mobs<&2>! Come back when you have killed <&d>200 mobs<&2>!"
                      }
        8:
            click trigger:
                script:
                - if <player.has_flag[npc_engaged]> queue clear
                - engage
                - narrate format:cchat "Wow! Amazing work for killing 200 mobs!"
                - wait 2s
                - narrate "<&b><npc.name><&co> <&2>You are now an <&d>Advanced Airbender<&2>!"
                - group set AAirBender
                - wait 3s
                - narrate "<&b><npc.name><&co> <&2>The next move I would like to teach you is called <&7>AirSpout"
                - wait 4s
                - narrate "<&2>Type <&d>/b b airspout <&2>to a new slot similarly to the other moves."
                - wait 7s
                - narrate format:cchat "This ability gives the airbender limited sustained levitation."
                - wait 3s
                - narrate format:cchat "Click to activate and form a whirling spout of air beneath you, lifting you up. You can bend other abilities while using AirSpout."
                - wait 7s
                - narrate format:cchat "Click again to deactivate this ability."
                - wait 2s
                - narrate "<&b><npc.name><&co> <&2>Type <&d>Ok <&2>when you're ready to learn the next ability!"
                - flag player 2kill_entity_count:!
                - flag player npc_engaged:!
                - disengage
            chat trigger:
                1:
                    trigger: /Ok/, I'm ready!
                    script:
                    - if <player.has_flag[npc_engaged]> queue clear
                    - engage
                    - narrate format:cchat "Sweet!"
                    - wait 1s
                    - narrate "<&b><npc.name><&co> <&2>The next move is called <&7>AirScooter"
                    - wait 3s
                    - narrate format:cchat "AirScooter is a fast means of transportation."
                    - wait 3s
                    - narrate format:cchat "To use, sprint, jump then click with this ability selected."
                    - wait 3s
                    - narrate format:cchat "You will hop on a scooter of air and be propelled forward in the direction you're looking (you don't need to press anything)."
                    - wait 7s
                    - narrate format:cchat "This ability can be used to levitate above liquids, but it cannot go up steep slopes. Any other actions will deactivate this ability."
                    - wait 8s
                    - narrate format:cchat "Alright, that's all I got for you so far!"
                    - wait 4s
                    - narrate "<&b><npc.name><&co> <&2>For your next task, I would like for you to <&d>kill 500 mobs or players<&2>, and I will promote you to the Expert Rank!"
                    - flag player 3kill_entity
                    - flag player 3kill_entity_count:0
                    - disengage
                    - flag player npc_engaged:!
                    - zap 9
                2: 
                    trigger: /No/, screw you Aang!
                    script: 
                    - random {
                      - narrate format:cchat "Jeez dude, take a chill pill and just say Ok already!"
                      - narrate format:cchat "Well then, I don't have to teach you, good luck learning on your own!"
                      - narrate format:cchat "Ok, well I don't have to rank you up!"
                      - narrate format:cchat "Screw yourself!"
                      }
        9:
            click trigger:
                script:
                - random {
                  - narrate "<&b><npc.name><&co> <&2>You haven't killed <&d>500 mobs <&2>yet!"
                  - narrate "<&b><npc.name><&co> <&2>Hey what do you think you're doing? Kill <&d>500 mobs <&2>first!"
                  - narrate "<&b><npc.name><&co> <&2>I know you are anxious to learn new moves, but you have to kill <&d>500 mobs <&2>first!"
                  - narrate "<&b><npc.name><&co> <&2>I know, I'm pretty great to be around, but if you want to hear something new from me, you have to kill <&d>500 mobs<&2>!"
                  - narrate "<&b><npc.name><&co> <&2>Haha, nice try. Go and kill <&d>500 mobs <&2>first."
                  - narrate "<&b><npc.name><&co> <&2>Hey stop bothering me and kill <&d>500 mobs <&2>first. I need a little break, and you need some training!"
                  - narrate "<&b><npc.name><&co> <&2>Are you the same guy who asked me last time without fulfilling the requirements? Come on!"
                  - narrate "<&b><npc.name><&co> <&2>You've only killed <&d><player.flag[3kill_entity_count]> mobs<&2>! Come back when you have killed <&d>500 mobs<&2>!"
                  }
        10:

            click trigger:
                script:
                - if <player.has_flag[npc_engaged]> queue clear
                - engage
                - narrate "<&b><npc.name><&co> <&2>Congratulations! You're an <&d>Expert Airbender<&2>!"
                - group set EAirBender
                - wait 2s
                - narrate "<&b><npc.name><&co> <&2>One new move that comes with your rank is called <&7>AirSuction"
                - wait 3s
                - narrate format:cchat "To use, simply left-click in a direction."
                - wait 2s
                - narrate format:cchat "A gust of wind will originate as far as it can in that direction and flow towards you, sucking anything in its path harmlessly with it." 
                - wait 7s
                - narrate format:cchat "Skilled benders can use this technique to pull items from precarious locations."
                - wait 4s
                - narrate format:cchat "Additionally, tapping sneak will change the origin of your next AirSuction to your targeted location."
                - wait 5s
                - narrate "<&b><npc.name><&co> <&2>Type <&d>Ok <&2>when you're ready to learn your next move"
                - flag player 3kill_entity_count:!
                - flag player npc_engaged:!
                - disengage
            chat trigger:
                1:
                    trigger: /Ok/, I'm ready!
                    script:
                    - if <player.has_flag[npc_engaged]> queue clear
                    - engage
                    - narrate "<&b><npc.name><&co> <&2>Alright, the next and final move for you to learn today is called <&7>Suffocate"
                    - wait 5s
                    - narrate "<&b><npc.name><&co> <&2>This ability is one of the most dangerous abilities an Airbender possesses."
                    - wait 5s
                    - narrate "<&b><npc.name><&co> <&2>To use, simply look at an entity and <&d>hold shift<&2>."
                    - wait 3s
                    - narrate format:cchat "The entity will begin taking damage as you extract the air from their lungs."
                    - wait 4s
                    - narrate "<&b><npc.name><&co> <&2>Any bender caught in this sphere will only be able to use basic moves, such as <&7>AirSwipe<&2>, <&b>WaterManipulation<&2>, <&c>FireBlast<&2>, or <&a>EarthBlast<&2>." 
                    - wait 8s
                    - narrate format:cchat "An entity can be knocked out of the sphere by certain bending arts, and your attention will be disrupted if you are hit by bending."
                    - wait 7s
                    - narrate "<&b><npc.name><&co> <&2>Ok, so go ahead and try your new move on any entity you want."
                    - wait 4s
                    - narrate "<&b><npc.name><&co> <&2>You can go crazy with it because the next quest I would like you to do is kill <&d>700 mobs<&2>!"
                    - flag player 4kill_entity
                    - flag player 4kill_entity_count:0
                    - flag player npc_engaged:!
                    - disengage
                    - zap 11
        11:
            click trigger:
                script:
                - random {
                  - narrate format:cchat "You haven't killed <&d>700 mobs <&2>yet!"
                  - narrate format:cchat "Hey what do you think you're doing? Kill <&d>700 mobs <&2>first!"
                  - narrate format:cchat "I know you are anxious to learn new moves, but you have to kill <&d>700 mobs <&2>first!"
                  - narrate format:cchat "I know, I'm pretty great to be around, but if you want to hear something new from me, you have to kill <&d>700 mobs<&2>!"
                  - narrate format:cchat "Haha, nice try. Go and kill <&d>700 mobs <&2>first."
                  - narrate format:cchat "Hey stop bothering me and kill <&d>700 mobs <&2>first. I need a little break, and you need some training!"
                  - narrate format:cchat "Are you the same guy who asked me last time without fulfilling the requirements? Come on!"
                  - narrate "<&b><npc.name><&co> <&2>You've only killed <&d><player.flag[4kill_entity_count]> mobs<&2>! Come back when you have killed <&d>700 mobs<&2>!"
                  }
        12:
            click trigger:
                script:
                - if <player.has_flag[npc_engaged]> queue clear
                - engage
                - narrate "<&b><npc.name><&co> <&2>Congratulations! You're an <&d>Elite Airbender<&2> now!"
                - group set EliteAirBender
                - wait 3s
                - narrate "<&b><npc.name><&co> <&2>The next move in your arsenal is called <&7>AirShield"
                - wait 3s
                - narrate format:cchat "AirShield is one of the most powerful defensive techniques in existence." 
                - wait 3s 
                - narrate "<&b><npc.name><&co> <&2>To use, simply <&d>hold sneak (default<&co> shift)<&2>."
                - wait 3s
                - narrate format:cchat "This will create a whirlwind of air around the user, with a small pocket of safe space in the center." 
                - wait 5s
                - narrate format:cchat "This wind will deflect all projectiles and will prevent any creature from entering it as long as its maintained."
                - wait 6s
                - narrate "<&b><npc.name><&co> <&2>Alright, that's all I got for you today, I hope your new defense ability is useful!"
                - wait 5s
                - narrate "<&b><npc.name><&co> <&2>I would like for you to slay <&d>1000 mobs<&2>."
                - wait 3s
                - narrate format:cchat "I know it's a lot of kills, but it is what is required for one to rank up and learn new moves!"
                - wait 5s
                - narrate format:cchat "See you then!"
                - flag player 4kill_entity_count:!
                - flag player 5kill_entity
                - flag player 5kill_entity_count:0
                - flag player npc_engaged:!
                - disengage
                - zap 13
        13:
            click trigger:
                script:
                - random {
                  - narrate format:cchat "You haven't killed <&d>1000 mobs <&2>yet!"
                  - narrate format:cchat "Hey what do you think you're doing? Kill <&d>1000 mobs <&2>first!"
                  - narrate format:cchat "I know you are anxious to learn new moves, but you have to kill <&d>1000 mobs <&2>first!"
                  - narrate format:cchat "I know, I'm pretty great to be around, but if you want to hear something new from me, you have to kill <&d>1000 mobs<&2>!"
                  - narrate format:cchat "Haha, nice try. Go and kill <&d>1000 mobs <&2>first."
                  - narrate format:cchat "Hey stop bothering me and kill <&d>1000 mobs <&2>first. I need a little break, and you need some training!"
                  - narrate format:cchat "Are you the same guy who asked me last time without fulfilling the requirements? Come on!"
                  - narrate "<&b><npc.name><&co> <&2>You've only killed <&d><player.flag[5kill_entity_count]> mobs<&2>! Come back when you have killed <&d>1000 mobs<&2>!"
                  }
        14:
            click trigger:
                script:
                - if <player.has_flag[npc_engaged]> queue clear
                - engage
                - narrate format:cchat "Wow! I can tell you are a very dedicated Airbender!"
                - wait 3s
                - narrate format:cchat "Let me tell you that I am very proud of your hard work!"
                - wait 3s
                - narrate "<&b><npc.name><&co> <&2>You are now a <&d>Master Airbender<&2>!"
                - group set MAirBender
                - wait 3s
                - narrate format:cchat "Alright, back to business!"
                - wait 2s
                - narrate "<&b><npc.name><&co> <&2>The next move I would like to teach you is called <&7>AirBubble"
                - wait 4s
                - narrate "<&b><npc.name><&co> <&2>To use, the bender must <&d>hold down sneak<&2>." 
                - wait 3s
                - narrate format:cchat "All water around the user in a small bubble will vanish, replacing itself once the user either gets too far away or selects a different ability."
                - wait 8s
                - narrate "<&b><npc.name><&co> <&2>Go ahead and practice your ability and then type <&d>Ok <&2>when you're ready to learn your next move."
                - flag player 5kill_entity_count:!
                - flag player npc_engaged:!
                - disengage
            chat trigger:
                1:
                    trigger: /Ok/, I'm ready!
                    script:
                    - if <player.has_flag[npc_engaged]> queue clear
                    - engage
                    - narrate "<&b><npc.name><&co> <&2>Ok so the next move I would like to teach you is called <&7>AirBurst"
                    - wait 4s
                    - narrate format:cchat "AirBurst is one of the most powerful abilities in the airbender's arsenal."
                    - wait 4s
                    - narrate "<&b><npc.name><&co> <&2>To use, <&d>press and hold sneak <&2>to charge your burst." 
                    - wait 3s
                    - narrate "<&b><npc.name><&co> <&2>Once charged, you can either <&d>release sneak <&2>to release the burst in a sphere around you or <&d>click <&2>to launch a cone-shaped burst of air in front of you." 
                    - wait 11s
                    - narrate format:cchat "Additionally, having this ability selected when you land on the ground from a large enough fall will create a burst of air around you."
                    - wait 8s
                    - narrate format:cchat "Well, that's all the moves I have for you today."
                    - wait 3s
                    - narrate format:cchat "Alright so I know that you have a lot of moves to remember and there are too many to have all of them in your hotbar."
                    - wait 7s
                    - narrate "<&b><npc.name><&co> <&2>So I have decided to allow you access to the command <&d>/b d air<&2>, which is short for /bending display air."
                    - wait 7s
                    - narrate "<&b><npc.name><&co> <&2>Additionally, you can do <&d>/b h (bendingmove) <&2>to see how to use the move."
                    - wait 5s
                    - narrate "<&b><npc.name><&co> <&2>And then obviously, <&d>/b b (bendingmove) <&2>binds the ability to your selected slot in your hotbar."
                    - wait 6s
                    - narrate "<&b><npc.name><&co> <&2>Ok, now I would like for you to train by killing another <&d>1250 entities including players <&2>for your next lesson!"
                    - flag player 6kill_entity
                    - flag player 6kill_entity_count:0
                    - flag player npc_engaged:!
                    - disengage
                    - zap 15
        15:
            click trigger:
                script:
                - random {
                  - narrate format:cchat "You haven't killed <&d>1250 mobs <&2>yet!"
                  - narrate format:cchat "Hey what do you think you're doing? Kill <&d>1250 mobs <&2>first!"
                  - narrate format:cchat "I know you are anxious to learn new moves, but you have to kill <&d>1250 mobs <&2>first!"
                  - narrate format:cchat "I know, I'm pretty great to be around, but if you want to hear something new from me, you have to kill <&d>1250 mobs<&2>!"
                  - narrate format:cchat "Haha, nice try. Go and kill <&d>1250 mobs <&2>first."
                  - narrate format:cchat "Hey stop bothering me and kill <&d>1250 mobs <&2>first. I need a little break, and you need some training!"
                  - narrate format:cchat "Are you the same guy who asked me last time without fulfilling the requirements? Come on!"
                  - narrate "<&b><npc.name><&co> <&2>You've only killed <&d><player.flag[6kill_entity_count]> mobs<&2>! Come back when you have killed <&d>1250 mobs<&2>!"
                  }
        16:
            click trigger:
                script:
                - if <player.has_flag[npc_engaged]> queue clear
                - engage
                - narrate "<&b><npc.name><&co> <&2>Congratulations! You are now a <&d>Grandmaster Airbender<&2>!"
                - group set GAirBender
                - wait 4s
                - narrate format:cchat "Whew, I'm almost done teaching you everything there is to know about Airbending!"
                - wait 5s
                - narrate "<&b><npc.name><&co> <&2>Alright, the next move for you to learn is <&7>Cloudburst"
                - wait 5s
                - narrate format:cchat "Cloudburst is a very strong airbending move."
                - wait 3s
                - narrate "<&b><npc.name><&co> <&2>To start using this technique, begin condensing the air around you by <&d>holding shift<&2>." 
                - wait 6s
                - narrate "<&b><npc.name><&co> <&2>After the air has been let go, <&d>release shift <&2>to throw a condensed ball of air forward exploding on contact with a block, or entity, throwing all entities around the impact back!"
                - wait 13s
                - narrate "<&b><npc.name><&co> <&2>Alright, that's all for now, come back to earn your last and final rank as an Airbender when you have killed <&d>2000 <&2>entities and have 10 faction power!"
                - wait 11s
                - narrate format:cchat "Good luck, and I'll be waiting!"
                - flag player npc_engaged:!
                - flag player 7kill_entity
                - flag player 7kill_entity_count:0
                - disengage
                - zap 17
        17:
            click trigger:
                script:
                - random {
                  - narrate format:cchat "You haven't killed <&d>2000 mobs <&2>yet!"
                  - narrate format:cchat "Hey what do you think you're doing? Kill <&d>2000 mobs <&2>first!"
                  - narrate format:cchat "I know you are anxious to learn new moves, but you have to kill <&d>2000 mobs <&2>first!"
                  - narrate format:cchat "I know, I'm pretty great to be around, but if you want to hear something new from me, you have to kill <&d>2000 mobs<&2>!"
                  - narrate format:cchat "Haha, nice try. Go and kill <&d>2000 mobs <&2>first."
                  - narrate format:cchat "Hey stop bothering me and kill <&d>2000 mobs <&2>first. I need a little break, and you need some training!"
                  - narrate format:cchat "Are you the same guy who asked me last time without fulfilling the requirements? Come on!"
                  - narrate "<&b><npc.name><&co> <&2>You've only killed <&d><player.flag[7kill_entity_count]> mobs<&2>! Come back when you have killed <&d>2000 mobs<&2>!"
                  }
        18:
            click trigger:
                script:
                - if <player.has_flag[npc_engaged]> queue clear
                - engage
                - narrate format:cchat "Well, this is it, the last lesson from your old Guild Master."
                - wait 4s
                - narrate format:cchat "It is my honor to grant you the <&7>Legendary Airbender <&2>rank!"
                - group set LAirBender
                - wait 3s
                - narrate "<&b><npc.name><&co> <&2>Ok so I don't actually have any new moves to teach you, but I have something even better."
                - wait 7s
                - narrate "<&b><npc.name><&co> <&2>Today, I am going to teach you <&7>AirCombos<&2>!"
                - wait 4s
                - narrate "<&b><npc.name><&co> <&2>The first combo is called <&7>Twister"
                - wait 3s
                - narrate format:cchat "With this combo, you can create a cyclone of air that travels along the ground grabbing nearby entities!"
                - wait 7s
                - narrate format:cchat "Usage<&co> AirShield (Tap Shift) > Tornado (Hold Shift) > Airblast (Left Click)"
                - wait 4s
                - narrate format:cchat "Alright type <&d>Ok <&2>when you're ready to learn the next combo."
                - flag player 7kill_entity_count:!
                - flag player npc_engaged:!
                - disengage
            chat trigger:
                1:
                    trigger: /Ok/, I'm ready!
                    script:
                    - if player.has_flag[npc_engaged]> queue clear
                    - engage
                    - narrate format:cchat "Alright, the next combo is called <&7>AirStream"
                    - wait 4s
                    - narrate format:cchat "Usage<&co> AirShield (Hold Shift) > AirSuction (Left Click) > AirBlast (Left Click)"
                    - wait 5s
                    - narrate format:cchat "Ok try out your combos and type <&d>Ok <&2>to learn the final combo!"
                    - flag player npc_engaged:!
                    - disengage
                    - zap 19
        19:
            chat trigger:
                1:
                    trigger: /Ok/
                    script:
                    - if <player.has_flag[npc_engaged]> queue clear
                    - engage
                    - narrate format:cchat "Alright, the last combo is <&7>AirSweep"
                    - wait 3s
                    - narate format:cchat "Usage<&co> AirSwipe (Left Click) > AirSwipe (Left Click) > AirBurst (Hold Shift) > AirBurst (Left Click)"
                    - wait 7s
                    - narrate format:cchat "Well, that's all I have to teach you!"
                    - wait 3s
                    - narrate format:cchat "I am very proud of your hard work and dedication."
                    - wait 3s
                    - narrate format:cchat "I still remember when you were just a Rookie; you've come so far."
                    - wait 4s
                    - narrate format:cchat "Ok so I'll let you go now, and come back to pay me a visit from time to time!"
                    - wait 5s
                    - narrate format:cchat "See ya later!"
                    - flag player npc_engaged:!
                    - disengage
                    - zap 20
        20:
            click trigger:
                script:
                - narrate format:cchat "Hey <player.name>! How's it going!"
                - wait 3s
                - narrate format:cchat "Do you need any help as a reminder of the commands? Just say <&d>Yes <&2>or <&d>No"
            chat trigger:
                1:
                    trigger: /Yes/
                    script:
                    - narrate format:cchat "Ok to bind your ability type <&d>/b b (bending move)<&2>."
                    - wait 4s
                    - narrate format:cchat "To see a list of all possible abilities you can bind, type <&d>/b d air"
                    - wait 5s
                    - narrate format:cchat "If you need help with a specific move or combo, type <&d>/b h (move or combo)"
                    - wait 5s
                    - narrate format:cchat "Lastly, a new command I haven't taught you is to see what element each person is by doing <&d>/b w"
                    - wait 7s
                    - narrate format:cchat "Alright that's all, good luck on your travels!"
                2:
                    trigger: /No/ thanks
                    script:
                    - narrate format:cchat "Alright good luck, you can chill here if you like"


kill_zombie_quest_world:
    type: world
    events: 
        on player kills spider:
        - if !<player.has_flag[kill_spider_quest]> queue clear
        - flag player kill_spider_quest_count:++
        - if <player.flag[kill_spider_quest_count]> == 3 {
          - narrate "<&2>[Return to Aang]"
          - flag player kill_spider_quest:!
          - zap 4 s@aang_interact
        }
kill_entity_world:
    type: world
    events:
        on player kills entity:
        - if !<player.has_flag[kill_entity]> queue clear
        - flag player kill_entity_count:++
        - if <player.flag[kill_entity_count]> == 30 {
          - flag player kill_entity:!
          - narrate "<&2>[Return to your Guild NPC for killing 30 mobs!]"
          - zap 6 s@aang_interact
          }
        - if <player.flag[kill_entity_count]> == 10 {
          - narrate "<&2>[10/30 Entities killed]"
          }
        - if <player.flag[kill_entity_count]> == 20 {
          - narrate "<&2>[20/30 Entities killed]"
          }
2kill_entity_world:
    type: world
    events:
        on player kills entity:
        - if !<player.has_flag[2kill_entity]> queue clear
        - flag player 2kill_entity_count:++
        - if <player.flag[2kill_entity_count]> == 200 {
          - flag player 2kill_entity:!
          - narrate "<&2>[Return to your Guild NPC for killing 200 mobs!]"
          - zap 8 s@aang_interact
          }
        - if <player.flag[2kill_entity_count]> == 50 {
          - narrate "<&2>[50/200 Entities killed]"
          }
        - if <player.flag[2kill_entity_count]> == 100 {
          - narrate "<&2>[100/200 Entities killed]"
          }
        - if <player.flag[2kill_entity_count]> == 150 {
          - narrate "<&2>[150/200 Entities killed]"
          }
3kill_entity_world:
    type: world
    events:
        on player kills entity:
        - if !<player.has_flag[3kill_entity]> queue clear
        - flag player 3kill_entity_count:++
        - if <player.flag[3kill_entity_count]> == 500 {
          - flag player 3kill_entity:!
          - narrate "<&2>[Return to your Guild NPC for killing 500 mobs!]"
          - zap 10 s@aang_interact
          }
        - if <player.flag[3kill_entity_count]> == 100 {
          - narrate "<&2>[100/500 Entities killed]"
          }
        - if <player.flag[3kill_entity_count]> == 200 {
          - narrate "<&2>[200/500 Entities killed]"
          }
        - if <player.flag[3kill_entity_count]> == 300 {
          - narrate "<&2>[300/500 Entities killed]"
          }     
        - if <player.flag[3kill_entity_count]> == 400 {
          - narrate "<&2>[400/500 Entities killed]"
          }
4kill_entity_world:
    type: world
    events:
        on player kills entity:
        - if !<player.has_flag[4kill_entity]> queue clear
        - flag player 4kill_entity_count:++
        - if <player.flag[4kill_entity_count]> == 700 {
          - flag player 4kill_entity:!
          - narrate "<&2>[Return to your Guild NPC for killing 700 mobs!]"
          - zap 12 s@aang_interact
          }
        - if <player.flag[4kill_entity_count]> == 100 {
          - narrate "<&2>[100/700 Entities killed]"
          }
        - if <player.flag[4kill_entity_count]> == 200 {
          - narrate "<&2>[200/700 Entities killed]"
          }
        - if <player.flag[4kill_entity_count]> == 300 {
          - narrate "<&2>[300/700 Entities killed]"
          } 
        - if <player.flag[4kill_entity_count]> == 400 {
          - narrate "<&2>[400/700 Entities killed]"
          }    
        - if <player.flag[4kill_entity_count]> == 500 {
          - narrate "<&2>[500/700 Entities killed]"
          }    
        - if <player.flag[4kill_entity_count]> == 600 {
          - narrate "<&2>[600/700 Entities killed]"
          }                                  
5kill_entity_world:
    type: world
    events:
        on player kills entity:
        - if !<player.has_flag[5kill_entity]> queue clear
        - flag player 5kill_entity_count:++
        - if <player.flag[5kill_entity_count]> == 1000 {
          - flag player 5kill_entity:!
          - narrate "<&2>[Return to your Guild NPC for killing 1000 mobs!]"
          - zap 14 s@aang_interact
          }
        - if <player.flag[5kill_entity_count]> == 250 {
          - narrate "<&2>[250/1000 Entities killed]"
          }
        - if <player.flag[5kill_entity_count]> == 500 {
          - narrate "<&2>[500/1000 Entities killed]"
          }
        - if <player.flag[5kill_entity_count]> == 750 {
          - narrate "<&2>[750/1000 Entities killed]"
          }     
6kill_entity_world:
    type: world
    events:
        on player kills entity:
        - if !<player.has_flag[6kill_entity]> queue clear
        - flag player 6kill_entity_count:++
        - if <player.flag[6kill_entity_count]> == 1250 {
          - flag player 6kill_entity:!
          - narrate "<&2>[Return to your Guild NPC for killing 1250 Entities!]"
          - zap 16 s@aang_interact
          }
        - if <player.flag[6kill_entity_count]> == 250 {
          - narrate "<&2>[250/1250 Entities killed]"
          }
        - if <player.flag[6kill_entity_count]> == 500 {
          - narrate "<&2>[500/1250 Entities killed]"
          }
        - if <player.flag[6kill_entity_count]> == 750 {
          - narrate "<&2>[750/1250 Entities killed]"
          }   
        - if <player.flag[6kill_entity_count]> == 1000 {
          - narrate "<&2>[1000/1250 Entities killed]"
          }      
7kill_entity_world:
    type: world
    events:
        on player kills entity:
        - if !<player.has_flag[7kill_entity]> queue clear
        - flag player 7kill_entity_count:++
        - if <player.flag[7kill_entity_count]> == 2000 && <player.factions.power> == 10 {
          - flag player 7kill_entity:!
          - narrate "<&2>[Return to your Guild NPC for killing 2000 Entities and having 10 faction power!]"
          - zap 18 s@aang_interact
          }
        - if <player.flag[7kill_entity_count]> == 500 {
          - narrate "<&2>[500/2000 Entities killed]"
          }
        - if <player.flag[7kill_entity_count]> == 1000 {
          - narrate "<&2>[1000/2000 Entities killed]"
          }
        - if <player.flag[7kill_entity_count]> == 1500 {
          - narrate "<&2>[1500/2000 Entities killed]"
          }  
         - if <player.flag[7kill_entity_count]> == 2000 {
           - narrate "<&2>You've killed 2000 Entities, but not 10 faction power!"
          }