Paste #81117: Miner NPC Quest

Date: 2021/02/23 17:29:27 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


#Thank you for using my script!
#There are comments all around if you want to make some custom changes for you server
#VV comments will look like this VV

#(Comment)
#(script)

#You'll first find the NPC assignment, change the name if you want
#Then the NPC interact click triggers
#And ALL the way at the bottom are the actual quest flags
#If you have any questions or if you mess something up, ask it in the denizen channel in the discord


Miner_NPC_Assignment:
    type: assignment
    actions:
        on assignment:
        - trigger name:click state:true
        - trigger name:chat state:true
    interact scripts:
    - Miner_NPC_Interact
#To give a Citizens NPC this assignment so it interacts with the player
#Select the NPC and run /npc assign --set Miner_NPC_Interact
Miner_NPC_Interact:
    type: interact
    steps:
#1-3 click triggers are for cobblestone quest
        1:
            click trigger:
                script:
                #These are just the NPC talking when first clicked, remove it or customize it to your liking
                - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                - narrate "<green>Hey! May name is Cole. I'm the head Miner for this here Town."
                - wait 1s
                - playsound <player> sound:ENTITY_VILLAGER_NO pitch:1
                - narrate "<red>For your safety, do not use this mine, it is highly unstable..."
                - wait 1s
                - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                - narrate "<green>Well I have a number of quests for you to do!"
                - zap 2
        2:
            click trigger:
                script:
                - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                - narrate "<green>Do you want a Mining quest? <red>(Say Yes or No)"
            #Now starts the fun, here are the chat triggers, what the NPC says depending on what the player types
            chat trigger:
                1:
                    trigger: /Yes/
                    Script:
                    - playsound <player> sound:ENTITY_VILLAGER_CELEBRATE pitch:1
                    #If you want a different amount goal, define it here^ and lower
                    - narrate "<green>Great! <yellow>Mine 64 Stone<green>!"
                    - flag player Cobble_Quest:0
                    - title "subtitle:<red>Cobble Quest Started" fade_in:0.5s stay:2s fade_out:0.5s
                    - zap 3
                2:
                    trigger: /No/
                    Script:
                    - playsound <player> sound:ENTITY_VILLAGER_NO pitch:1
                    - narrate "<red>No problem! Come back when you're ready."
        3:
            click trigger:
                script:
                #if you changed the cobblestone amount, define it here as well.
                - if <player.flag[Cobble_Quest]> >= 64:
                    - playsound <player> sound:ENTITY_EXPERIENCE_ORB_PICKUP pitch:1
                    - narrate "<green>Great work! Here's your reward"
                    - title "subtitle:<green>Cobble Quest Complete" fade_in:0.5s stay:2s fade_out:0.5s
                    #set this to whatever reward you want for the first quest, if you want Telekinesis make sure you have Eco and EcoEnchants installed.
                    - give enchanted_book[enchantments=<map[Telekinesis/1]>]
                    - flag player Cobble_Quest:!
                    - zap 4
                #if you changed the cobblestone amount, define it here as well.
                - if <player.flag[Cobble_Quest]> < 64:
                    - playsound <player> sound:ENTITY_VILLAGER_NO pitch:1
                    #and here
                    - narrate "<red>You haven't mined 64 stone yet!"
#4-5 click triggers are for coal quest
        4:
            click trigger:
                script:
                - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                - narrate "<green>Are you ready for your next quest? <red>(Say Yes or No)"
            chat trigger:
                1:
                    trigger: /Yes/
                    Script:
                    - playsound <player> sound:ENTITY_VILLAGER_CELEBRATE pitch:1
                    #if you want a different goal amount, change it here
                    - narrate "<green>Awesome! Mine <yellow>32 Coal<green>!"
                    - title "subtitle:<red>Coal Quest Started" fade_in:0.5s stay:2s fade_out:0.5s
                    - flag player Coal_Quest:0
                    - zap 5
                2:
                    trigger: /No/
                    Script:
                    - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                    - narrate "<red>No problem! Come back when you're ready."

        5:
            click trigger:
                script:
                #if you changed the coal amount needed, put it here
                - if <player.flag[Coal_Quest]> == 32:
                    - playsound <player> sound:ENTITY_EXPERIENCE_ORB_PICKUP pitch:1
                    - narrate "<green>Well done! Here's your reward!"
                    - title "subtitle:<green>Coal Quest Complete" fade_in:0.5s stay:2s fade_out:0.5s
                    #if you want a different reward, change it here
                    - give coal amount:16
                    - flag player Coal_Quest:!
                    - zap 6
                #if you changed the coal amount needed, put it here
                - if <player.flag[Coal_Quest]> < 32:
                    - playsound <player> sound:ENTITY_VILLAGER_NO pitch:1
                    #if you changed the coal amount needed, put it here
                    - narrate "<red>You haven't mined 32 Coal yet!"
#6-7 click triggers are for Iron quest
        6:
            click trigger:
                script:
                - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                - narrate "<green>Are you ready for your next quest? <red>(Say Yes or No)"
            chat trigger:
                1:
                    trigger: /Yes/
                    script:
                    - playsound <player> sound:ENTITY_VILLAGER_CELEBRATE pitch:1
                    #if you want a different iron goal amount, change it here
                    - narrate "<green>Perfect! Mine <yellow>30 Iron Ore<green>!"
                    - title "subtitle:<red>Iron Quest Started" fade_in:0.5s stay:2s fade_out:0.5s
                    - flag player Iron_Quest:0
                    - zap 7
                2:
                    trigger: /No/
                    script:
                    - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                    - narrate "<red>Oh well, come back when you're ready."

        7:
            click trigger:
                script:
                #if you changed the iron amount needed, put it here
                - if <player.flag[Iron_Quest]> == 30:
                    - playsound <player> sound:ENTITY_EXPERIENCE_ORB_PICKUP pitch:1
                    - narrate "<green>Great Job! Here's your reward!"
                    #set this to whatever reward you want for the first quest, if you want Telekinesis make sure you have Eco and EcoEnchants installed.
                    - give enchanted_book[enchantments=<map[Telekinesis/1]>]
                    - title "subtitle:<green>Iron Quest Complete" fade_in:0.5s stay:2s fade_out:0.5s
                    - flag player Iron_Quest:!
                    - zap 8
                #if you changed the coal amount needed, put it here
                - else if <player.flag[Iron_Quest]> > 30:
                    - playsound <player> sound:ENTITY_VILLAGER_NO pitch:1
                    #if you changed the coal amount needed, put it here
                    - narrate "<red>You haven't mined 30 Iron yet!"
#8-9 click triggers are for gold quest
        8:
            click trigger:
                script:
                - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                - narrate "<green>Are you ready for you're next quest? <red>(Say Yes or No)"
            chat trigger:
                1:
                    trigger: /Yes/
                    script:
                    - playsound <player> sound:ENTITY_VILLAGER_CELEBRATE pitch:1
                    - title "subtitle:<red>Gold Quest Started" fade_in:0.5s stay:2s fade_out:0.5s
                     #if you want a different gold goal amount, change it here
                    - narrate "<green>Good! Mine <yellow>30 Gold Ore<green>!"
                    - flag player Gold_Quest:0
                    - zap 9
                2:
                    trigger: /No/
                    script:
                    - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                    - narrate "<red>That's okay, come back when you're ready!"
        9:
            click trigger:
                script:
                #If you changed the gold goal, set it here
                - if <player.flag[Gold_Quest]> == 30:
                    - playsound <player> sound:ENTITY_EXPERIENCE_ORB_PICKUP pitch:1
                    - narrate "<green>Great job! Here's your reward!"
                    - title "subtitle:<green>Gold Quest Complete" fade_in:0.5s stay:2s fade_out:0.5s
                    #change this to whatever reward you want
                    - give gold_ingot quantity:15
                    - flag player Gold_Quest:!
                    - zap 10
                - else if <player.flag[Gold_Quest]> < 30:
                    - playsound <player> sound:ENTITY_VILLAGER_NO pitch:1
                    #If you changed the gold goal, set it here
                    - narrate "<red>You haven't mined 30 Gold yet!"
#10-11 click triggers are for the Redstone Quest
        10:
            click trigger:
                script:
                - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                - narrate "<green>Are you ready for your next quest? <red>(Say Yes or No)"
            chat trigger:
                1:
                    trigger: /Yes/
                    script:
                    - playsound <player> sound:ENTITY_VILLAGER_CELEBRATE pitch:1
                     #if you want a different redstone goal amount, change it here
                    - narrate "<green>Awesome! Mine <yellow>30 Redstone<green>!"
                    - title "subtitle:<red>Redstone Quest Started" fade_in:0.5s stay:2s fade_out:0.5s
                    - flag player Redstone_Quest:0
                    - zap 11
                2:
                    trigger: /No/
                    script:
                    - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                    - narrate "<green>That's ok. Come back when you're ready."
        11:
            click trigger:
                script:
                #If you changed the redstone goal, set it here
                - if <player.flag[Redstone_Quest]> == 30:
                    - playsound <player> sound:ENTITY_EXPERIENCE_ORB_PICKUP pitch:1
                    - narrate "<green>Nice work! Here's your reward!"
                    #If you want a different reward, change it here
                    - give redstone quantity:34
                    - title "subtitle:<green>Redstone Quest Complete" fade_in:0.5s stay:2s fade_out:0.5s
                    - flag player Redstone_Quest:1
                    - zap 12
                #If you changed the redstone goal, set it here
                - else if <player.flag[Redstone_Quest]> < 20:
                    - playsound <player> sound:ENTITY_VILLAGER_NO pitch:1
                    #If you changed the redstone goal, set it here
                    - narrate "<red>You haven't mined 30 Redstone yet!"
#12-13 click triggers are for Emerald Quest
        12:
            click trigger:
                script:
                - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                - narrate "<green>Ready for you next quest? <red>(Say Yes or No)"
            chat trigger:
                1:
                    trigger: /Yes/
                    script:
                    - playsound <player> sound:ENTITY_VILLAGER_CELEBRATE pitch:1
                     #if you want a different Emerald goal amount, change it here
                    - narrate "<green>Great! Mine <yellow>30 Emeralds<green>!"
                    - title "subtitle:<red>Emerald Quest Started" fade_in:0.5s stay:2s fade_out:0.5s
                    - flag player Emerald_Quest:0
                    - zap 13
                2:
                    trigger: /No/
                    Script:
                    - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                    - narrate "Oh well, come back when you're ready."
        13:
            click trigger:
                script:
                #If you changed the Emerald goal amount, set it here
                - if <player.flag[Emerald_Quest]> == 30:
                    - playsound <player> sound:ENTITY_EXPERIENCE_ORB_PICKUP pitch:1
                    - narrate "<green>Awesome work! Here's your reward!"
                    #Change the reward here
                    - give villager_spawn_egg quantity:1
                    #Also here
                    - give emerald quantity:15
                    - title "subtitle:<green>Emerald Quest Complete" fade_in:0.5s stay:2s fade_out:0.5s
                    - flag player Emerald_Quest:!
                    - zap 14
                #If you changed the Emerald goal amount, set it here
                - else if <player.flag[Emerald_Quest]> < 30:
                    - playsound <player> sound:ENTITY_VILLAGER_NO pitch:1
                    #If you changed the Emerald goal amount, set it here
                    - narrate "<red>You haven't mined 30 Emeralds yet!"
#14-15 click triggers are for Diamond Quest
        14:
            click trigger:
                script:
                #I just wanted to add character "developement" customize it if need be.
                - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                - narrate "<green>You've come a long way.."
                - wait 1s
                - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                - narrate "<Green>Are you ready for your second to last quest? <red>(Say Yes or No)"
            chat trigger:
                1:
                    trigger: /Yes/
                    script:
                    - playsound <player> sound:ENTITY_VILLAGER_CELEBRATE pitch:1
                     #if you want a different Diamond goal amount, change it here
                    - narrate "<green>Bet! Mine <yellow>30 Diamonds<green>!"
                    - title "subtitle:<red>Diamond Quest Started" fade_in:0.5s stay:2s fade_out:0.5s
                    - flag player Diamond_Quest:0
                    - zap 15
                2:
                    trigger: /No/
                    script:
                    - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                    - narrate "<red>Dang, well come back when you're ready."
        15:
            click trigger:
                script:
                #If you changed the Diamond goal amount, set it here
                - if <player.flag[Diamond_Quest]> == 30:
                    - playsound <player> sound:ENTITY_EXPERIENCE_ORB_PICKUP pitch:1
                    - narrate "<green>Nice job! I'm proud of you! Here's your reward."
                    #Change the reward here
                    - give diamond quantity:5
                    - title "subtitle:<green>Diamond Quest Complete" fade_in:0.5s stay:2s fade_out:0.5s
                    - flag player Diamond_Quest:!
                    - zap 16
                #If you changed the Diamond goal amount, set it here
                - else if <player.flag[Diamond_Quest]> > 30:
                    - playsound sound:ENTITY_VILLAGER_NO pitch:1
                    #And here
                    - narrate "<red>You haven't mined 30 diamonds yet!"
#16-17 click triggers are for Netherite Quest (Of course, requires 1.16.4+)
        16:
            click trigger:
                script:
                - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                - narrate "<green>I'm really proud of you, are you ready for your LAST quest? <red>(Say Yes or No)"
            chat trigger:
                1:
                    trigger: /Yes/
                    script:
                    - playsound <player> sound:ENTITY_VILLAGER_CELEBRATE pitch:1
                     #if you want a different Ancient Debris goal amount, change it here
                    - narrate "<green>I knew you would! Go mine <yellow>5 Ancient Debris<green>."
                    - flag player Netherite_Quest:0
                    - title "subtitle:<red>Netherite Quest Started" fade_in:0.5s stay:2s fade_out:0.5s
                    - zap 17
                2:
                    trigger: /No/
                    script:
                    - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                    - narrate "<red>Dang, well come back another time"
        17:
            click trigger:
                script:
                #If you changed the Ancient Debris goal amount, set it here
                - if <player.flag[Netherite_Quest]> == 5:
                    - playsound <player> sound:ENTITY_EXPERIENCE_ORB_PICKUP pitch:1
                    - flag player Netherite_Quest:!
                    - title "subtitle:<green>Netherite Quest Complete"
                    - narrate "<green>Nice job! I can't tell you how proud of you I am"
                    - wait 1s
                    - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                    - narrate "<green>At this point I don't know what to give you..."
                    - wait 1s
                    - playsound <player> sound:ENTITY_VILLAGER_AMBIENT pitch:1
                    - narrate "<green>Know what, I'll give you my favorite pickaxe"
                    #This reward is a custom pickaxe I made, also linked in the forum page. Change it if you wish
                    - give ColePick quantity:1
                    #Special title for this special item
                    - title "subtitle:<yellow>Coal Crusher Obtained" fade_in:0.5s stay:2s fade_out:0.5s
                    - zap 18
        18:
            click trigger:
                script:
                - playsound <player> sound:ENTITY_VILLAGER_CELEBRATE pitch:1
                - narrate "<green>You've already finished all my quests!"
#Now it's time for the actual flags!
#If you have changed any of the goal amounts above, you need to set them here for it to work and make sense
#If you didn't change the amounts, you can either not care about this, or customize the actionbars so it's a title/subtitle
#or just narrates their quest progression, or neither

Cobble_Quest:
    type: world
    events:
        #Don't change this!
        after player breaks stone|cobblestone flagged:Cobble_Quest:
        - flag player Cobble_Quest:++
        #If you changed the cobblestone goal amount, set it here
        - if <player.flag[Cobble_Quest]> < 64:
            #And here
            - actionbar "<red><player.flag[Cobble_Quest]>/64 Stone."
        #AND here
        - else if <player.flag[Cobble_Quest]> >= 64:
            - playsound <player> sound:ENTITY_FIREWORK_ROCKET_BLAST pitch:1
            #AND here
            - flag player Cobble_Quest:64
            #ANDDD HERE, also change the NPC name if you wish
            - actionbar "<green>Mined 64/64 Stone. Go talk to Cole!"

Coal_Quest:
    type: world
    events:
        #Don't change this!
        after player breaks coal_ore flagged:Coal_Quest:
        - flag player Coal_Quest:++
        #If you changed the coal goal amount, set it here
        - if <player.flag[Coal_Quest]> < 32:
            #and here
            - actionbar "<red><player.flag[Coal_Quest]>/32 Coal"
        #And here
        - else if <player.flag[Coal_Quest]> >= 32:
            - playsound <player> sound:ENTITY_FIREWORK_ROCKET_BLAST pitch:1
            #AND here
            - flag player Coal_Quest:32
            #AND HERE, also change the NPC name if you wish
            - actionbar "<green>Mined 32/32 Coal. Go talk to Cole!"

Iron_quest:
    type: world
    events:
        #Don't change this!
        after player breaks iron_ore flagged:Iron_Quest:
        - flag player Iron_Quest:++
        #If you changed the iron goal amount, set it here
        - if <player.flag[Iron_Quest]> < 30:
            #And here
            - actionbar "<red><player.flag[Iron_Quest]>/30 Iron"
        #And here
        - else if <player.flag[Iron_Quest]> >= 30:
            - playsound <player> sound:ENTITY_FIREWORK_ROCKET_BLAST pitch:1
            #AND here
            - flag player Iron_Quest:30
            #AND HERE, also change the NPC name if you wish
            - actionbar "<green>Mined 30/30 Iron. Go talk to Cole!"

Gold_Quest:
    type: world
    events:
        #Don't change this!
        after player breaks gold_ore flagged:Gold_Quest:
        - flag player Gold_Quest:++
        #If you changed the gold goal amount, set it here
        - if <player.flag[Gold_Quest]> < 30:
            #And here
            - actionbar "<red><player.flag[Gold_Quest]>/30 Gold"
        #And here
        - else if <player.flag[Gold_Quest]> >= 30:
            - playsound <player> sound:ENTITY_FIREWORK_ROCKET_BLAST pitch:1
            #AND here
            - flag player Gold_Quest:30
            #AND HERE, also change the NPC name if you wish
            - actionbar "<green>Mined 30/30 Gold. Go talk to Cole!"

Redstone_Quest:
    type: world
    events:
        #Don't change this!
        after player breaks redstone_ore flagged:Redstone_Quest:
        - flag player Redstone_Quest:++
        #If you changed the Redstone goal amount, set it here
        - if <player.flag[Redstone_Quest]> < 30:
            #And here
            - actionbar "<red><player.flag[Redstone_Quest]>/30 Redstone"
        #And here
        - else if <player.flag[Redstone_Quest]> >= 30:
            - playsound <player> sound:ENTITY_FIREWORK_ROCKET_BLAST pitch:1
            #AND here
            - flag player Redstone_Quest:30
            #AND HERE, also change the NPC name if you wish
            - actionbar "<green>Mined 30/30 Redstone. Go talk to Cole!"

Emerald_Quest:
    type: world
    events:
        #Don't change this!
        after player breaks emerald_ore flagged:Emerald_Quest:
        - flag player Emerald_Quest:++
        #If you changed the Emerald goal amount, set it here
        - if <player.flag[Emerald_Quest]> < 30:
            #And here
            - actionbar "<red><player.flag[Emerald_Quest]>/30 Emeralds"
        #And here
        - else if <player.flag[Emerald_Quest]> >= 30:
            - playsound <player> sound:ENTITY_FIREWORK_ROCKET_BLAST pitch:1
            #AND here
            - flag player Emerald_Quest:30
            #AND HERE, also change the NPC name if you wish
            - actionbar "<green>Mined 30/30 Emeralds. Go talk to Cole!"

Diamond_Quest:
    type: world
    events:
        #Don't change this!
        after player breaks diamond_ore flagged:Diamond_Quest:
        - flag player Diamond_Quest:++
        #If you changed the Diamond goal amount, set it here
        - if <player.flag[Diamond_Quest]> < 30:
            #And here
            - actionbar "<red><player.flag[Diamond_Quest]>/30 Diamonds"
        #And here
        - else if <player.flag[Diamond_Quest]> >= 30:
            - playsound <player> sound:ENTITY_FIREWORK_ROCKET_BLAST pitch:1
            #AND here
            - flag player Diamond_Quest:30
            #AND HERE, also change the NPC name if you wish
            - actionbar "<green>Mined 30/30 Diamonds. Go talk to Cole!"

Netherite_Quest:
    type: world
    events:
        #Don't change this!
        after player breaks ancient_debris flagged:Netherite_Quest:
        - flag player Netherite_Quest:++
        #If you changed the Ancient Debris goal amount, set it here
        - if <player.flag[Netherite_Quest]> < 5:
            #And here
            - actionbar "<red><player.flag[Netherite_Quest]>/5 Ancient Debris"
        #And here
        - else if <player.flag[Netherite_Quest]> >= 5:
            - playsound <player> sound:ENTITY_FIREWORK_ROCKET_BLAST pitch:1
            #AND here
            - flag player Netherite_Quest:5
            #AND HERE, also change the NPC name if you wish
            - actionbar "<green>Mined 5/5 Ancient Debris. Go talk to Cole!"