Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #======================================#
- #Autor: DJNileox #
- #Wersja: 1.0v #
- #Co Dodano: #
- #Fortuna i zmiana wiadomosci dozwolona!#
- #======================================#
- #=-=-=-=-=-=-=-=-=-=-=-=#
- # OPCJE #
- #=-=-=-=-=-=-=-=-=-=-=-=#
- options:
- tag: &b[&6&lDJ&7Drop&b]
- #Drop Bez Fortuny
- zelazo: 4.5%
- zloto: 3.5%
- diament: 2.0%
- szmaragd: 1.0%
- wegiel: 4.0%
- redstone: 2.5%
- lapis: 2.5%
- #Fortuna 1
- zelazo1: 5.0%
- zloto1: 4.0%
- diament1: 2.5%
- szmaragd1: 1.5%
- wegiel1: 4.5%
- redstone1: 3.0%
- lapis1: 3.0%
- #Fortuna 2
- zelazo2: 5.5%
- zloto2: 4.5%
- diament2: 3.0%
- szmaragd2: 2.0%
- wegiel2: 5.0%
- redstone2: 3.5%
- lapis2: 3.5%
- #Fortuna 3
- zelazo3: 6.0%
- zloto3: 5.0%
- diament3: 3.5%
- szmaragd3: 2.5%
- wegiel3: 5.5%
- redstone3: 4.0%
- lapis3: 4.0%
- #=-=-=-=-=-=-=-=-=-=-=-=#
- # KOD SKRYPTU #
- #=-=-=-=-=-=-=-=-=-=-=-=#
- on mine of any ore:
- cancel event
- delete block
- send "{@tag}&7 Drop Jest Z Stone :) /stone (drop, f1, f2, f3)"
- on mine of stone:
- if player's tool is pickaxe of fortune 0:
- chance of {@zelazo}:
- give a random number between 3 and 1 of iron ingot to the player
- send "{@tag}&7 Znalazles zelazo!"
- stop
- else:
- if player's tool is pickaxe of fortune 1:
- chance of {@zelazo1}:
- give a random number between 4 and 2 of iron ingot to the player
- send "{@tag}&7 Znalazles zelazo!"
- stop
- else:
- if player's tool is pickaxe of fortune 2:
- chance of {@zelazo2}:
- give a random number between 5 and 3 of iron ingot to the player
- send "{@tag}&7 Znalazles zelazo!"
- stop
- else:
- if player's tool is pickaxe of fortune 3:
- chance of {@zelazo3}:
- give a random number between 6 and 4 of iron ingot to the player
- send "{@tag}&7 Znalazles zelazo!"
- stop
- if player's tool is pickaxe of fortune 0:
- chance of {@zloto}:
- give a random number between 3 and 1 of gold ingot to the player
- send "{@tag}&7 Znalazles zloto!"
- stop
- else:
- if player's tool is pickaxe of fortune 1:
- chance of {@zloto1}:
- give a random number between 4 and 2 of gold ingot to the player
- send "{@tag}&7 Znalazles zloto!"
- stop
- else:
- if player's tool is pickaxe of fortune 2:
- chance of {@zloto2}:
- give a random number between 5 and 3 of gold ingot to the player
- send "{@tag}&7 Znalazles zloto!"
- stop
- else:
- if player's tool is pickaxe of fortune 3:
- chance of {@zloto3}:
- give a random number between 6 and 4 of gold ingot to the player
- send "{@tag}&7 Znalazles zloto!"
- stop
- if player's tool is pickaxe of fortune 0:
- chance of {@diament}:
- give a random number between 2 and 1 of diamond to the player
- send "{@tag}&7 Znalazles diament!"
- stop
- else:
- if player's tool is pickaxe of fortune 1:
- chance of {@diament1}:
- give a random number between 3 and 1 of diamond to the player
- send "{@tag}&7 Znalazles diament!"
- stop
- else:
- if player's tool is pickaxe of fortune 2:
- chance of {@diament2}:
- give a random number between 3 and 2 of diamond to the player
- send "{@tag}&7 Znalazles diament!"
- stop
- else:
- if player's tool is pickaxe of fortune 3:
- chance of {@diament3}:
- give a random number between 4 and 2 of diamond to the player
- send "{@tag}&7 Znalazles diament!"
- stop
- if player's tool is pickaxe of fortune 0:
- chance of {@szmaragd}:
- give 1 emerald to the player
- send "{@tag}&7 Znalazles szmaragd!"
- stop
- else:
- if player's tool is pickaxe of fortune 1:
- chance of {@szmaragd1}:
- give a random number between 2 and 1 of emerald to the player
- send "{@tag}&7 Znalazles szmaragd!"
- stop
- else:
- if player's tool is pickaxe of fortune 2:
- chance of {@szmaragd2}:
- give a random number between 3 and 1 of emerald to the player
- send "{@tag}&7 Znalazles szmaragd!"
- stop
- else:
- if player's tool is pickaxe of fortune 3:
- chance of {@szmaragd2}:
- give a random number between 3 and 2 of emerald to the player
- send "{@tag}&7 Znalazles szmaragd!"
- stop
- if player's tool is pickaxe of fortune 0:
- chance of {@wegiel}:
- give a random number between 4 and 1 of coal to the player
- send "{@tag}&7 Znalazles wegiel!"
- stop
- else:
- if player's tool is pickaxe of fortune 1:
- chance of {@wegiel1}:
- give a random number between 4 and 2 of coal to the player
- send "{@tag}&7 Znalazles wegiel!"
- stop
- else:
- if player's tool is pickaxe of fortune 2:
- chance of {@wegiel2}:
- give a random number between 5 and 2 of coal to the player
- send "{@tag}&7 Znalazles wegiel!"
- stop
- else:
- if player's tool is pickaxe of fortune 3:
- chance of {@wegiel3}:
- give a random number between 6 and 3 of coal to the player
- send "{@tag}&7 Znalazles wegiel!"
- stop
- if player's tool is pickaxe of fortune 0:
- chance of {@redstone}:
- give a random number between 4 and 1 of redstone to the player
- send "{@tag}&7 Znalazles redstone!"
- stop
- else:
- if player's tool is pickaxe of fortune 1:
- chance of {@redstone1}:
- give a random number between 4 and 2 of redstone to the player
- send "{@tag}&7 Znalazles redstone!"
- stop
- else:
- if player's tool is pickaxe of fortune 2:
- chance of {@redstone2}:
- give a random number between 5 and 2 of redstone to the player
- send "{@tag}&7 Znalazles redstone!"
- stop
- else:
- if player's tool is pickaxe of fortune 3:
- chance of {@redstone3}:
- give a random number between 6 and 3 of redstone to the player
- send "{@tag}&7 Znalazles redstone!"
- stop
- if player's tool is pickaxe of fortune 0:
- chance of {@lapis}:
- give a random number between 4 and 1 of lapis lazuli to the player
- send "{@tag}&7 Znalazles lapis!"
- stop
- else:
- if player's tool is pickaxe of fortune 1:
- chance of {@lapis1}:
- give a random number between 4 and 2 of lapis lazuli to the player
- send "{@tag}&7 Znalazles lapis!"
- stop
- else:
- if player's tool is pickaxe of fortune 2:
- chance of {@lapis2}:
- give a random number between 5 and 2 of lapis lazuli to the player
- send "{@tag}&7 Znalazles lapis!"
- stop
- else:
- if player's tool is pickaxe of fortune 3:
- chance of {@lapis3}:
- give a random number between 6 and 3 of lapis lazuli to the player
- send "{@tag}&7 Znalazles lapis!"
- stop
- command /stone <text>:
- trigger:
- if arg 1 is "drop":
- send " "
- send "Drop"
- send "{@tag}&8 Zelazo:&7 4.5"
- send "{@tag}&6 Zloto:&7 3.5"
- send "{@tag}&b Diament:&7 2.0"
- send "{@tag}&2 Szmaragd:&7 1.0"
- send "{@tag}&0 Wegiel:&7 4.0"
- send "{@tag}&4 Redstone:&7 2.5"
- send "{@tag}&1 Lapis lazuli:&7 2.5"
- send " "
- if arg 1 is "f1":
- send " "
- send "Drop z fortune 1"
- send "{@tag}&8 Zelazo:&7 5.0"
- send "{@tag}&6 Zloto:&7 4.0"
- send "{@tag}&b Diament:&7 2.5"
- send "{@tag}&2 Szmaragd:&7 1.5"
- send "{@tag}&0 Wegiel:&7 4.5"
- send "{@tag}&4 Redstone:&7 3.0"
- send "{@tag}&1 Lapis lazuli:&7 3.0"
- send " "
- if arg 1 is "f2":
- send " "
- send "Drop z fortune 2"
- send "{@tag}&8 Zelazo:&7 5.5"
- send "{@tag}&6 Zloto:&7 4.5"
- send "{@tag}&b Diament:&7 3.0"
- send "{@tag}&2 Szmaragd:&7 2.0"
- send "{@tag}&0 Wegiel:&7 5.0"
- send "{@tag}&4 Redstone:&7 3.5"
- send "{@tag}&1 Lapis lazuli:&7 3.5"
- send " "
- if arg 1 is "f3":
- send " "
- send "Drop z fortune 3"
- send "{@tag}&8 Zelazo:&7 6.0"
- send "{@tag}&6 Zloto:&7 5.0"
- send "{@tag}&b Diament:&7 3.5"
- send "{@tag}&2 Szmaragd:&7 2.5"
- send "{@tag}&0 Wegiel:&7 5.5"
- send "{@tag}&4 Redstone:&7 4.0"
- send "{@tag}&1 Lapis lazuli:&7 4.0"
- send " "
Advertisement
Add Comment
Please, Sign In to add comment