- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register








The script repo is an archive of historical scripts. For modern scripts, or to post your own, please use the Scripts forum section.





Butterfly (Quiz)


By Mwthorn
Created: 2015/09/08 13:36:03 UTC-07:00 (9 years and 108 days ago)
Edited: 2015/09/08 13:36:03 UTC-07:00 (9 years and 108 days ago)
Likes: 0

Denizen Version: 0.9.7-SNAPSHOT
Script Version: 1.0
Description:

## Created by Mwthorn
## A quiz with 15 questions

## Version 1.0

## Original used in my hub to change others gameplay when playing any gamemodes on my server.
## It works kinda like in the Walking Dead or Until Dawn (getting different quests, objectives and scenes).
## At the same time its also a form of feedback or experiment on what the players mostly like.

## This script features a global result, showing what others answered compared to what you have answered (currently only server-side)

## Commands:

## /butterfly
## The main command to take the quiz

## /result
## Shows your answers and compared what the others answered.



Download script | View raw 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
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
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
109100

## Created by Mwthorn

## Version 1.0

## Original used in my hub to change others gameplay when playing any gamemodes on my server.
## It works kinda like in the Walking Dead or Until Dawn (getting different quests, objectives and scenes).
## At the same time its also a form of feedback or experiment on what the players mostly like.

## This script features a global result, showing what others answered compared to what you have answered.

## Commands:

## /butterfly
## The main command to take the quiz

## /result
## Shows your answers and compared what the others answered.


ButterflyCommand:
    type: command
    name: butterfly
    script:
    ## Shows the first question menu
    - inventory open d:in@ButterflyQuiz1

    
    ## This is the config part. Edit these to something you prefer. 
ButterflyConfig:
    type: yaml data
    config: 
        material:
            ## The materials of the item shown in the question menu
            1A: 397<&co>3
            1B: 397<&co>2
            2A: COOKIE
            2B: BREAD
            3A: FLINT_AND_STEEL
            3B: DIAMOND_CHESTPLATE
            4A: CAKE
            4B: GOLDEN_APPLE
            5A: PAPER
            5B: DIAMOND_SWORD
            6A: BOOK
            6B: MINECART
            7A: 397<&co>4
            7B: CHEST
            8A: TNT
            8B: RED_ROSE
            9A: REDSTONE
            9B: DISPENSER
            10A: BRICK
            10B: IRON_SWORD
            11A: LONG_GRASS<&co>2
            11B: LONG_GRASS<&co>1
            12A: SANDSTONE<&co>2
            12B: STONE
            13A: EMERALD
            13B: DIAMOND_PICKAXE
            14A: COMMAND
            14B: POTION
            15A: EYE_OF_ENDER
            15B: SMOOTH_BRICK
        quiz: 
            ## The text shown in the answers (colors can replace the default one)
            1A: PVP
            1B: PVE (Co-op)
            2A: Cookie
            2B: Bread
            3A: Griefing
            3B: Moderating
            4A: Having Fun
            4B: Challenges
            5A: Stories
            5B: Action
            6A: Reading
            6B: Watching
            7A: Horror
            7B: Adventure
            8A: Chaos
            8B: Peace
            9A: Logic
            9B: Random
            10A: Building
            10B: Fighting
            11A: Singleplayer
            11B: Multiplayer
            12A: Fancy
            12B: Simple
            13A: Modded/Custom
            13B: Normal/Vanilla
            14A: Technology
            14B: Magic
            15A: Future
            15B: Medieval
            
    ## I am unable to include the question asked in the config list. 
    ## Its because of the 32 character limit that also includes tags as characters.
    ## This means you'll have to manually scroll down and edit all of them if you wish.

ButterflyMainEvents:
    type: world
    
    events:
        
        ## Just to make sure that all player's choices are saved and not lost.
        on server stop:
        - execute as_server "denizen save"
        
        ## Quiz 1
       
        ## Choice A
        on player clicks ButterflyQuiz1A in ButterflyQuiz1:
            ## Here we check if its the player's first time.
            - if <player.has_flag[ButterflyQuiz1]> {
                ## To make sure that players can't keep adding scores to the total, this makes sure of that.
                - if <player.flag[ButterflyQuiz1]> != "A" {
                    - flag server ButterflyQuizAnswer1A:++
                    - flag server ButterflyQuizAnswer1B:--
                }
            }
            ## If it is its first time, then add a new number to the total.
            else {
                - flag server ButterflyQuizAnswer1A:++
            }
            ## Changes the player's choice, useful for the other servers connected to the hub
            - flag player ButterflyQuiz1:A
            ## An usual "the items are fake!" thing.
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            ## Move on to the next question
            - inventory open d:in@ButterflyQuiz2
            
        ## Choice B
        on player clicks ButterflyQuiz1B in ButterflyQuiz1:
            ## Here we check if its the player's first time.
            - if <player.has_flag[ButterflyQuiz1]> {
                ## To make sure that players can't keep adding scores to the total, this makes sure of that.
                - if <player.flag[ButterflyQuiz1]> != "B" {
                    - flag server ButterflyQuizAnswer1B:++
                    - flag server ButterflyQuizAnswer1A:--
                }
            }
            ## If it is its first time, then add a new number to the total.
            else {
                - flag server ButterflyQuizAnswer1B:++
            }
            ## Changes the player's choice, useful for the other servers connected to the hub
            - flag player ButterflyQuiz1:B
            ## An usual "the items are fake!" thing.
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            ## Move on to the next question
            - inventory open d:in@ButterflyQuiz2
        
        ## Quiz 2
        
        on player clicks ButterflyQuiz2A in ButterflyQuiz2:
            - if <player.has_flag[ButterflyQuiz2]> {
                - if <player.flag[ButterflyQuiz2]> != "A" {
                    - flag server ButterflyQuizAnswer2A:++
                    - flag server ButterflyQuizAnswer2B:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer2A:++
            }
            - flag player ButterflyQuiz2:A
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz3
            
        on player clicks ButterflyQuiz2B in ButterflyQuiz2:
            - if <player.has_flag[ButterflyQuiz2]> {
                - if <player.flag[ButterflyQuiz2]> != "B" {
                    - flag server ButterflyQuizAnswer2B:++
                    - flag server ButterflyQuizAnswer2A:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer2B:++
            }
            - flag player ButterflyQuiz2:B
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz3
        
        ## Quiz 3
        
        on player clicks ButterflyQuiz3A in ButterflyQuiz3:
            - if <player.has_flag[ButterflyQuiz3]> {
                - if <player.flag[ButterflyQuiz3]> != "A" {
                    - flag server ButterflyQuizAnswer3A:++
                    - flag server ButterflyQuizAnswer3B:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer3A:++
            }
            - flag player ButterflyQuiz3:A
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz4
            
        on player clicks ButterflyQuiz3B in ButterflyQuiz3:
            - if <player.has_flag[ButterflyQuiz3]> {
                - if <player.flag[ButterflyQuiz3]> != "B" {
                    - flag server ButterflyQuizAnswer3B:++
                    - flag server ButterflyQuizAnswer3A:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer3B:++
            }
            - flag player ButterflyQuiz3:B
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz4
        
        ## Quiz 4
        
        on player clicks ButterflyQuiz4A in ButterflyQuiz4:
            - if <player.has_flag[ButterflyQuiz4]> {
                - if <player.flag[ButterflyQuiz4]> != "A" {
                    - flag server ButterflyQuizAnswer4A:++
                    - flag server ButterflyQuizAnswer4B:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer4A:++
            }
            - flag player ButterflyQuiz4:A
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz5
            
        on player clicks ButterflyQuiz4B in ButterflyQuiz4:
            - if <player.has_flag[ButterflyQuiz4]> {
                - if <player.flag[ButterflyQuiz4]> != "B" {
                    - flag server ButterflyQuizAnswer4B:++
                    - flag server ButterflyQuizAnswer4A:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer4B:++
            }
            - flag player ButterflyQuiz4:B
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz5
        
        ## Quiz 5
        
        on player clicks ButterflyQuiz5A in ButterflyQuiz5:
            - if <player.has_flag[ButterflyQuiz5]> {
                - if <player.flag[ButterflyQuiz5]> != "A" {
                    - flag server ButterflyQuizAnswer5A:++
                    - flag server ButterflyQuizAnswer5B:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer5A:++
            }
            - flag player ButterflyQuiz5:A
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz6
            
        on player clicks ButterflyQuiz5B in ButterflyQuiz5:
            - if <player.has_flag[ButterflyQuiz5]> {
                - if <player.flag[ButterflyQuiz5]> != "B" {
                    - flag server ButterflyQuizAnswer5B:++
                    - flag server ButterflyQuizAnswer5A:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer5B:++
            }
            - flag player ButterflyQuiz5:B
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz6
        
        ## Quiz 6
        
        on player clicks ButterflyQuiz6A in ButterflyQuiz6:
            - if <player.has_flag[ButterflyQuiz6]> {
                - if <player.flag[ButterflyQuiz6]> != "A" {
                    - flag server ButterflyQuizAnswer6A:++
                    - flag server ButterflyQuizAnswer6B:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer6A:++
            }
            - flag player ButterflyQuiz6:A
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz7
            
        on player clicks ButterflyQuiz6B in ButterflyQuiz6:
            - if <player.has_flag[ButterflyQuiz6]> {
                - if <player.flag[ButterflyQuiz6]> != "B" {
                    - flag server ButterflyQuizAnswer6B:++
                    - flag server ButterflyQuizAnswer6A:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer6B:++
            }
            - flag player ButterflyQuiz6:B
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz7
        
        ## Quiz 7
        
        on player clicks ButterflyQuiz7A in ButterflyQuiz7:
            - if <player.has_flag[ButterflyQuiz7]> {
                - if <player.flag[ButterflyQuiz7]> != "A" {
                    - flag server ButterflyQuizAnswer7A:++
                    - flag server ButterflyQuizAnswer7B:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer7A:++
            }
            - flag player ButterflyQuiz7:A
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz8
            
        on player clicks ButterflyQuiz7B in ButterflyQuiz7:
            - if <player.has_flag[ButterflyQuiz7]> {
                - if <player.flag[ButterflyQuiz7]> != "B" {
                    - flag server ButterflyQuizAnswer7B:++
                    - flag server ButterflyQuizAnswer7A:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer7B:++
            }
            - flag player ButterflyQuiz7:B
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz8
        
        ## Quiz 8
        
        on player clicks ButterflyQuiz8A in ButterflyQuiz8:
            - if <player.has_flag[ButterflyQuiz8]> {
                - if <player.flag[ButterflyQuiz8]> != "A" {
                    - flag server ButterflyQuizAnswer8A:++
                    - flag server ButterflyQuizAnswer8B:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer8A:++
            }
            - flag player ButterflyQuiz8:A
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz9
            
        on player clicks ButterflyQuiz8B in ButterflyQuiz8:
            - if <player.has_flag[ButterflyQuiz8]> {
                - if <player.flag[ButterflyQuiz8]> != "B" {
                    - flag server ButterflyQuizAnswer8B:++
                    - flag server ButterflyQuizAnswer8A:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer8B:++
            }
            - flag player ButterflyQuiz8:B
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz9
        
        ## Quiz 9
        
        on player clicks ButterflyQuiz9A in ButterflyQuiz9:
            - if <player.has_flag[ButterflyQuiz9]> {
                - if <player.flag[ButterflyQuiz9]> != "A" {
                    - flag server ButterflyQuizAnswer9A:++
                    - flag server ButterflyQuizAnswer9B:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer9A:++
            }
            - flag player ButterflyQuiz9:A
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz10
            
        on player clicks ButterflyQuiz9B in ButterflyQuiz9:
            - if <player.has_flag[ButterflyQuiz9]> {
                - if <player.flag[ButterflyQuiz9]> != "B" {
                    - flag server ButterflyQuizAnswer9B:++
                    - flag server ButterflyQuizAnswer9A:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer9B:++
            }
            - flag player ButterflyQuiz9:B
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz10
        
        ## Quiz 10
        
        on player clicks ButterflyQuiz10A in ButterflyQuiz10:
            - if <player.has_flag[ButterflyQuiz10]> {
                - if <player.flag[ButterflyQuiz10]> != "A" {
                    - flag server ButterflyQuizAnswer10A:++
                    - flag server ButterflyQuizAnswer10B:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer10A:++
            }
            - flag player ButterflyQuiz10:A
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz11
            
        on player clicks ButterflyQuiz10B in ButterflyQuiz10:
            - if <player.has_flag[ButterflyQuiz10]> {
                - if <player.flag[ButterflyQuiz10]> != "B" {
                    - flag server ButterflyQuizAnswer10B:++
                    - flag server ButterflyQuizAnswer10A:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer10B:++
            }
            - flag player ButterflyQuiz10:B
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz11
        
        ## Quiz 11
        
        on player clicks ButterflyQuiz11A in ButterflyQuiz11:
            - if <player.has_flag[ButterflyQuiz11]> {
                - if <player.flag[ButterflyQuiz11]> != "A" {
                    - flag server ButterflyQuizAnswer11A:++
                    - flag server ButterflyQuizAnswer11B:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer11A:++
            }
            - flag player ButterflyQuiz11:A
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz12
            
        on player clicks ButterflyQuiz11B in ButterflyQuiz11:
            - if <player.has_flag[ButterflyQuiz11]> {
                - if <player.flag[ButterflyQuiz11]> != "B" {
                    - flag server ButterflyQuizAnswer11B:++
                    - flag server ButterflyQuizAnswer11A:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer11B:++
            }
            - flag player ButterflyQuiz11:B
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz12
        
        ## Quiz 12
        
        on player clicks ButterflyQuiz12A in ButterflyQuiz12:
            - if <player.has_flag[ButterflyQuiz12]> {
                - if <player.flag[ButterflyQuiz12]> != "A" {
                    - flag server ButterflyQuizAnswer12A:++
                    - flag server ButterflyQuizAnswer12B:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer12A:++
            }
            - flag player ButterflyQuiz12:A
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz13
            
        on player clicks ButterflyQuiz12B in ButterflyQuiz12:
            - if <player.has_flag[ButterflyQuiz12]> {
                - if <player.flag[ButterflyQuiz12]> != "B" {
                    - flag server ButterflyQuizAnswer12B:++
                    - flag server ButterflyQuizAnswer12A:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer12B:++
            }
            - flag player ButterflyQuiz12:B
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz13
        
        ## Quiz 13
        
        on player clicks ButterflyQuiz13A in ButterflyQuiz13:
            - if <player.has_flag[ButterflyQuiz13]> {
                - if <player.flag[ButterflyQuiz13]> != "A" {
                    - flag server ButterflyQuizAnswer13A:++
                    - flag server ButterflyQuizAnswer13B:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer13A:++
            }
            - flag player ButterflyQuiz13:A
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz14
            
        on player clicks ButterflyQuiz13B in ButterflyQuiz13:
            - if <player.has_flag[ButterflyQuiz13]> {
                - if <player.flag[ButterflyQuiz13]> != "B" {
                    - flag server ButterflyQuizAnswer13B:++
                    - flag server ButterflyQuizAnswer13A:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer13B:++
            }
            - flag player ButterflyQuiz13:B
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz14
        
        ## Quiz 14
        
        on player clicks ButterflyQuiz14A in ButterflyQuiz14:
            - if <player.has_flag[ButterflyQuiz14]> {
                - if <player.flag[ButterflyQuiz14]> != "A" {
                    - flag server ButterflyQuizAnswer14A:++
                    - flag server ButterflyQuizAnswer14B:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer14A:++
            }
            - flag player ButterflyQuiz14:A
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz15
            
        on player clicks ButterflyQuiz14B in ButterflyQuiz14:
            - if <player.has_flag[ButterflyQuiz14]> {
                - if <player.flag[ButterflyQuiz14]> != "B" {
                    - flag server ButterflyQuizAnswer14B:++
                    - flag server ButterflyQuizAnswer14A:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer14B:++
            }
            - flag player ButterflyQuiz14:B
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - inventory open d:in@ButterflyQuiz15
        
        ## Quiz 15
        
        on player clicks ButterflyQuiz15A in ButterflyQuiz15:
            - if <player.has_flag[ButterflyQuiz15]> {
                - if <player.flag[ButterflyQuiz15]> != "A" {
                    - flag server ButterflyQuizAnswer15A:++
                    - flag server ButterflyQuizAnswer15B:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer15A:++
            }
            - flag player ButterflyQuiz15:A
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - narrate "<&a>All your responses has been recorded."
            - narrate "<&7>Please note that these records are used for gameplay changes and improvements towards the server. This also means they may have impact on individual experience and make every player have a different outcome."
            - narrate "<&7>You can check yours and others answers with <&b>/result"
            
        on player clicks ButterflyQuiz15B in ButterflyQuiz15:
            - if <player.has_flag[ButterflyQuiz15]> {
                - if <player.flag[ButterflyQuiz15]> != "B" {
                    - flag server ButterflyQuizAnswer15B:++
                    - flag server ButterflyQuizAnswer15A:--
                }
            }
            else {
                - flag server ButterflyQuizAnswer15B:++
            }
            - flag player ButterflyQuiz15:B
            - determine cancelled passively
            - inventory close d:<context.inventory> 
            - narrate "<&a>All your responses has been recorded."
            - narrate "<&7>Please note that these records are used for gameplay changes and improvements towards the server. This also means they may have impact on individual experience and make every player have a different outcome."
            - narrate "<&7>You can check yours and others answers with <&b>/result"
    
    
ButterflyResults:
    type: command
    name: result
    script:
    - narrate "<&c>What do you like the most?"
    - narrate "<&7><&l>----------------------------------"
    - narrate "<&7>You = <&a>Green" 
    - narrate "<&7>Total/Global = <&9>Blue"
    - narrate "<&7><&l>----------------------------------"
    - if <player.has_flag[ButterflyQuiz15]> {
        - if <player.flag[ButterflyQuiz1]> == "A" {
            - narrate "<&7>1. <&a><s@ButterflyConfig.yaml_key[config.quiz.1A]><&9>(<server.flag[ButterflyQuizAnswer1A].as_int>)<&7><&l><&7><s@ButterflyConfig.yaml_key[config.quiz.1B]><&9>(<server.flag[ButterflyQuizAnswer1B].as_int>)"
        }
        else {
            - narrate "<&7>1. <s@ButterflyConfig.yaml_key[config.quiz.1A]><&9>(<server.flag[ButterflyQuizAnswer1A].as_int>)<&7><&l><&a><s@ButterflyConfig.yaml_key[config.quiz.1B]><&9>(<server.flag[ButterflyQuizAnswer1B].as_int>)"
        }
        - if <player.flag[ButterflyQuiz2]> == "A" {
            - narrate "<&7>2. <&a><s@ButterflyConfig.yaml_key[config.quiz.2A]><&9>(<server.flag[ButterflyQuizAnswer2A].as_int>)<&7><&l><&7><s@ButterflyConfig.yaml_key[config.quiz.2B]><&9>(<server.flag[ButterflyQuizAnswer2B].as_int>)"
        }
        else {
            - narrate "<&7>2. <s@ButterflyConfig.yaml_key[config.quiz.2A]><&9>(<server.flag[ButterflyQuizAnswer2A].as_int>)<&7><&l><&a><s@ButterflyConfig.yaml_key[config.quiz.2B]><&9>(<server.flag[ButterflyQuizAnswer2B].as_int>)"
        }
        - if <player.flag[ButterflyQuiz3]> == "A" {
            - narrate "<&7>3. <&a><s@ButterflyConfig.yaml_key[config.quiz.3A]><&9>(<server.flag[ButterflyQuizAnswer3A].as_int>)<&7><&l><&7><s@ButterflyConfig.yaml_key[config.quiz.3B]><&9>(<server.flag[ButterflyQuizAnswer3B].as_int>)"
        }
        else {
            - narrate "<&7>3. <s@ButterflyConfig.yaml_key[config.quiz.3A]><&9>(<server.flag[ButterflyQuizAnswer3A].as_int>)<&7><&l><&a><s@ButterflyConfig.yaml_key[config.quiz.3B]><&9>(<server.flag[ButterflyQuizAnswer3B].as_int>)"
        }
        - if <player.flag[ButterflyQuiz4]> == "A" {
            - narrate "<&7>4. <&a><s@ButterflyConfig.yaml_key[config.quiz.4A]><&9>(<server.flag[ButterflyQuizAnswer4A].as_int>)<&7><&l><&7><s@ButterflyConfig.yaml_key[config.quiz.4B]><&9>(<server.flag[ButterflyQuizAnswer4B].as_int>)"
        }
        else {
            - narrate "<&7>4. <s@ButterflyConfig.yaml_key[config.quiz.4A]><&9>(<server.flag[ButterflyQuizAnswer4A].as_int>)<&7><&l><&a><s@ButterflyConfig.yaml_key[config.quiz.4B]><&9>(<server.flag[ButterflyQuizAnswer4B].as_int>)"
        }
        - if <player.flag[ButterflyQuiz5]> == "A" {
            - narrate "<&7>5. <&a><s@ButterflyConfig.yaml_key[config.quiz.5A]><&9>(<server.flag[ButterflyQuizAnswer5A].as_int>)<&7><&l><&7><s@ButterflyConfig.yaml_key[config.quiz.5B]><&9>(<server.flag[ButterflyQuizAnswer5B].as_int>)"
        }
        else {
            - narrate "<&7>5. <s@ButterflyConfig.yaml_key[config.quiz.5A]><&9>(<server.flag[ButterflyQuizAnswer5A].as_int>)<&7><&l><&a><s@ButterflyConfig.yaml_key[config.quiz.5B]><&9>(<server.flag[ButterflyQuizAnswer5B].as_int>)"
        }
        - if <player.flag[ButterflyQuiz6]> == "A" {
            - narrate "<&7>6. <&a><s@ButterflyConfig.yaml_key[config.quiz.6A]><&9>(<server.flag[ButterflyQuizAnswer6A].as_int>)<&7><&l><&7><s@ButterflyConfig.yaml_key[config.quiz.6B]><&9>(<server.flag[ButterflyQuizAnswer6B].as_int>)"
        }
        else {
            - narrate "<&7>6. <s@ButterflyConfig.yaml_key[config.quiz.6A]><&9>(<server.flag[ButterflyQuizAnswer6A].as_int>)<&7><&l><&a><s@ButterflyConfig.yaml_key[config.quiz.6B]><&9>(<server.flag[ButterflyQuizAnswer6B].as_int>)"
        }
        - if <player.flag[ButterflyQuiz7]> == "A" {
            - narrate "<&7>7. <&a><s@ButterflyConfig.yaml_key[config.quiz.7A]><&9>(<server.flag[ButterflyQuizAnswer7A].as_int>)<&7><&l><&7><s@ButterflyConfig.yaml_key[config.quiz.7B]><&9>(<server.flag[ButterflyQuizAnswer7B].as_int>)"
        }
        else {
            - narrate "<&7>7. <s@ButterflyConfig.yaml_key[config.quiz.7A]><&9>(<server.flag[ButterflyQuizAnswer7A].as_int>)<&7><&l><&a><s@ButterflyConfig.yaml_key[config.quiz.7B]><&9>(<server.flag[ButterflyQuizAnswer7B].as_int>)"
        }
        - if <player.flag[ButterflyQuiz8]> == "A" {
            - narrate "<&7>8. <&a><s@ButterflyConfig.yaml_key[config.quiz.8A]><&9>(<server.flag[ButterflyQuizAnswer8A].as_int>)<&7><&l><&7><s@ButterflyConfig.yaml_key[config.quiz.8B]><&9>(<server.flag[ButterflyQuizAnswer8B].as_int>)"
        }
        else {
            - narrate "<&7>8. <s@ButterflyConfig.yaml_key[config.quiz.8A]><&9>(<server.flag[ButterflyQuizAnswer8A].as_int>)<&7><&l><&a><s@ButterflyConfig.yaml_key[config.quiz.8B]><&9>(<server.flag[ButterflyQuizAnswer8B].as_int>)"
        }
        - if <player.flag[ButterflyQuiz9]> == "A" {
            - narrate "<&7>9. <&a><s@ButterflyConfig.yaml_key[config.quiz.9A]><&9>(<server.flag[ButterflyQuizAnswer9A].as_int>)<&7><&l><&7><s@ButterflyConfig.yaml_key[config.quiz.9B]><&9>(<server.flag[ButterflyQuizAnswer9B].as_int>)"
        }
        else {
            - narrate "<&7>9. <s@ButterflyConfig.yaml_key[config.quiz.9A]><&9>(<server.flag[ButterflyQuizAnswer9A].as_int>)<&7><&l><&a><s@ButterflyConfig.yaml_key[config.quiz.9B]><&9>(<server.flag[ButterflyQuizAnswer9B].as_int>)"
        }
        - if <player.flag[ButterflyQuiz10]> == "A" {
            - narrate "<&7>10. <&a><s@ButterflyConfig.yaml_key[config.quiz.10A]><&9>(<server.flag[ButterflyQuizAnswer10A].as_int>)<&7><&l><&7><s@ButterflyConfig.yaml_key[config.quiz.10B]><&9>(<server.flag[ButterflyQuizAnswer10B].as_int>)"
        }
        else {
            - narrate "<&7>10. <s@ButterflyConfig.yaml_key[config.quiz.10A]><&9>(<server.flag[ButterflyQuizAnswer10A].as_int>)<&7><&l><&a><s@ButterflyConfig.yaml_key[config.quiz.10B]><&9>(<server.flag[ButterflyQuizAnswer10B].as_int>)"
        }
        - if <player.flag[ButterflyQuiz11]> == "A" {
            - narrate "<&7>11. <&a><s@ButterflyConfig.yaml_key[config.quiz.11A]><&9>(<server.flag[ButterflyQuizAnswer11A].as_int>)<&7><&l><&7><s@ButterflyConfig.yaml_key[config.quiz.11B]><&9>(<server.flag[ButterflyQuizAnswer11B].as_int>)"
        }
        else {
            - narrate "<&7>11. <s@ButterflyConfig.yaml_key[config.quiz.11A]><&9>(<server.flag[ButterflyQuizAnswer11A].as_int>)<&7><&l><&a><s@ButterflyConfig.yaml_key[config.quiz.11B]><&9>(<server.flag[ButterflyQuizAnswer11B].as_int>)"
        }
        - if <player.flag[ButterflyQuiz12]> == "A" {
            - narrate "<&7>12. <&a><s@ButterflyConfig.yaml_key[config.quiz.12A]><&9>(<server.flag[ButterflyQuizAnswer12A].as_int>)<&7><&l><&7><s@ButterflyConfig.yaml_key[config.quiz.12B]><&9>(<server.flag[ButterflyQuizAnswer12B].as_int>)"
        }
        else {
            - narrate "<&7>12. <s@ButterflyConfig.yaml_key[config.quiz.12A]><&9>(<server.flag[ButterflyQuizAnswer12A].as_int>)<&7><&l><&a><s@ButterflyConfig.yaml_key[config.quiz.12B]><&9>(<server.flag[ButterflyQuizAnswer12B].as_int>)"
        }
        - if <player.flag[ButterflyQuiz13]> == "A" {
            - narrate "<&7>13. <&a><s@ButterflyConfig.yaml_key[config.quiz.13A]><&9>(<server.flag[ButterflyQuizAnswer13A].as_int>)<&7><&l><&7><s@ButterflyConfig.yaml_key[config.quiz.13B]><&9>(<server.flag[ButterflyQuizAnswer13B].as_int>)"
        }
        else {
            - narrate "<&7>13. <s@ButterflyConfig.yaml_key[config.quiz.13A]><&9>(<server.flag[ButterflyQuizAnswer13A].as_int>)<&7><&l><&a><s@ButterflyConfig.yaml_key[config.quiz.13B]><&9>(<server.flag[ButterflyQuizAnswer13B].as_int>)"
        }
        - if <player.flag[ButterflyQuiz14]> == "A" {
            - narrate "<&7>14. <&a><s@ButterflyConfig.yaml_key[config.quiz.14A]><&9>(<server.flag[ButterflyQuizAnswer14A].as_int>)<&7><&l><&7><s@ButterflyConfig.yaml_key[config.quiz.14B]><&9>(<server.flag[ButterflyQuizAnswer14B].as_int>)"
        }
        else {
            - narrate "<&7>14. <s@ButterflyConfig.yaml_key[config.quiz.14A]><&9>(<server.flag[ButterflyQuizAnswer14A].as_int>)<&7><&l><&a><s@ButterflyConfig.yaml_key[config.quiz.14B]><&9>(<server.flag[ButterflyQuizAnswer14B].as_int>)"
        }
        - if <player.flag[ButterflyQuiz15]> == "A" {
            - narrate "<&7>15. <&a><s@ButterflyConfig.yaml_key[config.quiz.15A]><&9>(<server.flag[ButterflyQuizAnswer15A].as_int>)<&7><&l><&7><s@ButterflyConfig.yaml_key[config.quiz.15B]><&9>(<server.flag[ButterflyQuizAnswer15B].as_int>)"
        }
        else {
            - narrate "<&7>15. <s@ButterflyConfig.yaml_key[config.quiz.15A]><&9>(<server.flag[ButterflyQuizAnswer15A].as_int>)<&7><&l><&a><s@ButterflyConfig.yaml_key[config.quiz.15B]><&9>(<server.flag[ButterflyQuizAnswer15B].as_int>)"
        }
        
    }
    else {
        - narrate "You have not answered all the questions."
    }

  
##  
## Quiz 1  
## 
   
ButterflyQuiz1: 
  type: inventory 
  inventory: CHEST
  title<&c>What do you like most? <&9>1/15
  size: 9 
  definitions: 
    A: i@ButterflyQuiz1A
    B: i@ButterflyQuiz1B
  slots: 
    - "[] [] [A] [] [] [] [B] [] []" 
   
ButterflyQuiz1A:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.1A].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.1A]>
    
ButterflyQuiz1B:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.1B].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.1B]>
    
##
## Quiz 2   
##
   
ButterflyQuiz2: 
  type: inventory 
  inventory: CHEST
  title<red>What do you like most? <&9>2/15
  size: 9 
  definitions: 
    A: i@ButterflyQuiz2A
    B: i@ButterflyQuiz2B
  slots: 
    - "[] [] [A] [] [] [] [B] [] []" 
   
ButterflyQuiz2A:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.2A].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.2A]>
    
ButterflyQuiz2B:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.2B].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.2B]>
    
##
## Quiz 3   
##
   
ButterflyQuiz3: 
  type: inventory 
  inventory: CHEST
  title<red>What do you like most? <&9>3/15
  size: 9 
  definitions: 
    A: i@ButterflyQuiz3A
    B: i@ButterflyQuiz3B
  slots: 
    - "[] [] [A] [] [] [] [B] [] []" 
   
ButterflyQuiz3A:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.3A].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.3A]>
    
ButterflyQuiz3B:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.3B].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.3B]>
    
##
## Quiz 4   
##
   
ButterflyQuiz4: 
  type: inventory 
  inventory: CHEST
  title<red>What do you like most? <&9>4/15
  size: 9 
  definitions: 
    A: i@ButterflyQuiz4A
    B: i@ButterflyQuiz4B
  slots: 
    - "[] [] [A] [] [] [] [B] [] []" 
   
ButterflyQuiz4A:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.4A].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.4A]>
    
ButterflyQuiz4B:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.4B].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.4B]>
    
##
## Quiz 5   
##
   
ButterflyQuiz5: 
  type: inventory 
  inventory: CHEST
  title<red>What do you like most? <&9>5/15
  size: 9 
  definitions: 
    A: i@ButterflyQuiz5A
    B: i@ButterflyQuiz5B
  slots: 
    - "[] [] [A] [] [] [] [B] [] []" 
   
ButterflyQuiz5A:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.5A].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.5A]>
    
ButterflyQuiz5B:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.5B].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.5B]>
    
##
## Quiz 6   
##
   
ButterflyQuiz6: 
  type: inventory 
  inventory: CHEST
  title<red>What do you like most? <&9>6/15
  size: 9 
  definitions: 
    A: i@ButterflyQuiz6A
    B: i@ButterflyQuiz6B
  slots: 
    - "[] [] [A] [] [] [] [B] [] []" 
   
ButterflyQuiz6A:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.6A].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.6A]>
    
ButterflyQuiz6B:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.6B].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.6B]>
    
##
## Quiz 7   
##
   
ButterflyQuiz7: 
  type: inventory 
  inventory: CHEST
  title<red>What do you like most? <&9>7/15
  size: 9 
  definitions: 
    A: i@ButterflyQuiz7A
    B: i@ButterflyQuiz7B
  slots: 
    - "[] [] [A] [] [] [] [B] [] []" 
   
ButterflyQuiz7A:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.7A].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.7A]>
    
ButterflyQuiz7B:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.7B].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.7B]>
    
##
## Quiz 8   
##
   
ButterflyQuiz8: 
  type: inventory 
  inventory: CHEST
  title<red>What do you like most? <&9>8/15
  size: 9 
  definitions: 
    A: i@ButterflyQuiz8A
    B: i@ButterflyQuiz8B
  slots: 
    - "[] [] [A] [] [] [] [B] [] []" 
   
ButterflyQuiz8A:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.8A].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.8A]>
    
ButterflyQuiz8B:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.8B].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.8B]>
    
##
## Quiz 9   
##
   
ButterflyQuiz9: 
  type: inventory 
  inventory: CHEST
  title<red>What do you like most? <&9>9/15
  size: 9 
  definitions: 
    A: i@ButterflyQuiz9A
    B: i@ButterflyQuiz9B
  slots: 
    - "[] [] [A] [] [] [] [B] [] []" 
   
ButterflyQuiz9A:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.9A].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.9A]>
    
ButterflyQuiz9B:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.9B].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.9B]>
    
##
## Quiz 10
##
   
ButterflyQuiz10: 
  type: inventory 
  inventory: CHEST
  title<red>What do you like most? <&9>10/15
  size: 9 
  definitions: 
    A: i@ButterflyQuiz10A
    B: i@ButterflyQuiz10B
  slots: 
    - "[] [] [A] [] [] [] [B] [] []" 
   
ButterflyQuiz10A:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.10A].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.10A]>
    
ButterflyQuiz10B:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.10B].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.10B]>
    
##
## Quiz 11  
##
   
ButterflyQuiz11: 
  type: inventory 
  inventory: CHEST
  title<red>What do you like most? <&9>11/15
  size: 9 
  definitions: 
    A: i@ButterflyQuiz11A
    B: i@ButterflyQuiz11B
  slots: 
    - "[] [] [A] [] [] [] [B] [] []" 
   
ButterflyQuiz11A:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.11A].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.11A]>
    
ButterflyQuiz11B:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.11B].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.11B]>
    
##
## Quiz 12   
##
   
ButterflyQuiz12: 
  type: inventory 
  inventory: CHEST
  title<red>What do you like most? <&9>12/15
  size: 9 
  definitions: 
    A: i@ButterflyQuiz12A
    B: i@ButterflyQuiz12B
  slots: 
    - "[] [] [A] [] [] [] [B] [] []" 
   
ButterflyQuiz12A:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.12A].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.12A]>
    
ButterflyQuiz12B:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.12B].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.12B]>
    
##
## Quiz 13   
##
   
ButterflyQuiz13: 
  type: inventory 
  inventory: CHEST
  title<red>What do you like most? <&9>13/15
  size: 9 
  definitions: 
    A: i@ButterflyQuiz13A
    B: i@ButterflyQuiz13B
  slots: 
    - "[] [] [A] [] [] [] [B] [] []" 
   
ButterflyQuiz13A:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.13A].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.13A]>
    
ButterflyQuiz13B:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.13B].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.13B]>
    
##
## Quiz 14   
##
   
ButterflyQuiz14: 
  type: inventory 
  inventory: CHEST
  title<red>What do you like most? <&9>14/15
  size: 9 
  definitions: 
    A: i@ButterflyQuiz14A
    B: i@ButterflyQuiz14B
  slots: 
    - "[] [] [A] [] [] [] [B] [] []" 
   
ButterflyQuiz14A:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.14A].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.14A]>
    
ButterflyQuiz14B:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.14B].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.14B]>
    
##
## Quiz 15   
##
   
ButterflyQuiz15: 
  type: inventory 
  inventory: CHEST
  title<red>What do you like most? <&9>15/15
  size: 9 
  definitions: 
    A: i@ButterflyQuiz15A
    B: i@ButterflyQuiz15B
  slots: 
    - "[] [] [A] [] [] [] [B] [] []" 
   
ButterflyQuiz15A:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.15A].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.15A]>
    
ButterflyQuiz15B:
    type: item
    material<s@ButterflyConfig.yaml_key[config.material.15B].as_material>
    display name<green><s@ButterflyConfig.yaml_key[config.quiz.15B]>
    





View History