Guest User

Untitled

a guest
Dec 10th, 2014
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # (*) MY SMALL DROPS        (*) #
  2. # (*) Author: SeekeeR       (*) #
  3. # (*) Version: 1.0          (*) #
  4.  
  5. #=================================================#
  6. #                     Zmienne                     #
  7. #=================================================#
  8. Variables:
  9.     #Drop
  10.     {Cobble.%player%} = true
  11.     #Statystyki
  12.     {Diamenty.%player%} = 0
  13.     {Zloto.%player%} = 0
  14.     {Zelazo.%player%} = 0
  15.     {Szmaragdy.%player%} = 0
  16.  
  17. #=================================================#
  18. #                      Opcje                      #
  19. #=================================================#
  20. Options:
  21.     #Nazwa
  22.     Tag: &8[&6&lDROP CB&8]
  23.     #Permisja
  24.     Permisja: seek.vip
  25. #==========> Drop - STONE
  26. #=====> Gracz - _G
  27. #=====> VIP - _V
  28.     #Szansa na: Diament %    
  29.     Diament1_G: 0.75
  30.     Diament1_V: 1.00
  31.     #Szansa na: Zloto %
  32.     Zloto1_G: 1.50
  33.     Zloto1_V: 2.00
  34.     #Szansa na: Zelazo %
  35.     Zelazo1_G: 2.00
  36.     Zelazo1_V: 2.50
  37.     #Szansa na: Wegiel %
  38.     Wegiel1_G: 2.50
  39.     Wegiel1_V: 3.00
  40.     #Szansa na: Szmaragdy %
  41.     Szmaragdy1_G: 0.50
  42.     Szmaragdy1_V: 0.75
  43.     #Szansa na: Redstone %
  44.     Redstone1_G: 1.00
  45.     Redstone1_V: 1.50
  46.     #Szansa na: Slimeball %
  47.     Slimeball1_G: 0.30
  48.     Slimeball1_V: 0.50
  49.     #Szansa na: Lapis %
  50.     Lapis1_G: 0.40
  51.     Lapis1_V: 0.75
  52.     #Szansa na: EXP %
  53.     Exp1_G: 15
  54.     Exp1_V: 25
  55. #==========> Drop - COBBLESTONE
  56. #=====> Gracz - _G
  57. #=====> VIP - _V
  58.     #Szansa na: Diament %
  59.     Diament2_G: 0.50
  60.     Diament2_V: 0.75
  61.     #Szansa na: Zloto %
  62.     Zloto2_G: 0.75
  63.     Zloto2_V: 1.25
  64.     #Szansa na: Zelazo %
  65.     Zelazo2_G: 1.25
  66.     Zelazo2_V: 1.50
  67.     #Szansa na: Wegiel %
  68.     Wegiel2_G: 2.00
  69.     Wegiel2_V: 2.50
  70.     #Szansa na: Szmaragdy %
  71.     Szmaragdy2_G: 0.25
  72.     Szmaragdy2_V: 0.50
  73.     #Szansa na: Redstone %
  74.     Redstone2_G: 0.75
  75.     Redstone2_V: 1.00
  76.     #Szansa na: Slimeball %
  77.     Slimeball2_G: 0.50
  78.     Slimeball2_V: 0.75
  79.     #Szansa na: Lapis %
  80.     Lapis2_G: 0.20
  81.     Lapis2_V: 0.50
  82.     #Szansa na: EXP %
  83.     Exp2_G: 10
  84.     Exp2_V: 20
  85. #==========> Blokada dropu z rud
  86.     Blokada: Coal Ore or Iron Ore or Gold Ore or Diamond Ore or Redstone Ore or Emerald Ore or Lapis Lazuli Ore
  87. #==========> Szansa na dodatkowy - Obsydian
  88.     Obsydian: 10
  89.    
  90. #=================================================#
  91. #                     Komendy                     #
  92. #=================================================#
  93. #Kod na komende - /drop
  94. Command /drop [<text>] [<text>]:
  95.     trigger:
  96.         #Argument nie jest ustawiony
  97.         if arg 1 is not set:
  98.             send "&4&l================={@Tag}&4&l=================" to player
  99.             send "&e/drop stone &a- pokazuje ile jest procent na drop." to player
  100.             send "&e/drop cobblestone &a- pokazuje ile jest procent na drop." to player
  101.             send "&e/drop staty &b- pokazuje ile wykopales surowcow." to player
  102.             send "&e/drop wylacz &a- wylaczasz wypadanie urobku." to player
  103.             send "&e/drop wlacz &a- wlaczasz wypadanie urobku." to player
  104.             send "&e/drop reset &c- resetuje Twoje statystyki." to player
  105.             stop
  106.            
  107.         #Argumentem jest - stone
  108.         if arg 1 is "stone":
  109.             #Argument nie jest ustawiony
  110.             if arg 2 is not set:
  111.                 send "&4&l================={@Tag}&4&l=================" to player
  112.                 send "&e/drop stone gracz" to player
  113.                 send "&e/drop stone vip" to player
  114.                 stop
  115.                
  116.             #Argumentem jest - gracz
  117.             if arg 2 is "gracz":
  118.                 send "&4&l======={@Tag}&4&l=======" to player
  119.                 send "&5&l>> &bDiament &f- &3&l{@Diament1_G}&f&l%%" to player
  120.                 send "&5&l>> &6Zloto &f- &3&l{@Zloto1_G}&f&l%%" to player
  121.                 send "&5&l>> &7Zelazo &f- &3&l{@Zelazo1_G}&f&l%%" to player
  122.                 send "&5&l>> &8Wegiel &f- &3&l{@Wegiel1_G}&f&l%%" to player
  123.                 send "&5&l>> &2Szmaragdy &f- &3&l{@Szmaragdy1_G}&f&l%%" to player
  124.                 send "&5&l>> &cRedstone &f- &3&l{@Redstone1_G}&f&l%%" to player
  125.                 send "&5&l>> &aSlimeball &f- &3&l{@Slimeball1_G}&f&l%%" to player
  126.                 send "&5&l>> &1Lapis &f- &3&l{@Lapis1_G}&f&l%%" to player
  127.                 send "&5&l>> &9EXP &f- &3&l{@Exp1_G}&f&l%%" to player
  128.                 send "&4&l======={@Tag}&4&l=======" to player
  129.                 stop
  130.            
  131.             #Argumentem jest - vip
  132.             if arg 2 is "vip":
  133.                 send "&4&l======={@Tag}&4&l=======" to player
  134.                 send "&5&l>> &bDiament &f- &3&l{@Diament1_V}&f&l%%" to player
  135.                 send "&5&l>> &6Zloto &f- &3&l{@Zloto1_V}&f&l%%" to player
  136.                 send "&5&l>> &7Zelazo &f- &3&l{@Zelazo1_V}&f&l%%" to player
  137.                 send "&5&l>> &8Wegiel &f- &3&l{@Wegiel1_V}&f&l%%" to player
  138.                 send "&5&l>> &2Szmaragdy &f- &3&l{@Szmaragdy1_V}&f&l%%" to player
  139.                 send "&5&l>> &cRedstone &f- &3&l{@Redstone1_V}&f&l%%" to player
  140.                 send "&5&l>> &aSlimeball &f- &3&l{@Slimeball1_V}&f&l%%" to player
  141.                 send "&5&l>> &1Lapis &f- &3&l{@Lapis1_V}&f&l%%" to player
  142.                 send "&5&l>> &9EXP &f- &3&l{@Exp1_V}&f&l%%" to player
  143.                 send "&4&l======={@Tag}&4&l=======" to player
  144.                 stop
  145.             stop
  146.            
  147.         #Argumentem jest - cobblestone
  148.         if arg 1 is "cobblestone":
  149.             #Argument nie jest ustawiony
  150.             if arg 2 is not set:
  151.                 send "&4&l================={@Tag}&4&l=================" to player
  152.                 send "&e/drop cobblestone gracz" to player
  153.                 send "&e/drop cobblestone vip" to player
  154.                 stop
  155.                
  156.             #Argumentem jest - gracz
  157.             if arg 2 is "gracz":
  158.                 send "&4&l======={@Tag}&4&l=======" to player
  159.                 send "&5&l>> &bDiament &f- &3&l{@Diament2_G}&f&l%%" to player
  160.                 send "&5&l>> &6Zloto &f- &3&l{@Zloto2_G}&f&l%%" to player
  161.                 send "&5&l>> &7Zelazo &f- &3&l{@Zelazo2_G}&f&l%%" to player
  162.                 send "&5&l>> &8Wegiel &f- &3&l{@Wegiel2_G}&f&l%%" to player
  163.                 send "&5&l>> &2Szmaragdy &f- &3&l{@Szmaragdy2_G}&f&l%%" to player
  164.                 send "&5&l>> &cRedstone &f- &3&l{@Redstone2_G}&f&l%%" to player
  165.                 send "&5&l>> &aSlimeball &f- &3&l{@Slimeball2_G}&f&l%%" to player
  166.                 send "&5&l>> &1Lapis &f- &3&l{@Lapis2_G}&f&l%%" to player
  167.                 send "&5&l>> &9EXP &f- &3&l{@Exp2_G}&f&l%%" to player
  168.                 send "&4&l======={@Tag}&4&l=======" to player
  169.                 stop
  170.                
  171.             #Argumentem jest - vip
  172.             if arg 2 is "vip":
  173.                 send "&4&l======={@Tag}&4&l=======" to player
  174.                 send "&5&l>> &bDiament &f- &3&l{@Diament2_V}&f&l%%" to player
  175.                 send "&5&l>> &6Zloto &f- &3&l{@Zloto2_V}&f&l%%" to player
  176.                 send "&5&l>> &7Zelazo &f- &3&l{@Zelazo2_V}&f&l%%" to player
  177.                 send "&5&l>> &8Wegiel &f- &3&l{@Wegiel2_V}&f&l%%" to player
  178.                 send "&5&l>> &2Szmaragdy &f- &3&l{@Szmaragdy2_V}&f&l%%" to player
  179.                 send "&5&l>> &cRedstone &f- &3&l{@Redstone2_V}&f&l%%" to player
  180.                 send "&5&l>> &aSlimeball &f- &3&l{@Slimeball2_V}&f&l%%" to player
  181.                 send "&5&l>> &1Lapis &f- &3&l{@Lapis2_V}&f&l%%" to player
  182.                 send "&5&l>> &9EXP &f- &3&l{@Exp2_V}&f&l%%" to player
  183.                 send "&4&l======={@Tag}&4&l=======" to player
  184.                 stop
  185.             stop
  186.            
  187.         #Argumentem jest - staty
  188.         if arg 1 is "staty":
  189.             send "&4----------------" to player
  190.             send "| &bDiamenty: &f%{Diamenty.%player%}%" to player
  191.             send "| &6Zloto: &f%{Zloto.%player%}%" to player
  192.             send "| &7Zelazo: &f%{Zelazo.%player%}%" to player
  193.             send "| &2Szmaragdy: &f%{Szmaragdy.%player%}%" to player
  194.             send "&4----------------" to player
  195.             stop
  196.            
  197.         #Argumentem jest - wylacz
  198.         if arg 1 is "wylacz":
  199.             send "{@Tag} &cWylaczyles wypadanie Stone/Cobblestone." to player
  200.             set {Cobble.%player%} to false
  201.             stop
  202.            
  203.         #Argumentem jest - wlacz
  204.         if arg 1 is "wlacz":
  205.             send "{@Tag} &aWlaczyles wypadanie Stone/Cobblestone." to player
  206.             set {Cobble.%player%} to true
  207.             stop
  208.            
  209.         #Argumentem jest - reset
  210.         if arg 1 is "reset":
  211.             #Argument nie jest ustawiony
  212.             if arg 2 is not set:
  213.                 send "{@Tag} &2Chcesz zresetowac swoje statystyki?" to player
  214.                 send "{@Tag} &4|> &e/drop reset tak &4| &e/drop reset nie &4<|" to player
  215.                 stop
  216.                
  217.             #Argumentem jest - tak
  218.             if arg 2 is "tak":
  219.                 delete {Diamenty.%player%}
  220.                 delete {Zloto.%player%}
  221.                 delete {Zelazo.%player%}
  222.                 delete {Szmaragdy.%player%}
  223.                 send "{@Tag} &cZresetowales swoje statystyki." to player
  224.                 stop
  225.                
  226.             #Argumentem jest - nie
  227.             if arg 2 is "nie":
  228.                 send "{@Tag} &3Uff.. Powstrzymales sie!" to player
  229.                 stop
  230.             stop
  231.            
  232. #Kod na komende - /staty
  233. Command /staty [<player>]:
  234.     permission: ft.staty
  235.     trigger:
  236.         #Argument nie jest ustawiony
  237.         if arg 1 is not set:
  238.             send "&4&l============{@Tag}&4&l============" to player
  239.             send "&aWpisz &e/staty GRACZ &aaby sprawdzic statystyki." to player
  240.             stop
  241.        
  242.         #Argumentem jest - NICK
  243.         if arg 1 is set:
  244.             send "&4----------------" to player
  245.             send "&9Statystyki: &3%arg 1%&9."
  246.             send "| &bDiamenty: &f%{Diamenty.%arg 1%}%" to player
  247.             send "| &6Zloto: &f%{Zloto.%arg 1%}%" to player
  248.             send "| &7Zelazo: &f%{Zelazo.%arg 1%}%" to player
  249.             send "| &2Szmaragdy: &f%{Szmaragdy.%arg 1%}%" to player
  250.             send "&4----------------" to player
  251.             stop
  252.            
  253. #=================================================#
  254. #                   Kod na drop                   #
  255. #                      STONE                      #
  256. #=================================================#
  257. On mine of stone:
  258.     if {Cobble.%player%} is false:
  259.         cancel event
  260.         set block to air
  261.         damage player's tool by 1
  262.         #Permisja z wiekszym dropem
  263.         if player has permission "{@Permisja}":
  264.             #Kilof - Fortune 0
  265.             if player's tool is a any Pickaxe:
  266.                 chance of {@Diament1_V}%:
  267.                     give 1 Diamond to player
  268.                     add 1 to {Diamenty.%player%}
  269.                     send "&aZnalazles &5>> &bDiament &f[&3+1&f]" to player
  270.                     stop
  271.                 chance of {@Zloto1_V}%:
  272.                     give 1 Gold Ore to player
  273.                     add 1 to {Zloto.%player%}
  274.                     send "&aZnalazles &5>> &6Zloto &f[&3+1&f]" to player
  275.                     stop
  276.                 chance of {@Zelazo1_V}%:
  277.                     give 1 Iron Ore to player
  278.                     add 1 to {Zelazo.%player%}
  279.                     send "&aZnalazles &5>> &7Zelazo &f[&3+1&f]" to player
  280.                     stop
  281.                 chance of {@Szmaragdy1_V}%:
  282.                     give 1 Emerald to player
  283.                     add 1 to {Szmaragdy.%player%}
  284.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+1&f]" to player
  285.                     stop
  286.                 chance of {@Wegiel1_V}%:
  287.                     give 1 Coal to player
  288.                     send "&aZnalazles &5>> &8Wegiel &f[&3+1&f]" to player
  289.                     stop
  290.                 chance of {@Redstone1_V}%:
  291.                     give 5 Redstone to player
  292.                     send "&aZnalazles &5>> &cRedstone &f[&3+5&f]" to player
  293.                     stop
  294.                 chance of {@Slimeball1_V}%:
  295.                     give 1 Slimeball to player
  296.                     send "&aZnalazles &5>> &aSlimeball &f[&3+1&f]" to player
  297.                     stop
  298.                 chance of {@Lapis1_V}%:
  299.                     give 5 Lapis Lazuli to player
  300.                     send "&aZnalazles &5>> &1Lapis &f[&3+5&f]" to player
  301.                     stop
  302.                 chance of {@Exp1_V}%:
  303.                     drop 1 Bottle O' Enchanting
  304.                     stop
  305.                    
  306.             #Kilof - Fortune 1
  307.             if player's tool is a any Pickaxe of Fortune 1:
  308.                 chance of {@Diament1_V}%:
  309.                     give 2 Diamond to player
  310.                     add 2 to {Diamenty.%player%}
  311.                     send "&aZnalazles &5>> &bDiament &f[&3+2&f]" to player
  312.                     stop
  313.                 chance of {@Zloto1_V}%:
  314.                     give 2 Gold Ore to player
  315.                     add 2 to {Zloto.%player%}
  316.                     send "&aZnalazles &5>> &6Zloto &f[&3+2&f]" to player
  317.                     stop
  318.                 chance of {@Zelazo1_V}%:
  319.                     give 2 Iron Ore to player
  320.                     add 2 to {Zelazo.%player%}
  321.                     send "&aZnalazles &5>> &7Zelazo &f[&3+2&f]" to player
  322.                     stop
  323.                 chance of {@Szmaragdy1_V}%:
  324.                     give 2 Emerald to player
  325.                     add 2 to {Szmaragdy.%player%}
  326.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+2&f]" to player
  327.                     stop
  328.                 chance of {@Wegiel1_V}%:
  329.                     give 2 Coal to player
  330.                     send "&aZnalazles &5>> &8Wegiel &f[&3+2&f]" to player
  331.                     stop
  332.                 chance of {@Redstone1_V}%:
  333.                     give 6 Redstone to player
  334.                     send "&aZnalazles &5>> &cRedstone &f[&3+6&f]" to player
  335.                     stop
  336.                 chance of {@Slimeball1_V}%:
  337.                     give 2 Slimeball to player
  338.                     send "&aZnalazles &5>> &aSlimeball &f[&3+2&f]" to player
  339.                     stop
  340.                 chance of {@Lapis1_V}%:
  341.                     give 6 Lapis Lazuli to player
  342.                     send "&aZnalazles &5>> &1Lapis &f[&3+6&f]" to player
  343.                     stop
  344.                 chance of {@Exp1_V}%:
  345.                     drop 2 Bottle O' Enchanting
  346.                     stop
  347.                    
  348.             #Kilof - Fortune 2
  349.             if player's tool is a any Pickaxe of Fortune 2:
  350.                 chance of {@Diament1_V}%:
  351.                     give 3 Diamond to player
  352.                     add 3 to {Diamenty.%player%}
  353.                     send "&aZnalazles &5>> &bDiament &f[&3+3&f]" to player
  354.                     stop
  355.                 chance of {@Zloto1_V}%:
  356.                     give 3 Gold Ore to player
  357.                     add 3 to {Zloto.%player%}
  358.                     send "&aZnalazles &5>> &6Zloto &f[&3+3&f]" to player
  359.                     stop
  360.                 chance of {@Zelazo1_V}%:
  361.                     give 3 Iron Ore to player
  362.                     add 3 to {Zelazo.%player%}
  363.                     send "&aZnalazles &5>> &7Zelazo &f[&3+3&f]" to player
  364.                     stop
  365.                 chance of {@Szmaragdy1_V}%:
  366.                     give 3 Emerald to player
  367.                     add 3 to {Szmaragdy.%player%}
  368.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+3&f]" to player
  369.                     stop
  370.                 chance of {@Wegiel1_V}%:
  371.                     give 3 Coal to player
  372.                     send "&aZnalazles &5>> &8Wegiel &f[&3+3&f]" to player
  373.                     stop
  374.                 chance of {@Redstone1_V}%:
  375.                     give 7 Redstone to player
  376.                     send "&aZnalazles &5>> &cRedstone &f[&3+7&f]" to player
  377.                     stop
  378.                 chance of {@Slimeball1_V}%:
  379.                     give 3 Slimeball to player
  380.                     send "&aZnalazles &5>> &aSlimeball &f[&3+3&f]" to player
  381.                     stop
  382.                 chance of {@Lapis1_V}%:
  383.                     give 7 Lapis Lazuli to player
  384.                     send "&aZnalazles &5>> &1Lapis &f[&3+7&f]" to player
  385.                     stop
  386.                 chance of {@Exp1_V}%:
  387.                     drop 3 Bottle O' Enchanting
  388.                     stop
  389.                    
  390.             #Kilof - Fortune 3
  391.             if player's tool is a any Pickaxe of Fortune 3:
  392.                 chance of {@Diament1_V}%:
  393.                     give 4 Diamond to player
  394.                     add 4 to {Diamenty.%player%}
  395.                     send "&aZnalazles &5>> &bDiament &f[&3+4&f]" to player
  396.                     stop
  397.                 chance of {@Zloto1_V}%:
  398.                     give 4 Gold Ore to player
  399.                     add 4 to {Zloto.%player%}
  400.                     send "&aZnalazles &5>> &6Zloto &f[&3+4&f]" to player
  401.                     stop
  402.                 chance of {@Zelazo1_V}%:
  403.                     give 4 Iron Ore to player
  404.                     add 4 to {Zelazo.%player%}
  405.                     send "&aZnalazles &5>> &7Zelazo &f[&3+4&f]" to player
  406.                     stop
  407.                 chance of {@Szmaragdy1_V}%:
  408.                     give 4 Emerald to player
  409.                     add 4 to {Szmaragdy.%player%}
  410.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+4&f]" to player
  411.                     stop
  412.                 chance of {@Wegiel1_V}%:
  413.                     give 4 Coal to player
  414.                     send "&aZnalazles &5>> &8Wegiel &f[&3+1&f]" to player
  415.                     stop
  416.                 chance of {@Redstone1_V}%:
  417.                     give 8 Redstone to player
  418.                     send "&aZnalazles &5>> &cRedstone &f[&3+8&f]" to player
  419.                     stop
  420.                 chance of {@Slimeball1_V}%:
  421.                     give 4 Slimeball to player
  422.                     send "&aZnalazles &5>> &aSlimeball &f[&3+4&f]" to player
  423.                     stop
  424.                 chance of {@Lapis1_V}%:
  425.                     give 8 Lapis Lazuli to player
  426.                     send "&aZnalazles &5>> &1Lapis &f[&3+8&f]" to player
  427.                     stop
  428.                 chance of {@Exp1_V}%:
  429.                     drop 4 Bottle O' Enchanting
  430.                     stop
  431.                    
  432.         #Permisja z mniejszym dropem
  433.         else:
  434.             if player's tool is a any Pickaxe:
  435.                 chance of {@Diament1_G}%:
  436.                     give 1 Diamond to player
  437.                     add 1 to {Diamenty.%player%}
  438.                     send "&aZnalazles &5>> &bDiament &f[&3+1&f]" to player
  439.                     stop
  440.                 chance of {@Zloto1_G}%:
  441.                     give 1 Gold Ore to player
  442.                     add 1 to {Zloto.%player%}
  443.                     send "&aZnalazles &5>> &6Zloto &f[&3+1&f]" to player
  444.                     stop
  445.                 chance of {@Zelazo1_G}%:
  446.                     give 1 Iron Ore to player
  447.                     add 1 to {Zelazo.%player%}
  448.                     send "&aZnalazles &5>> &7Zelazo &f[&3+1&f]" to player
  449.                     stop
  450.                 chance of {@Szmaragdy1_G}%:
  451.                     give 1 Emerald to player
  452.                     add 1 to {Szmaragdy.%player%}
  453.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+1&f]" to player
  454.                     stop
  455.                 chance of {@Wegiel1_G}%:
  456.                     give 1 Coal to player
  457.                     send "&aZnalazles &5>> &8Wegiel &f[&3+1&f]" to player
  458.                     stop
  459.                 chance of {@Redstone1_G}%:
  460.                     give 5 Redstone to player
  461.                     send "&aZnalazles &5>> &cRedstone &f[&3+5&f]" to player
  462.                     stop
  463.                 chance of {@Slimeball1_G}%:
  464.                     give 1 Slimeball to player
  465.                     send "&aZnalazles &5>> &aSlimeball &f[&3+1&f]" to player
  466.                     stop
  467.                 chance of {@Lapis1_G}%:
  468.                     give 5 Lapis Lazuli to player
  469.                     send "&aZnalazles &5>> &1Lapis &f[&3+5&f]" to player
  470.                     stop
  471.                 chance of {@Exp1_G}%:
  472.                     drop 1 Bottle O' Enchanting
  473.                     stop
  474.                    
  475.             #Kilof - Fortune 1
  476.             if player's tool is a any Pickaxe of Fortune 1:
  477.                 chance of {@Diament1_G}%:
  478.                     give 2 Diamond to player
  479.                     add 2 to {Diamenty.%player%}
  480.                     send "&aZnalazles &5>> &bDiament &f[&3+2&f]" to player
  481.                     stop
  482.                 chance of {@Zloto1_G}%:
  483.                     give 2 Gold Ore to player
  484.                     add 2 to {Zloto.%player%}
  485.                     send "&aZnalazles &5>> &6Zloto &f[&3+2&f]" to player
  486.                     stop
  487.                 chance of {@Zelazo1_G}%:
  488.                     give 2 Iron Ore to player
  489.                     add 2 to {Zelazo.%player%}
  490.                     send "&aZnalazles &5>> &7Zelazo &f[&3+2&f]" to player
  491.                     stop
  492.                 chance of {@Szmaragdy1_G}%:
  493.                     give 2 Emerald to player
  494.                     add 2 to {Szmaragdy.%player%}
  495.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+2&f]" to player
  496.                     stop
  497.                 chance of {@Wegiel1_G}%:
  498.                     give 2 Coal to player
  499.                     send "&aZnalazles &5>> &8Wegiel &f[&3+2&f]" to player
  500.                     stop
  501.                 chance of {@Redstone1_G}%:
  502.                     give 6 Redstone to player
  503.                     send "&aZnalazles &5>> &cRedstone &f[&3+6&f]" to player
  504.                     stop
  505.                 chance of {@Slimeball1_G}%:
  506.                     give 2 Slimeball to player
  507.                     send "&aZnalazles &5>> &aSlimeball &f[&3+2&f]" to player
  508.                     stop
  509.                 chance of {@Lapis1_G}%:
  510.                     give 6 Lapis Lazuli to player
  511.                     send "&aZnalazles &5>> &1Lapis &f[&3+6&f]" to player
  512.                     stop
  513.                 chance of {@Exp1_G}%:
  514.                     drop 2 Bottle O' Enchanting
  515.                     stop
  516.                    
  517.             #Kilof - Fortune 2
  518.             if player's tool is a any Pickaxe of Fortune 2:
  519.                 chance of {@Diament1_G}%:
  520.                     give 3 Diamond to player
  521.                     add 3 to {Diamenty.%player%}
  522.                     send "&aZnalazles &5>> &bDiament &f[&3+3&f]" to player
  523.                     stop
  524.                 chance of {@Zloto1_G}%:
  525.                     give 3 Gold Ore to player
  526.                     add 3 to {Zloto.%player%}
  527.                     send "&aZnalazles &5>> &6Zloto &f[&3+3&f]" to player
  528.                     stop
  529.                 chance of {@Zelazo1_G}%:
  530.                     give 3 Iron Ore to player
  531.                     add 3 to {Zelazo.%player%}
  532.                     send "&aZnalazles &5>> &7Zelazo &f[&3+3&f]" to player
  533.                     stop
  534.                 chance of {@Szmaragdy1_G}%:
  535.                     give 3 Emerald to player
  536.                     add 3 to {Szmaragdy.%player%}
  537.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+3&f]" to player
  538.                     stop
  539.                 chance of {@Wegiel1_G}%:
  540.                     give 3 Coal to player
  541.                     send "&aZnalazles &5>> &8Wegiel &f[&3+3&f]" to player
  542.                     stop
  543.                 chance of {@Redstone1_G}%:
  544.                     give 7 Redstone to player
  545.                     send "&aZnalazles &5>> &cRedstone &f[&3+7&f]" to player
  546.                     stop
  547.                 chance of {@Slimeball1_G}%:
  548.                     give 3 Slimeball to player
  549.                     send "&aZnalazles &5>> &aSlimeball &f[&3+3&f]" to player
  550.                     stop
  551.                 chance of {@Lapis1_G}%:
  552.                     give 7 Lapis Lazuli to player
  553.                     send "&aZnalazles &5>> &1Lapis &f[&3+7&f]" to player
  554.                     stop
  555.                 chance of {@Exp1_G}%:
  556.                     drop 3 Bottle O' Enchanting
  557.                     stop
  558.                    
  559.             #Kilof - Fortune 3
  560.             if player's tool is a any Pickaxe of Fortune 3:
  561.                 chance of {@Diament1_G}%:
  562.                     give 4 Diamond to player
  563.                     add 4 to {Diamenty.%player%}
  564.                     send "&aZnalazles &5>> &bDiament &f[&3+4&f]" to player
  565.                     stop
  566.                 chance of {@Zloto1_G}%:
  567.                     give 4 Gold Ore to player
  568.                     add 4 to {Zloto.%player%}
  569.                     send "&aZnalazles &5>> &6Zloto &f[&3+4&f]" to player
  570.                     stop
  571.                 chance of {@Zelazo1_G}%:
  572.                     give 4 Iron Ore to player
  573.                     add 4 to {Zelazo.%player%}
  574.                     send "&aZnalazles &5>> &7Zelazo &f[&3+4&f]" to player
  575.                     stop
  576.                 chance of {@Szmaragdy1_G}%:
  577.                     give 4 Emerald to player
  578.                     add 4 to {Szmaragdy.%player%}
  579.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+4&f]" to player
  580.                     stop
  581.                 chance of {@Wegiel1_G}%:
  582.                     give 4 Coal to player
  583.                     send "&aZnalazles &5>> &8Wegiel &f[&3+1&f]" to player
  584.                     stop
  585.                 chance of {@Redstone1_G}%:
  586.                     give 8 Redstone to player
  587.                     send "&aZnalazles &5>> &cRedstone &f[&3+8&f]" to player
  588.                     stop
  589.                 chance of {@Slimeball1_G}%:
  590.                     give 4 Slimeball to player
  591.                     send "&aZnalazles &5>> &aSlimeball &f[&3+4&f]" to player
  592.                     stop
  593.                 chance of {@Lapis1_G}%:
  594.                     give 8 Lapis Lazuli to player
  595.                     send "&aZnalazles &5>> &1Lapis &f[&3+8&f]" to player
  596.                     stop
  597.                 chance of {@Exp1_G}%:
  598.                     drop 4 Bottle O' Enchanting
  599.                     stop
  600.     else:
  601.         if player has permission "{@Permisja}":
  602.             #Kilof - Fortune 0
  603.             if player's tool is a any Pickaxe:
  604.                 chance of {@Diament1_V}%:
  605.                     give 1 Diamond to player
  606.                     add 1 to {Diamenty.%player%}
  607.                     send "&aZnalazles &5>> &bDiament &f[&3+1&f]" to player
  608.                     stop
  609.                 chance of {@Zloto1_V}%:
  610.                     give 1 Gold Ore to player
  611.                     add 1 to {Zloto.%player%}
  612.                     send "&aZnalazles &5>> &6Zloto &f[&3+1&f]" to player
  613.                     stop
  614.                 chance of {@Zelazo1_V}%:
  615.                     give 1 Iron Ore to player
  616.                     add 1 to {Zelazo.%player%}
  617.                     send "&aZnalazles &5>> &7Zelazo &f[&3+1&f]" to player
  618.                     stop
  619.                 chance of {@Szmaragdy1_V}%:
  620.                     give 1 Emerald to player
  621.                     add 1 to {Szmaragdy.%player%}
  622.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+1&f]" to player
  623.                     stop
  624.                 chance of {@Wegiel1_V}%:
  625.                     give 1 Coal to player
  626.                     send "&aZnalazles &5>> &8Wegiel &f[&3+1&f]" to player
  627.                     stop
  628.                 chance of {@Redstone1_V}%:
  629.                     give 5 Redstone to player
  630.                     send "&aZnalazles &5>> &cRedstone &f[&3+5&f]" to player
  631.                     stop
  632.                 chance of {@Slimeball1_V}%:
  633.                     give 1 Slimeball to player
  634.                     send "&aZnalazles &5>> &aSlimeball &f[&3+1&f]" to player
  635.                     stop
  636.                 chance of {@Lapis1_V}%:
  637.                     give 5 Lapis Lazuli to player
  638.                     send "&aZnalazles &5>> &1Lapis &f[&3+5&f]" to player
  639.                     stop
  640.                 chance of {@Exp1_V}%:
  641.                     drop 1 Bottle O' Enchanting
  642.                     stop
  643.                    
  644.             #Kilof - Fortune 1
  645.             if player's tool is a any Pickaxe of Fortune 1:
  646.                 chance of {@Diament1_V}%:
  647.                     give 2 Diamond to player
  648.                     add 2 to {Diamenty.%player%}
  649.                     send "&aZnalazles &5>> &bDiament &f[&3+2&f]" to player
  650.                     stop
  651.                 chance of {@Zloto1_V}%:
  652.                     give 2 Gold Ore to player
  653.                     add 2 to {Zloto.%player%}
  654.                     send "&aZnalazles &5>> &6Zloto &f[&3+2&f]" to player
  655.                     stop
  656.                 chance of {@Zelazo1_V}%:
  657.                     give 2 Iron Ore to player
  658.                     add 2 to {Zelazo.%player%}
  659.                     send "&aZnalazles &5>> &7Zelazo &f[&3+2&f]" to player
  660.                     stop
  661.                 chance of {@Szmaragdy1_V}%:
  662.                     give 2 Emerald to player
  663.                     add 2 to {Szmaragdy.%player%}
  664.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+2&f]" to player
  665.                 chance of {@Wegiel1_V}%:
  666.                     give 2 Coal to player
  667.                     send "&aZnalazles &5>> &8Wegiel &f[&3+2&f]" to player
  668.                     stop
  669.                 chance of {@Redstone1_V}%:
  670.                     give 6 Redstone to player
  671.                     send "&aZnalazles &5>> &cRedstone &f[&3+6&f]" to player
  672.                     stop
  673.                 chance of {@Slimeball1_V}%:
  674.                     give 2 Slimeball to player
  675.                     send "&aZnalazles &5>> &aSlimeball &f[&3+2&f]" to player
  676.                     stop
  677.                 chance of {@Lapis1_V}%:
  678.                     give 6 Lapis Lazuli to player
  679.                     send "&aZnalazles &5>> &1Lapis &f[&3+6&f]" to player
  680.                     stop
  681.                 chance of {@Exp1_V}%:
  682.                     drop 2 Bottle O' Enchanting
  683.                     stop
  684.                    
  685.             #Kilof - Fortune 2
  686.             if player's tool is a any Pickaxe of Fortune 2:
  687.                 chance of {@Diament1_V}%:
  688.                     give 3 Diamond to player
  689.                     add 3 to {Diamenty.%player%}
  690.                     send "&aZnalazles &5>> &bDiament &f[&3+3&f]" to player
  691.                     stop
  692.                 chance of {@Zloto1_V}%:
  693.                     give 3 Gold Ore to player
  694.                     add 3 to {Zloto.%player%}
  695.                     send "&aZnalazles &5>> &6Zloto &f[&3+3&f]" to player
  696.                     stop
  697.                 chance of {@Zelazo1_V}%:
  698.                     give 3 Iron Ore to player
  699.                     add 3 to {Zelazo.%player%}
  700.                     send "&aZnalazles &5>> &7Zelazo &f[&3+3&f]" to player
  701.                     stop
  702.                 chance of {@Szmaragdy1_V}%:
  703.                     give 3 Emerald to player
  704.                     add 3 to {Szmaragdy.%player%}
  705.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+3&f]" to player
  706.                     stop
  707.                 chance of {@Wegiel1_V}%:
  708.                     give 3 Coal to player
  709.                     send "&aZnalazles &5>> &8Wegiel &f[&3+3&f]" to player
  710.                     stop
  711.                 chance of {@Redstone1_V}%:
  712.                     give 7 Redstone to player
  713.                     send "&aZnalazles &5>> &cRedstone &f[&3+7&f]" to player
  714.                     stop
  715.                 chance of {@Slimeball1_V}%:
  716.                     give 3 Slimeball to player
  717.                     send "&aZnalazles &5>> &aSlimeball &f[&3+3&f]" to player
  718.                     stop
  719.                 chance of {@Lapis1_V}%:
  720.                     give 7 Lapis Lazuli to player
  721.                     send "&aZnalazles &5>> &1Lapis &f[&3+7&f]" to player
  722.                     stop
  723.                 chance of {@Exp1_V}%:
  724.                     drop 3 Bottle O' Enchanting
  725.                     stop
  726.                    
  727.             #Kilof - Fortune 3
  728.             if player's tool is a any Pickaxe of Fortune 3:
  729.                 chance of {@Diament1_V}%:
  730.                     give 4 Diamond to player
  731.                     add 4 to {Diamenty.%player%}
  732.                     send "&aZnalazles &5>> &bDiament &f[&3+4&f]" to player
  733.                     stop
  734.                 chance of {@Zloto1_V}%:
  735.                     give 4 Gold Ore to player
  736.                     add 4 to {Zloto.%player%}
  737.                     send "&aZnalazles &5>> &6Zloto &f[&3+4&f]" to player
  738.                     stop
  739.                 chance of {@Zelazo1_V}%:
  740.                     give 4 Iron Ore to player
  741.                     add 4 to {Zelazo.%player%}
  742.                     send "&aZnalazles &5>> &7Zelazo &f[&3+4&f]" to player
  743.                     stop
  744.                 chance of {@Szmaragdy1_V}%:
  745.                     give 4 Emerald to player
  746.                     add 4 to {Szmaragdy.%player%}
  747.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+4&f]" to player
  748.                     stop
  749.                 chance of {@Wegiel1_V}%:
  750.                     give 4 Coal to player
  751.                     send "&aZnalazles &5>> &8Wegiel &f[&3+1&f]" to player
  752.                     stop
  753.                 chance of {@Redstone1_V}%:
  754.                     give 8 Redstone to player
  755.                     send "&aZnalazles &5>> &cRedstone &f[&3+8&f]" to player
  756.                     stop
  757.                 chance of {@Slimeball1_V}%:
  758.                     give 4 Slimeball to player
  759.                     send "&aZnalazles &5>> &aSlimeball &f[&3+4&f]" to player
  760.                     stop
  761.                 chance of {@Lapis1_V}%:
  762.                     give 8 Lapis Lazuli to player
  763.                     send "&aZnalazles &5>> &1Lapis &f[&3+8&f]" to player
  764.                     stop
  765.                 chance of {@Exp1_V}%:
  766.                     drop 4 Bottle O' Enchanting
  767.                     stop
  768.                    
  769.         #Permisja z mniejszym dropem
  770.         else:
  771.             if player's tool is a any Pickaxe:
  772.                 chance of {@Diament1_G}%:
  773.                     give 1 Diamond to player
  774.                     add 1 to {Diamenty.%player%}
  775.                     send "&aZnalazles &5>> &bDiament &f[&3+1&f]" to player
  776.                     stop
  777.                 chance of {@Zloto1_G}%:
  778.                     give 1 Gold Ore to player
  779.                     add 1 to {Zloto.%player%}
  780.                     send "&aZnalazles &5>> &6Zloto &f[&3+1&f]" to player
  781.                     stop
  782.                 chance of {@Zelazo1_G}%:
  783.                     give 1 Iron Ore to player
  784.                     add 1 to {Zelazo.%player%}
  785.                     send "&aZnalazles &5>> &7Zelazo &f[&3+1&f]" to player
  786.                     stop
  787.                 chance of {@Szmaragdy1_G}%:
  788.                     give 1 Emerald to player
  789.                     add 1 to {Szmaragdy.%player%}
  790.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+1&f]" to player
  791.                     stop
  792.                 chance of {@Wegiel1_G}%:
  793.                     give 1 Coal to player
  794.                     send "&aZnalazles &5>> &8Wegiel &f[&3+1&f]" to player
  795.                     stop
  796.                 chance of {@Redstone1_G}%:
  797.                     give 5 Redstone to player
  798.                     send "&aZnalazles &5>> &cRedstone &f[&3+5&f]" to player
  799.                     stop
  800.                 chance of {@Slimeball1_G}%:
  801.                     give 1 Slimeball to player
  802.                     send "&aZnalazles &5>> &aSlimeball &f[&3+1&f]" to player
  803.                     stop
  804.                 chance of {@Lapis1_G}%:
  805.                     give 5 Lapis Lazuli to player
  806.                     send "&aZnalazles &5>> &1Lapis &f[&3+5&f]" to player
  807.                     stop
  808.                 chance of {@Exp1_G}%:
  809.                     drop 1 Bottle O' Enchanting
  810.                     stop
  811.                    
  812.             #Kilof - Fortune 1
  813.             if player's tool is a any Pickaxe of Fortune 1:
  814.                 chance of {@Diament1_G}%:
  815.                     give 2 Diamond to player
  816.                     add 2 to {Diamenty.%player%}
  817.                     send "&aZnalazles &5>> &bDiament &f[&3+2&f]" to player
  818.                     stop
  819.                 chance of {@Zloto1_G}%:
  820.                     give 2 Gold Ore to player
  821.                     add 2 to {Zloto.%player%}
  822.                     send "&aZnalazles &5>> &6Zloto &f[&3+2&f]" to player
  823.                     stop
  824.                 chance of {@Zelazo1_G}%:
  825.                     give 2 Iron Ore to player
  826.                     add 2 to {Zelazo.%player%}
  827.                     send "&aZnalazles &5>> &7Zelazo &f[&3+2&f]" to player
  828.                     stop
  829.                 chance of {@Szmaragdy1_G}%:
  830.                     give 2 Emerald to player
  831.                     add 2 to {Szmaragdy.%player%}
  832.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+2&f]" to player
  833.                     stop
  834.                 chance of {@Wegiel1_G}%:
  835.                     give 2 Coal to player
  836.                     send "&aZnalazles &5>> &8Wegiel &f[&3+2&f]" to player
  837.                     stop
  838.                 chance of {@Redstone1_G}%:
  839.                     give 6 Redstone to player
  840.                     send "&aZnalazles &5>> &cRedstone &f[&3+6&f]" to player
  841.                     stop
  842.                 chance of {@Slimeball1_G}%:
  843.                     give 2 Slimeball to player
  844.                     send "&aZnalazles &5>> &aSlimeball &f[&3+2&f]" to player
  845.                     stop
  846.                 chance of {@Lapis1_G}%:
  847.                     give 6 Lapis Lazuli to player
  848.                     send "&aZnalazles &5>> &1Lapis &f[&3+6&f]" to player
  849.                     stop
  850.                 chance of {@Exp1_G}%:
  851.                     drop 2 Bottle O' Enchanting
  852.                     stop
  853.                    
  854.             #Kilof - Fortune 2
  855.             if player's tool is a any Pickaxe of Fortune 2:
  856.                 chance of {@Diament1_G}%:
  857.                     give 3 Diamond to player
  858.                     add 3 to {Diamenty.%player%}
  859.                     send "&aZnalazles &5>> &bDiament &f[&3+3&f]" to player
  860.                     stop
  861.                 chance of {@Zloto1_G}%:
  862.                     give 3 Gold Ore to player
  863.                     add 3 to {Zloto.%player%}
  864.                     send "&aZnalazles &5>> &6Zloto &f[&3+3&f]" to player
  865.                     stop
  866.                 chance of {@Zelazo1_G}%:
  867.                     give 3 Iron Ore to player
  868.                     add 3 to {Zelazo.%player%}
  869.                     send "&aZnalazles &5>> &7Zelazo &f[&3+3&f]" to player
  870.                     stop
  871.                 chance of {@Szmaragdy1_G}%:
  872.                     give 3 Emerald to player
  873.                     add 3 to {Szmaragdy.%player%}
  874.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+3&f]" to player
  875.                     stop
  876.                 chance of {@Wegiel1_G}%:
  877.                     give 3 Coal to player
  878.                     send "&aZnalazles &5>> &8Wegiel &f[&3+3&f]" to player
  879.                     stop
  880.                 chance of {@Redstone1_G}%:
  881.                     give 7 Redstone to player
  882.                     send "&aZnalazles &5>> &cRedstone &f[&3+7&f]" to player
  883.                     stop
  884.                 chance of {@Slimeball1_G}%:
  885.                     give 3 Slimeball to player
  886.                     send "&aZnalazles &5>> &aSlimeball &f[&3+3&f]" to player
  887.                     stop
  888.                 chance of {@Lapis1_G}%:
  889.                     give 7 Lapis Lazuli to player
  890.                     send "&aZnalazles &5>> &1Lapis &f[&3+7&f]" to player
  891.                     stop
  892.                 chance of {@Exp1_G}%:
  893.                     drop 3 Bottle O' Enchanting
  894.                     stop
  895.                    
  896.             #Kilof - Fortune 3
  897.             if player's tool is a any Pickaxe of Fortune 3:
  898.                 chance of {@Diament1_G}%:
  899.                     give 4 Diamond to player
  900.                     add 4 to {Diamenty.%player%}
  901.                     send "&aZnalazles &5>> &bDiament &f[&3+4&f]" to player
  902.                     stop
  903.                 chance of {@Zloto1_G}%:
  904.                     give 4 Gold Ore to player
  905.                     add 4 to {Zloto.%player%}
  906.                     send "&aZnalazles &5>> &6Zloto &f[&3+4&f]" to player
  907.                     stop
  908.                 chance of {@Zelazo1_G}%:
  909.                     give 4 Iron Ore to player
  910.                     add 4 to {Zelazo.%player%}
  911.                     send "&aZnalazles &5>> &7Zelazo &f[&3+4&f]" to player
  912.                     stop
  913.                 chance of {@Szmaragdy1_G}%:
  914.                     give 4 Emerald to player
  915.                     add 4 to {Szmaragdy.%player%}
  916.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+4&f]" to player
  917.                     stop
  918.                 chance of {@Wegiel1_G}%:
  919.                     give 4 Coal to player
  920.                     send "&aZnalazles &5>> &8Wegiel &f[&3+1&f]" to player
  921.                     stop
  922.                 chance of {@Redstone1_G}%:
  923.                     give 8 Redstone to player
  924.                     send "&aZnalazles &5>> &cRedstone &f[&3+8&f]" to player
  925.                     stop
  926.                 chance of {@Slimeball1_G}%:
  927.                     give 4 Slimeball to player
  928.                     send "&aZnalazles &5>> &aSlimeball &f[&3+4&f]" to player
  929.                     stop
  930.                 chance of {@Lapis1_G}%:
  931.                     give 8 Lapis Lazuli to player
  932.                     send "&aZnalazles &5>> &1Lapis &f[&3+8&f]" to player
  933.                     stop
  934.                 chance of {@Exp1_G}%:
  935.                     drop 4 Bottle O' Enchanting
  936.                     stop
  937.                    
  938. #=================================================#
  939. #                   Kod na drop                   #
  940. #                   COBBLESTONE                   #
  941. #=================================================#
  942. On mine of cobblestone:
  943.     if {Cobble.%player%} is false:
  944.         cancel event
  945.         set block to air
  946.         damage player's tool by 1
  947.         if player has permission "{@Permisja}":
  948.             #Kilof - Fortune 0
  949.             if player's tool is a any Pickaxe:
  950.                 chance of {@Diament2_V}%:
  951.                     give 1 Diamond to player
  952.                     add 1 to {Diamenty.%player%}
  953.                     send "&aZnalazles &5>> &bDiament &f[&3+1&f]" to player
  954.                     stop
  955.                 chance of {@Zloto2_V}%:
  956.                     give 1 Gold Ore to player
  957.                     add 1 to {Zloto.%player%}
  958.                     send "&aZnalazles &5>> &6Zloto &f[&3+1&f]" to player
  959.                     stop
  960.                 chance of {@Zelazo2_V}%:
  961.                     give 1 Iron Ore to player
  962.                     add 1 to {Zelazo.%player%}
  963.                     send "&aZnalazles &5>> &7Zelazo &f[&3+1&f]" to player
  964.                     stop
  965.                 chance of {@Szmaragdy2_V}%:
  966.                     give 1 Emerald to player
  967.                     add 1 to {Szmaragdy.%player%}
  968.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+1&f]" to player
  969.                     stop
  970.                 chance of {@Wegiel2_V}%:
  971.                     give 1 Coal to player
  972.                     send "&aZnalazles &5>> &8Wegiel &f[&3+1&f]" to player
  973.                     stop
  974.                 chance of {@Redstone2_V}%:
  975.                     give 5 Redstone to player
  976.                     send "&aZnalazles &5>> &cRedstone &f[&3+5&f]" to player
  977.                     stop
  978.                 chance of {@Slimeball2_V}%:
  979.                     give 1 Slimeball to player
  980.                     send "&aZnalazles &5>> &aSlimeball &f[&3+1&f]" to player
  981.                     stop
  982.                 chance of {@Lapis2_V}%:
  983.                     give 5 Lapis Lazuli to player
  984.                     send "&aZnalazles &5>> &1Lapis &f[&3+5&f]" to player
  985.                     stop
  986.                 chance of {@Exp2_V}%:
  987.                     drop 1 Bottle O' Enchanting
  988.                     stop
  989.                    
  990.             #Kilof - Fortune 1
  991.             if player's tool is a any Pickaxe of Fortune 1:
  992.                 chance of {@Diament2_V}%:
  993.                     give 2 Diamond to player
  994.                     add 2 to {Diamenty.%player%}
  995.                     send "&aZnalazles &5>> &bDiament &f[&3+2&f]" to player
  996.                     stop
  997.                 chance of {@Zloto2_V}%:
  998.                     give 2 Gold Ore to player
  999.                     add 2 to {Zloto.%player%}
  1000.                     send "&aZnalazles &5>> &6Zloto &f[&3+2&f]" to player
  1001.                     stop
  1002.                 chance of {@Zelazo2_V}%:
  1003.                     give 2 Iron Ore to player
  1004.                     add 2 to {Zelazo.%player%}
  1005.                     send "&aZnalazles &5>> &7Zelazo &f[&3+2&f]" to player
  1006.                     stop
  1007.                 chance of {@Szmaragdy2_V}%:
  1008.                     give 2 Emerald to player
  1009.                     add 2 to {Szmaragdy.%player%}
  1010.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+2&f]" to player
  1011.                     stop
  1012.                 chance of {@Wegiel2_V}%:
  1013.                     give 2 Coal to player
  1014.                     send "&aZnalazles &5>> &8Wegiel &f[&3+2&f]" to player
  1015.                     stop
  1016.                 chance of {@Redstone2_V}%:
  1017.                     give 6 Redstone to player
  1018.                     send "&aZnalazles &5>> &cRedstone &f[&3+6&f]" to player
  1019.                     stop
  1020.                 chance of {@Slimeball2_V}%:
  1021.                     give 2 Slimeball to player
  1022.                     send "&aZnalazles &5>> &aSlimeball &f[&3+2&f]" to player
  1023.                     stop
  1024.                 chance of {@Lapis2_V}%:
  1025.                     give 6 Lapis Lazuli to player
  1026.                     send "&aZnalazles &5>> &1Lapis &f[&3+6&f]" to player
  1027.                     stop
  1028.                 chance of {@Exp2_V}%:
  1029.                     drop 2 Bottle O' Enchanting
  1030.                     stop
  1031.                    
  1032.             #Kilof - Fortune 2
  1033.             if player's tool is a any Pickaxe of Fortune 2:
  1034.                 chance of {@Diament2_V}%:
  1035.                     give 3 Diamond to player
  1036.                     add 3 to {Diamenty.%player%}
  1037.                     send "&aZnalazles &5>> &bDiament &f[&3+3&f]" to player
  1038.                     stop
  1039.                 chance of {@Zloto2_V}%:
  1040.                     give 3 Gold Ore to player
  1041.                     add 3 to {Zloto.%player%}
  1042.                     send "&aZnalazles &5>> &6Zloto &f[&3+3&f]" to player
  1043.                     stop
  1044.                 chance of {@Zelazo2_V}%:
  1045.                     give 3 Iron Ore to player
  1046.                     add 3 to {Zelazo.%player%}
  1047.                     send "&aZnalazles &5>> &7Zelazo &f[&3+3&f]" to player
  1048.                     stop
  1049.                 chance of {@Szmaragdy2_V}%:
  1050.                     give 3 Emerald to player
  1051.                     add 3 to {Szmaragdy.%player%}
  1052.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+3&f]" to player
  1053.                     stop
  1054.                 chance of {@Wegiel2_V}%:
  1055.                     give 3 Coal to player
  1056.                     send "&aZnalazles &5>> &8Wegiel &f[&3+3&f]" to player
  1057.                     stop
  1058.                 chance of {@Redstone2_V}%:
  1059.                     give 7 Redstone to player
  1060.                     send "&aZnalazles &5>> &cRedstone &f[&3+7&f]" to player
  1061.                     stop
  1062.                 chance of {@Slimeball2_V}%:
  1063.                     give 3 Slimeball to player
  1064.                     send "&aZnalazles &5>> &aSlimeball &f[&3+3&f]" to player
  1065.                     stop
  1066.                 chance of {@Lapis2_V}%:
  1067.                     give 7 Lapis Lazuli to player
  1068.                     send "&aZnalazles &5>> &1Lapis &f[&3+7&f]" to player
  1069.                     stop
  1070.                 chance of {@Exp2_V}%:
  1071.                     drop 3 Bottle O' Enchanting
  1072.                     stop
  1073.                    
  1074.             #Kilof - Fortune 3
  1075.             if player's tool is a any Pickaxe of Fortune 3:
  1076.                 chance of {@Diament2_V}%:
  1077.                     give 4 Diamond to player
  1078.                     add 4 to {Diamenty.%player%}
  1079.                     send "&aZnalazles &5>> &bDiament &f[&3+4&f]" to player
  1080.                     stop
  1081.                 chance of {@Zloto2_V}%:
  1082.                     give 4 Gold Ore to player
  1083.                     add 4 to {Zloto.%player%}
  1084.                     send "&aZnalazles &5>> &6Zloto &f[&3+4&f]" to player
  1085.                     stop
  1086.                 chance of {@Zelazo2_V}%:
  1087.                     give 4 Iron Ore to player
  1088.                     add 4 to {Zelazo.%player%}
  1089.                     send "&aZnalazles &5>> &7Zelazo &f[&3+4&f]" to player
  1090.                     stop
  1091.                 chance of {@Szmaragdy2_V}%:
  1092.                     give 4 Emerald to player
  1093.                     add 4 to {Szmaragdy.%player%}
  1094.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+4&f]" to player
  1095.                     stop
  1096.                 chance of {@Wegiel2_V}%:
  1097.                     give 4 Coal to player
  1098.                     send "&aZnalazles &5>> &8Wegiel &f[&3+2&f]" to player
  1099.                     stop
  1100.                 chance of {@Redstone2_V}%:
  1101.                     give 8 Redstone to player
  1102.                     send "&aZnalazles &5>> &cRedstone &f[&3+8&f]" to player
  1103.                     stop
  1104.                 chance of {@Slimeball2_V}%:
  1105.                     give 4 Slimeball to player
  1106.                     send "&aZnalazles &5>> &aSlimeball &f[&3+4&f]" to player
  1107.                     stop
  1108.                 chance of {@Lapis2_V}%:
  1109.                     give 8 Lapis Lazuli to player
  1110.                     send "&aZnalazles &5>> &1Lapis &f[&3+8&f]" to player
  1111.                     stop
  1112.                 chance of {@Exp2_V}%:
  1113.                     drop 4 Bottle O' Enchanting
  1114.                     stop
  1115.                    
  1116.         #Permisja z mniejszym dropem
  1117.         else:
  1118.             if player's tool is a any Pickaxe:
  1119.                 chance of {@Diament2_G}%:
  1120.                     give 1 Diamond to player
  1121.                     add 1 to {Diamenty.%player%}
  1122.                     send "&aZnalazles &5>> &bDiament &f[&3+1&f]" to player
  1123.                     stop
  1124.                 chance of {@Zloto2_G}%:
  1125.                     give 1 Gold Ore to player
  1126.                     add 1 to {Zloto.%player%}
  1127.                     send "&aZnalazles &5>> &6Zloto &f[&3+1&f]" to player
  1128.                     stop
  1129.                 chance of {@Zelazo2_G}%:
  1130.                     give 1 Iron Ore to player
  1131.                     add 1 to {Zelazo.%player%}
  1132.                     send "&aZnalazles &5>> &7Zelazo &f[&3+1&f]" to player
  1133.                     stop
  1134.                 chance of {@Szmaragdy2_G}%:
  1135.                     give 1 Emerald to player
  1136.                     add 1 to {Szmaragdy.%player%}
  1137.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+1&f]" to player
  1138.                     stop
  1139.                 chance of {@Wegiel2_G}%:
  1140.                     give 1 Coal to player
  1141.                     send "&aZnalazles &5>> &8Wegiel &f[&3+1&f]" to player
  1142.                     stop
  1143.                 chance of {@Redstone2_G}%:
  1144.                     give 5 Redstone to player
  1145.                     send "&aZnalazles &5>> &cRedstone &f[&3+5&f]" to player
  1146.                     stop
  1147.                 chance of {@Slimeball2_G}%:
  1148.                     give 1 Slimeball to player
  1149.                     send "&aZnalazles &5>> &aSlimeball &f[&3+1&f]" to player
  1150.                     stop
  1151.                 chance of {@Lapis2_G}%:
  1152.                     give 5 Lapis Lazuli to player
  1153.                     send "&aZnalazles &5>> &1Lapis &f[&3+5&f]" to player
  1154.                     stop
  1155.                 chance of {@Exp2_G}%:
  1156.                     drop 1 Bottle O' Enchanting
  1157.                     stop
  1158.                    
  1159.             #Kilof - Fortune 1
  1160.             if player's tool is a any Pickaxe of Fortune 1:
  1161.                 chance of {@Diament2_G}%:
  1162.                     give 2 Diamond to player
  1163.                     add 2 to {Diamenty.%player%}
  1164.                     send "&aZnalazles &5>> &bDiament &f[&3+2&f]" to player
  1165.                     stop
  1166.                 chance of {@Zloto2_G}%:
  1167.                     give 2 Gold Ore to player
  1168.                     add 2 to {Zloto.%player%}
  1169.                     send "&aZnalazles &5>> &6Zloto &f[&3+2&f]" to player
  1170.                     stop
  1171.                 chance of {@Zelazo2_G}%:
  1172.                     give 2 Iron Ore to player
  1173.                     add 2 to {Zelazo.%player%}
  1174.                     send "&aZnalazles &5>> &7Zelazo &f[&3+2&f]" to player
  1175.                     stop
  1176.                 chance of {@Szmaragdy2_G}%:
  1177.                     give 2 Emerald to player
  1178.                     add 2 to {Szmaragdy.%player%}
  1179.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+2&f]" to player
  1180.                     stop
  1181.                 chance of {@Wegiel2_G}%:
  1182.                     give 2 Coal to player
  1183.                     send "&aZnalazles &5>> &8Wegiel &f[&3+2&f]" to player
  1184.                     stop
  1185.                 chance of {@Redstone2_G}%:
  1186.                     give 6 Redstone to player
  1187.                     send "&aZnalazles &5>> &cRedstone &f[&3+6&f]" to player
  1188.                     stop
  1189.                 chance of {@Slimeball2_G}%:
  1190.                     give 2 Slimeball to player
  1191.                     send "&aZnalazles &5>> &aSlimeball &f[&3+2&f]" to player
  1192.                     stop
  1193.                 chance of {@Lapis2_G}%:
  1194.                     give 6 Lapis Lazuli to player
  1195.                     send "&aZnalazles &5>> &1Lapis &f[&3+6&f]" to player
  1196.                     stop
  1197.                 chance of {@Exp2_G}%:
  1198.                     drop 2 Bottle O' Enchanting
  1199.                     stop
  1200.                    
  1201.             #Kilof - Fortune 2
  1202.             if player's tool is a any Pickaxe of Fortune 2:
  1203.                 chance of {@Diament2_G}%:
  1204.                     give 3 Diamond to player
  1205.                     add 3 to {Diamenty.%player%}
  1206.                     send "&aZnalazles &5>> &bDiament &f[&3+3&f]" to player
  1207.                     stop
  1208.                 chance of {@Zloto2_G}%:
  1209.                     give 3 Gold Ore to player
  1210.                     add 3 to {Zloto.%player%}
  1211.                     send "&aZnalazles &5>> &6Zloto &f[&3+3&f]" to player
  1212.                     stop
  1213.                 chance of {@Zelazo2_G}%:
  1214.                     give 3 Iron Ore to player
  1215.                     add 3 to {Zelazo.%player%}
  1216.                     send "&aZnalazles &5>> &7Zelazo &f[&3+3&f]" to player
  1217.                     stop
  1218.                 chance of {@Szmaragdy2_G}%:
  1219.                     give 3 Emerald to player
  1220.                     add 3 to {Szmaragdy.%player%}
  1221.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+3&f]" to player
  1222.                     stop
  1223.                 chance of {@Wegiel2_G}%:
  1224.                     give 3 Coal to player
  1225.                     send "&aZnalazles &5>> &8Wegiel &f[&3+3&f]" to player
  1226.                     stop
  1227.                 chance of {@Redstone2_G}%:
  1228.                     give 7 Redstone to player
  1229.                     send "&aZnalazles &5>> &cRedstone &f[&3+7&f]" to player
  1230.                     stop
  1231.                 chance of {@Slimeball2_G}%:
  1232.                     give 3 Slimeball to player
  1233.                     send "&aZnalazles &5>> &aSlimeball &f[&3+3&f]" to player
  1234.                     stop
  1235.                 chance of {@Lapis2_G}%:
  1236.                     give 7 Lapis Lazuli to player
  1237.                     send "&aZnalazles &5>> &1Lapis &f[&3+7&f]" to player
  1238.                     stop
  1239.                 chance of {@Exp2_G}%:
  1240.                     drop 3 Bottle O' Enchanting
  1241.                     stop
  1242.                    
  1243.             #Kilof - Fortune 3
  1244.             if player's tool is a any Pickaxe of Fortune 3:
  1245.                 chance of {@Diament2_G}%:
  1246.                     give 4 Diamond to player
  1247.                     add 4 to {Diamenty.%player%}
  1248.                     send "&aZnalazles &5>> &bDiament &f[&3+4&f]" to player
  1249.                     stop
  1250.                 chance of {@Zloto2_G}%:
  1251.                     give 4 Gold Ore to player
  1252.                     add 4 to {Zloto.%player%}
  1253.                     send "&aZnalazles &5>> &6Zloto &f[&3+4&f]" to player
  1254.                     stop
  1255.                 chance of {@Zelazo2_G}%:
  1256.                     give 4 Iron Ore to player
  1257.                     add 4 to {Zelazo.%player%}
  1258.                     send "&aZnalazles &5>> &7Zelazo &f[&3+4&f]" to player
  1259.                     stop
  1260.                 chance of {@Szmaragdy2_G}%:
  1261.                     give 4 Emerald to player
  1262.                     add 4 to {Szmaragdy.%player%}
  1263.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+4&f]" to player
  1264.                     stop
  1265.                 chance of {@Wegiel2_G}%:
  1266.                     give 4 Coal to player
  1267.                     send "&aZnalazles &5>> &8Wegiel &f[&3+2&f]" to player
  1268.                     stop
  1269.                 chance of {@Redstone2_G}%:
  1270.                     give 8 Redstone to player
  1271.                     send "&aZnalazles &5>> &cRedstone &f[&3+8&f]" to player
  1272.                     stop
  1273.                 chance of {@Slimeball2_G}%:
  1274.                     give 4 Slimeball to player
  1275.                     send "&aZnalazles &5>> &aSlimeball &f[&3+4&f]" to player
  1276.                     stop
  1277.                 chance of {@Lapis2_G}%:
  1278.                     give 8 Lapis Lazuli to player
  1279.                     send "&aZnalazles &5>> &1Lapis &f[&3+8&f]" to player
  1280.                     stop
  1281.                 chance of {@Exp2_G}%:
  1282.                     drop 4 Bottle O' Enchanting
  1283.                     stop
  1284.     else:
  1285.         if player has permission "{@Permisja}":
  1286.             #Kilof - Fortune 0
  1287.             if player's tool is a any Pickaxe:
  1288.                 chance of {@Diament2_V}%:
  1289.                     give 1 Diamond to player
  1290.                     add 1 to {Diamenty.%player%}
  1291.                     send "&aZnalazles &5>> &bDiament &f[&3+1&f]" to player
  1292.                     stop
  1293.                 chance of {@Zloto2_V}%:
  1294.                     give 1 Gold Ore to player
  1295.                     add 1 to {Zloto.%player%}
  1296.                     send "&aZnalazles &5>> &6Zloto &f[&3+1&f]" to player
  1297.                     stop
  1298.                 chance of {@Zelazo2_V}%:
  1299.                     give 1 Iron Ore to player
  1300.                     add 1 to {Zelazo.%player%}
  1301.                     send "&aZnalazles &5>> &7Zelazo &f[&3+1&f]" to player
  1302.                     stop
  1303.                 chance of {@Szmaragdy2_V}%:
  1304.                     give 1 Emerald to player
  1305.                     add 1 to {Szmaragdy.%player%}
  1306.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+1&f]" to player
  1307.                     stop
  1308.                 chance of {@Wegiel2_V}%:
  1309.                     give 1 Coal to player
  1310.                     send "&aZnalazles &5>> &8Wegiel &f[&3+1&f]" to player
  1311.                     stop
  1312.                 chance of {@Redstone2_V}%:
  1313.                     give 5 Redstone to player
  1314.                     send "&aZnalazles &5>> &cRedstone &f[&3+5&f]" to player
  1315.                     stop
  1316.                 chance of {@Slimeball2_V}%:
  1317.                     give 1 Slimeball to player
  1318.                     send "&aZnalazles &5>> &aSlimeball &f[&3+1&f]" to player
  1319.                     stop
  1320.                 chance of {@Lapis2_V}%:
  1321.                     give 5 Lapis Lazuli to player
  1322.                     send "&aZnalazles &5>> &1Lapis &f[&3+5&f]" to player
  1323.                     stop
  1324.                 chance of {@Exp2_V}%:
  1325.                     drop 1 Bottle O' Enchanting
  1326.                     stop
  1327.                    
  1328.             #Kilof - Fortune 1
  1329.             if player's tool is a any Pickaxe of Fortune 1:
  1330.                 chance of {@Diament2_V}%:
  1331.                     give 2 Diamond to player
  1332.                     add 2 to {Diamenty.%player%}
  1333.                     send "&aZnalazles &5>> &bDiament &f[&3+2&f]" to player
  1334.                     stop
  1335.                 chance of {@Zloto2_V}%:
  1336.                     give 2 Gold Ore to player
  1337.                     add 2 to {Zloto.%player%}
  1338.                     send "&aZnalazles &5>> &6Zloto &f[&3+2&f]" to player
  1339.                     stop
  1340.                 chance of {@Zelazo2_V}%:
  1341.                     give 2 Iron Ore to player
  1342.                     add 2 to {Zelazo.%player%}
  1343.                     send "&aZnalazles &5>> &7Zelazo &f[&3+2&f]" to player
  1344.                     stop
  1345.                 chance of {@Szmaragdy2_V}%:
  1346.                     give 2 Emerald to player
  1347.                     add 2 to {Szmaragdy.%player%}
  1348.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+2&f]" to player
  1349.                     stop
  1350.                 chance of {@Wegiel2_V}%:
  1351.                     give 2 Coal to player
  1352.                     send "&aZnalazles &5>> &8Wegiel &f[&3+2&f]" to player
  1353.                     stop
  1354.                 chance of {@Redstone2_V}%:
  1355.                     give 6 Redstone to player
  1356.                     send "&aZnalazles &5>> &cRedstone &f[&3+6&f]" to player
  1357.                     stop
  1358.                 chance of {@Slimeball2_V}%:
  1359.                     give 2 Slimeball to player
  1360.                     send "&aZnalazles &5>> &aSlimeball &f[&3+2&f]" to player
  1361.                     stop
  1362.                 chance of {@Lapis2_V}%:
  1363.                     give 6 Lapis Lazuli to player
  1364.                     send "&aZnalazles &5>> &1Lapis &f[&3+6&f]" to player
  1365.                     stop
  1366.                 chance of {@Exp2_V}%:
  1367.                     drop 2 Bottle O' Enchanting
  1368.                     stop
  1369.                    
  1370.             #Kilof - Fortune 2
  1371.             if player's tool is a any Pickaxe of Fortune 2:
  1372.                 chance of {@Diament2_V}%:
  1373.                     give 3 Diamond to player
  1374.                     add 3 to {Diamenty.%player%}
  1375.                     send "&aZnalazles &5>> &bDiament &f[&3+3&f]" to player
  1376.                     stop
  1377.                 chance of {@Zloto2_V}%:
  1378.                     give 3 Gold Ore to player
  1379.                     add 3 to {Zloto.%player%}
  1380.                     send "&aZnalazles &5>> &6Zloto &f[&3+3&f]" to player
  1381.                     stop
  1382.                 chance of {@Zelazo2_V}%:
  1383.                     give 3 Iron Ore to player
  1384.                     add 3 to {Zelazo.%player%}
  1385.                     send "&aZnalazles &5>> &7Zelazo &f[&3+3&f]" to player
  1386.                     stop
  1387.                 chance of {@Szmaragdy2_V}%:
  1388.                     give 3 Emerald to player
  1389.                     add 3 to {Szmaragdy.%player%}
  1390.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+3&f]" to player
  1391.                     stop
  1392.                 chance of {@Wegiel2_V}%:
  1393.                     give 3 Coal to player
  1394.                     send "&aZnalazles &5>> &8Wegiel &f[&3+3&f]" to player
  1395.                     stop
  1396.                 chance of {@Redstone2_V}%:
  1397.                     give 7 Redstone to player
  1398.                     send "&aZnalazles &5>> &cRedstone &f[&3+7&f]" to player
  1399.                     stop
  1400.                 chance of {@Slimeball2_V}%:
  1401.                     give 3 Slimeball to player
  1402.                     send "&aZnalazles &5>> &aSlimeball &f[&3+3&f]" to player
  1403.                     stop
  1404.                 chance of {@Lapis2_V}%:
  1405.                     give 7 Lapis Lazuli to player
  1406.                     send "&aZnalazles &5>> &1Lapis &f[&3+7&f]" to player
  1407.                     stop
  1408.                 chance of {@Exp2_V}%:
  1409.                     drop 3 Bottle O' Enchanting
  1410.                     stop
  1411.                    
  1412.             #Kilof - Fortune 3
  1413.             if player's tool is a any Pickaxe of Fortune 3:
  1414.                 chance of {@Diament2_V}%:
  1415.                     give 4 Diamond to player
  1416.                     add 4 to {Diamenty.%player%}
  1417.                     send "&aZnalazles &5>> &bDiament &f[&3+4&f]" to player
  1418.                     stop
  1419.                 chance of {@Zloto2_V}%:
  1420.                     give 4 Gold Ore to player
  1421.                     add 4 to {Zloto.%player%}
  1422.                     send "&aZnalazles &5>> &6Zloto &f[&3+4&f]" to player
  1423.                     stop
  1424.                 chance of {@Zelazo2_V}%:
  1425.                     give 4 Iron Ore to player
  1426.                     add 4 to {Zelazo.%player%}
  1427.                     send "&aZnalazles &5>> &7Zelazo &f[&3+4&f]" to player
  1428.                     stop
  1429.                 chance of {@Szmaragdy2_V}%:
  1430.                     give 4 Emerald to player
  1431.                     add 4 to {Szmaragdy.%player%}
  1432.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+4&f]" to player
  1433.                     stop
  1434.                 chance of {@Wegiel2_V}%:
  1435.                     give 4 Coal to player
  1436.                     send "&aZnalazles &5>> &8Wegiel &f[&3+2&f]" to player
  1437.                     stop
  1438.                 chance of {@Redstone2_V}%:
  1439.                     give 8 Redstone to player
  1440.                     send "&aZnalazles &5>> &cRedstone &f[&3+8&f]" to player
  1441.                     stop
  1442.                 chance of {@Slimeball2_V}%:
  1443.                     give 4 Slimeball to player
  1444.                     send "&aZnalazles &5>> &aSlimeball &f[&3+4&f]" to player
  1445.                     stop
  1446.                 chance of {@Lapis2_V}%:
  1447.                     give 8 Lapis Lazuli to player
  1448.                     send "&aZnalazles &5>> &1Lapis &f[&3+8&f]" to player
  1449.                     stop
  1450.                 chance of {@Exp2_V}%:
  1451.                     drop 4 Bottle O' Enchanting
  1452.                     stop
  1453.                    
  1454.         #Permisja z mniejszym dropem
  1455.         else:
  1456.             if player's tool is a any Pickaxe:
  1457.                 chance of {@Diament2_G}%:
  1458.                     give 1 Diamond to player
  1459.                     add 1 to {Diamenty.%player%}
  1460.                     send "&aZnalazles &5>> &bDiament &f[&3+1&f]" to player
  1461.                     stop
  1462.                 chance of {@Zloto2_G}%:
  1463.                     give 1 Gold Ore to player
  1464.                     add 1 to {Zloto.%player%}
  1465.                     send "&aZnalazles &5>> &6Zloto &f[&3+1&f]" to player
  1466.                     stop
  1467.                 chance of {@Zelazo2_G}%:
  1468.                     give 1 Iron Ore to player
  1469.                     add 1 to {Zelazo.%player%}
  1470.                     send "&aZnalazles &5>> &7Zelazo &f[&3+1&f]" to player
  1471.                     stop
  1472.                 chance of {@Szmaragdy2_G}%:
  1473.                     give 1 Emerald to player
  1474.                     add 1 to {Szmaragdy.%player%}
  1475.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+1&f]" to player
  1476.                     stop
  1477.                 chance of {@Wegiel2_G}%:
  1478.                     give 1 Coal to player
  1479.                     send "&aZnalazles &5>> &8Wegiel &f[&3+1&f]" to player
  1480.                     stop
  1481.                 chance of {@Redstone2_G}%:
  1482.                     give 5 Redstone to player
  1483.                     send "&aZnalazles &5>> &cRedstone &f[&3+5&f]" to player
  1484.                     stop
  1485.                 chance of {@Slimeball2_G}%:
  1486.                     give 1 Slimeball to player
  1487.                     send "&aZnalazles &5>> &aSlimeball &f[&3+1&f]" to player
  1488.                     stop
  1489.                 chance of {@Lapis2_G}%:
  1490.                     give 5 Lapis Lazuli to player
  1491.                     send "&aZnalazles &5>> &1Lapis &f[&3+5&f]" to player
  1492.                     stop
  1493.                 chance of {@Exp2_G}%:
  1494.                     drop 1 Bottle O' Enchanting
  1495.                     stop
  1496.                    
  1497.             #Kilof - Fortune 1
  1498.             if player's tool is a any Pickaxe of Fortune 1:
  1499.                 chance of {@Diament2_G}%:
  1500.                     give 2 Diamond to player
  1501.                     add 2 to {Diamenty.%player%}
  1502.                     send "&aZnalazles &5>> &bDiament &f[&3+2&f]" to player
  1503.                     stop
  1504.                 chance of {@Zloto2_G}%:
  1505.                     give 2 Gold Ore to player
  1506.                     add 2 to {Zloto.%player%}
  1507.                     send "&aZnalazles &5>> &6Zloto &f[&3+2&f]" to player
  1508.                     stop
  1509.                 chance of {@Zelazo2_G}%:
  1510.                     give 2 Iron Ore to player
  1511.                     add 2 to {Zelazo.%player%}
  1512.                     send "&aZnalazles &5>> &7Zelazo &f[&3+2&f]" to player
  1513.                     stop
  1514.                 chance of {@Szmaragdy2_G}%:
  1515.                     give 2 Emerald to player
  1516.                     add 2 to {Szmaragdy.%player%}
  1517.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+2&f]" to player
  1518.                     stop
  1519.                 chance of {@Wegiel2_G}%:
  1520.                     give 2 Coal to player
  1521.                     send "&aZnalazles &5>> &8Wegiel &f[&3+2&f]" to player
  1522.                     stop
  1523.                 chance of {@Redstone2_G}%:
  1524.                     give 6 Redstone to player
  1525.                     send "&aZnalazles &5>> &cRedstone &f[&3+6&f]" to player
  1526.                     stop
  1527.                 chance of {@Slimeball2_G}%:
  1528.                     give 2 Slimeball to player
  1529.                     send "&aZnalazles &5>> &aSlimeball &f[&3+2&f]" to player
  1530.                     stop
  1531.                 chance of {@Lapis2_G}%:
  1532.                     give 6 Lapis Lazuli to player
  1533.                     send "&aZnalazles &5>> &1Lapis &f[&3+6&f]" to player
  1534.                     stop
  1535.                 chance of {@Exp2_G}%:
  1536.                     drop 2 Bottle O' Enchanting
  1537.                     stop
  1538.                    
  1539.             #Kilof - Fortune 2
  1540.             if player's tool is a any Pickaxe of Fortune 2:
  1541.                 chance of {@Diament2_G}%:
  1542.                     give 3 Diamond to player
  1543.                     add 3 to {Diamenty.%player%}
  1544.                     send "&aZnalazles &5>> &bDiament &f[&3+3&f]" to player
  1545.                     stop
  1546.                 chance of {@Zloto2_G}%:
  1547.                     give 3 Gold Ore to player
  1548.                     add 3 to {Zloto.%player%}
  1549.                     send "&aZnalazles &5>> &6Zloto &f[&3+3&f]" to player
  1550.                     stop
  1551.                 chance of {@Zelazo2_G}%:
  1552.                     give 3 Iron Ore to player
  1553.                     add 3 to {Zelazo.%player%}
  1554.                     send "&aZnalazles &5>> &7Zelazo &f[&3+3&f]" to player
  1555.                     stop
  1556.                 chance of {@Szmaragdy2_G}%:
  1557.                     give 3 Emerald to player
  1558.                     add 3 to {Szmaragdy.%player%}
  1559.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+3&f]" to player
  1560.                     stop
  1561.                 chance of {@Wegiel2_G}%:
  1562.                     give 3 Coal to player
  1563.                     send "&aZnalazles &5>> &8Wegiel &f[&3+3&f]" to player
  1564.                     stop
  1565.                 chance of {@Redstone2_G}%:
  1566.                     give 7 Redstone to player
  1567.                     send "&aZnalazles &5>> &cRedstone &f[&3+7&f]" to player
  1568.                     stop
  1569.                 chance of {@Slimeball2_G}%:
  1570.                     give 3 Slimeball to player
  1571.                     send "&aZnalazles &5>> &aSlimeball &f[&3+3&f]" to player
  1572.                     stop
  1573.                 chance of {@Lapis2_G}%:
  1574.                     give 7 Lapis Lazuli to player
  1575.                     send "&aZnalazles &5>> &1Lapis &f[&3+7&f]" to player
  1576.                     stop
  1577.                 chance of {@Exp2_G}%:
  1578.                     drop 3 Bottle O' Enchanting
  1579.                     stop
  1580.                    
  1581.             #Kilof - Fortune 3
  1582.             if player's tool is a any Pickaxe of Fortune 3:
  1583.                 chance of {@Diament2_G}%:
  1584.                     give 4 Diamond to player
  1585.                     add 4 to {Diamenty.%player%}
  1586.                     send "&aZnalazles &5>> &bDiament &f[&3+4&f]" to player
  1587.                     stop
  1588.                 chance of {@Zloto2_G}%:
  1589.                     give 4 Gold Ore to player
  1590.                     add 4 to {Zloto.%player%}
  1591.                     send "&aZnalazles &5>> &6Zloto &f[&3+4&f]" to player
  1592.                     stop
  1593.                 chance of {@Zelazo2_G}%:
  1594.                     give 4 Iron Ore to player
  1595.                     add 4 to {Zelazo.%player%}
  1596.                     send "&aZnalazles &5>> &7Zelazo &f[&3+4&f]" to player
  1597.                     stop
  1598.                 chance of {@Szmaragdy2_G}%:
  1599.                     give 4 Emerald to player
  1600.                     add 4 to {Szmaragdy.%player%}
  1601.                     send "&aZnalazles &5>> &2Szmaragd &f[&3+4&f]" to player
  1602.                     stop
  1603.                 chance of {@Wegiel2_G}%:
  1604.                     give 4 Coal to player
  1605.                     send "&aZnalazles &5>> &8Wegiel &f[&3+2&f]" to player
  1606.                     stop
  1607.                 chance of {@Redstone2_G}%:
  1608.                     give 8 Redstone to player
  1609.                     send "&aZnalazles &5>> &cRedstone &f[&3+8&f]" to player
  1610.                     stop
  1611.                 chance of {@Slimeball2_G}%:
  1612.                     give 4 Slimeball to player
  1613.                     send "&aZnalazles &5>> &aSlimeball &f[&3+4&f]" to player
  1614.                     stop
  1615.                 chance of {@Lapis2_G}%:
  1616.                     give 8 Lapis Lazuli to player
  1617.                     send "&aZnalazles &5>> &1Lapis &f[&3+8&f]" to player
  1618.                     stop
  1619.                 chance of {@Exp2_G}%:
  1620.                     drop 4 Bottle O' Enchanting
  1621.                     stop
  1622.                    
  1623. #=================================================#
  1624. #                  Blokada Dropu                  #
  1625. #=================================================#
  1626. #Wykopanie
  1627. On mine of {@Blokada}:
  1628.     cancel event
  1629.     send "{@Tag} &cWszystko wypada z kamienia." to player
  1630.     set block to air
  1631.     stop
  1632.    
  1633. #Wybuch
  1634. On explode:
  1635.     loop blocks in radius 10:
  1636.         if loop-block is {@Blokada}:
  1637.             set loop-block to air
  1638.            
  1639. #=================================================#
  1640. #                  Obsydian Drop                  #
  1641. #=================================================#
  1642. On mine of Obsidian:
  1643.     #Zwykly kilof
  1644.     if player's tool is a Diamond Pickaxe:
  1645.         cancel event
  1646.         set block to air
  1647.         damage player's tool by 1
  1648.         give 1 Obsidian to player
  1649.     #Kilof - Fortune 3
  1650.     if player's tool is a Diamond Pickaxe of Fortune 3:
  1651.         chance of {@Obsydian}%:
  1652.             give 1 Obsidian to player
  1653.             send "{@Tag} &bZnalazles dodatkowy &5Obsydian&b." to player
  1654.             stop
  1655.         stop
  1656.     stop
  1657.        
  1658. #=================================================#
  1659. #                   Mob Spawner                   #
  1660. #=================================================#
  1661. On break of Monster Spawner:
  1662.     if player's tool is a any Pickaxe of Silk Touch 1:
  1663.         cancel event
  1664.         set block to air
  1665.         damage player's tool by 1
  1666.         give 1 Mob Spawner to player
  1667.         send "{@Tag} &aWykopales &9Spawner&b." to player
  1668.     else:
  1669.         send "{@Tag} &9Spawner &culegl zniszczeniu." to player
  1670.         stop
  1671.     stop
Advertisement
Add Comment
Please, Sign In to add comment