on anvil prepare: if slot 0 of event-inventory is a diamond pickaxe of efficiency 5: if slot 1 of event-inventory is an enchanted book: if stored enchants of slot 1 of event-inventory contains Efficiency 5: set {_i} to slot 0 of event-inventory set line 1 of the lore of {_i} to "&aWydajność VI/X" enchant {_i} with Efficiency 6 set event-slot to {_i} set repair cost of event-inventory to 30 if slot 1 of event-inventory is an enchanted book: if stored enchants of slot 1 of event-inventory contains Efficiency 6: set {_i} to slot 0 of event-inventory set line 1 of the lore of {_i} to "&aWydajność VII/X" enchant {_i} with Efficiency 7 set event-slot to {_i} set repair cost of event-inventory to 40 if stored enchants of slot 1 of event-inventory contains Efficiency 7: set {_i} to slot 0 of event-inventory set line 1 of the lore of {_i} to "&aWydajność VIII/X" enchant {_i} with Efficiency 8 set event-slot to {_i} set repair cost of event-inventory to 50 if stored enchants of slot 1 of event-inventory contains Efficiency 8: set {_i} to slot 0 of event-inventory set line 1 of the lore of {_i} to "&aWydajność IX/X" enchant {_i} with Efficiency 9 set event-slot to {_i} set repair cost of event-inventory to 50 if stored enchants of slot 1 of event-inventory contains Efficiency 9: set {_i} to slot 0 of event-inventory set line 1 of the lore of {_i} to "&aWydajność X/X MAX" enchant {_i} with Efficiency 10 set event-slot to {_i} set repair cost of event-inventory to 50