# EDYTOWANE PRZEZ HEEZQ - NIE USUWAJ # on mine of stone: if {cobble.drop} is not set: stop else: cancel event set block to air options: diament: 2.23 zelazo: 5.67 zloto: 3.43 tnt: 2.31 perla: 1.94 lapis: 7.01 jablko: 3.12 obsydian: 3.14 ksiazki: 2.34 szmaragd: 1.69 command /drop: trigger: open chest with 3 rows named "&e&lDROP ZE STONE:" to player if {drop.diament} is set: format slot 0 of player with 1 diamond named "&c&lDiament" with lore "&7Szansa: {@diament}" to be unstealable else: format slot 0 of player with 1 diamond named "&c&lDiament" with lore "&cDrop wyłączony" to be unstealable if {drop.zloto} is set: format slot 1 of player with 1 gold ingot named "&c&lZloto" with lore "&7Szansa: {@zloto}" to be unstealable else: format slot 1 of player with 1 gold ingot named "&c&lZloto" with lore "&cDrop wyłączony" to be unstealable if {drop.zelazo} is set: format slot 2 of player with 1 iron ingot named "&c&lZelazo" with lore "&7Szansa: {@zelazo}" to be unstealable else: format slot 2 of player with 1 iron ingot named "&c&lZelazo" with lore "&cDrop wyłączony" to be unstealable if {drop.tnt} is set: format slot 3 of player with 1 tnt named "&c&lTnT" with lore "&7Szansa: {@tnt}" to be unstealable else: format slot 3 of player with 1 tnt named "&c&lTnT" with lore "&cDrop wyłączony" to be unstealable if {drop.lapis} is set: format slot 4 of player with 1 lapis named "&c&lLapis" with lore "&7Szansa: {@lapis}" to be unstealable else: format slot 4 of player with 1 lapis named "&c&lLapis" with lore "&cDrop wyłączony" to be unstealable if {drop.perla} is set: format slot 5 of player with 1 ender pearl named "&c&lPerla" with lore "&7Szansa: {@perla}" to be unstealable else: format slot 5 of player with 1 ender pearl named "&c&lPerla" with lore "&cDrop wyłączony" to be unstealable if {drop.jablko} is set: format slot 6 of player with 1 apple named "&c&lJablko" with lore "&7Szansa: {@jablko}" to be unstealable else: format slot 6 of player with 1 apple named "&c&lJablko" with lore "&cDrop wyłączony" to be unstealable if {drop.obsydian} is set: format slot 7 of player with 1 obsidian named "&c&lObsydian" with lore "&7Szansa: {@obsydian}" to be unstealable else: format slot 7 of player with 1 obsidian named "&c&lObsydian" with lore "&cDrop wyłączony" to be unstealable if {drop.ksiazki} is set: format slot 8 of player with 1 bookshelf named "&c&lBiblioteczka" with lore "&7Szansa: {@ksiazki}" to be unstealable else: format slot 8 of player with 1 bookshelf named "&c&lBiblioteczka" with lore "&cDrop wyłączony" to be unstealable if {drop.szmaragd} is set: format slot 9 of player with 1 emerald named "&c&lSzmaragd" with lore "&7Szansa: {@szmaragd}" to be unstealable else: format slot 9 of player with 1 emerald named "&c&lSzmaragd" with lore "&cDrop wyłączony" to be unstealable on mine of stone: if {drop.drop} is set: if {drop.diament} is set: chance of {@diament}%: give player 1 diamond if {drop.zloto} is set: chance of {@zloto}%: give player 1 gold ingot if {drop.zelazo} is set: chance of {@zelazo}%: give player 1 iron ingot if {drop.tnt} is set: chance of {@tnt}%: give player 1 tnt if {drop.lapis} is set: chance of {@lapis}%: give player 1 lapis if {drop.perla} is set: chance of {@perla}%: give player 1 ender pearl if {drop.jablko} is set: chance of {@jablko}%: give player 1 apple if {drop.obsydian} is set: chance of {@obsydian}%: give player 1 obsidian if {drop.ksiazki} is set: chance of {@ksiazki}%: give player 1 bookshelf if {drop.szmaragd} is set: chance of {@szmaragd}%: give player 1 emerald command /adrop [] []: trigger: if arg-1 is not set: if player has permission "drop.admin": send "&cUżycie: &a/adrop cobblestone/drop" stop else: send "&cNie masz uprawnień!" stop else: if arg-1 is "cobblestone": if {cobble.drop} is set: delete {cobble.drop} send "&aWłączyłeś drop na cobble" stop else: set {cobble.drop} to true send "&cWyłączyłeś drop na cobble" stop if arg-1 is "drop": if {drop.drop} is set: delete {drop.drop} send "&cWyłączyłeś drop" stop else: set {drop.drop} to true send "&aWłączyłeś drop" if arg-1 is "tryb": if arg-2 is "diament": if {drop.diament} is set: delete {drop.diament} send "&cWyłączono." else: set {drop.diament} to true send "&aWłączono." if arg-2 is "zloto": if {drop.zloto} is set: delete {drop.zloto} send "&cWyłączono." else: set {drop.zloto} to true send "&aWłączono." if arg-2 is "zelazo": if {drop.zelazo} is set: delete {drop.zelazo} send "&cWyłączono." else: set {drop.zelazo} to true send "&aWłączono." if arg-2 is "tnt": if {drop.tnt} is set: delete {drop.tnt} send "&cWyłączono." else: set {drop.tnt} to true send "&aWłączono." if arg-2 is "lapis": if {drop.lapis} is set: delete {drop.lapis} send "&cWyłączono." else: set {drop.lapis} to true send "&aWłączono." if arg-2 is "perla": if {drop.perla} is set: delete {drop.perla} send "&cWyłączono." else: set {drop.perla} to true send "&aWłączono." if arg-2 is "jablko": if {drop.jablko} is set: delete {drop.jablko} send "&cWyłączono." else: set {drop.jablko} to true send "&aWłączono." if arg-2 is "obsydian": if {drop.obsydian} is set: delete {drop.obsydian} send "&cWyłączono." else: set {drop.obsydian} to true send "&aWłączono." if arg-2 is "ksiazki": if {drop.ksiazki} is set: delete {drop.ksiazki} send "&cWyłączono." else: set {drop.ksiazki} to true send "&aWłączono." if arg-2 is "szmaragd": if {drop.szmaragd} is set: delete {drop.szmaragd} send "&cWyłączono." else: set {drop.szmaragd} to true send "&aWłączono." if arg-2 is "all": if {drop.szmaragd} is set: delete {drop.szmaragd} else: set {drop.szmaragd} to true if {drop.ksiazki} is set: delete {drop.ksiazki} else: set {drop.ksiazki} to true if {drop.obsydian} is set: delete {drop.obsydian} else: set {drop.obsydian} to true if {drop.jablko} is set: delete {drop.jablko} else: set {drop.jablko} to true if {drop.perla} is set: delete {drop.perla} else: set {drop.perla} to true if {drop.lapis} is set: delete {drop.lapis} else: set {drop.lapis} to true if {drop.tnt} is set: delete {drop.tnt} else: set {drop.tnt} to true if {drop.tnt} is set: delete {drop.tnt} else: set {drop.tnt} to true if {drop.zelazo} is set: delete {drop.zelazo} else: set {drop.zelazo} to true if {drop.zloto} is set: delete {drop.zloto} else: set {drop.zloto} to true if {drop.diament} is set: delete {drop.diament} send " " else: set {drop.diament} to true send " "