Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {diament.napis.%player%} = "&aWlaczony"
- {szmaragd.napis.%player%} = "&aWlaczony"
- {cobble.napis.%player%} = "&aWlaczony"
- {iron.napis.%player%} = "&aWlaczony"
- {diament.%player%} = false
- {szmaragd.%player%} = false
- {iron.%player%} = false
- {cobble.%player%} = false
- {stone.%player%} = 0
- {diax.%player%} = 0
- {zelazo.%player%} = 0
- {eme.%player%} = 0
- variables:
- {stone::%player%} = 0
- on mine of stone:
- add 1 to {stone::%player%}
- options:
- tag: &8[&a&lDrop&8]
- command /drop [<text>]:
- trigger:
- if arg 1 is not set:
- open chest with 1 rows named "{@tag}" to player
- wait 0.2 second
- format slot 7 of player with 1 of diamond pickaxe named "&fWykopany stone: &c%{stone::%player%}%" with lore "Kliknij aby odswiezyc" to run [make player execute "drop"]
- format slot 0 of player with 1 of stone named "&1&lDrop z stone" to run [make player execute "droplist"]
- format slot 6 of player with 1 paper named "&b&lDurbo&a&lDrop" with lore "&k####################||&cZakupisz na||&6Pracuje nad tym||&k####################)" to run [make player execute "drop"]
- format slot 8 of player with 1 of 166 named "&cWyjscie" to close
- command /droplist [<text>]:
- trigger:
- if arg 1 is not set:
- open chest with 4 rows named "&8[&a&lDrop&8]" to player
- wait 0.2 second
- format slot 0 of player with 1 of diamond named "&6Diament" with lore "&8Szansa &e12 procent||&8Doswiadczenie &e60||&8Status: &e%{diament.napis.%player%}%" to run [execute player command "/diament"]
- format slot 1 of player with 1 of emerald named "&6Emerald" with lore "&8Szansa &e6 procent||&8Doswiadczenie &e80||&8Status: &e%{szmaragd.napis.%player%}%" to run [execute player command "/szmaragd"]
- format slot 2 of player with 1 of iron ingot named "&6Zelazo" with lore "&8Szansa &e9 procent||&8Doswiadczenie &e90||&8Status: &e%{iron.napis.%player%}%" to run [execute player command "/iron"]
- format slot 13 of player with 1 of 54 named "&7&k||&6FastCase&7&k||" with lore "&8Szansa &e0.03 procent||&8Status: &c&lPRACE TECHNICZNE" to run [execute player command "/droplist"]
- format slot 28 of player with 1 of 35:13 named "&7&lWlacza wszystkie dropy" with lore "&8Status: &c&lPRACE TECHNICZNE" to run [execute player command "/droplist"]
- format slot 27 of player with 1 of 35:14 named "&7&lWylacza wszystkie dropy" with lore "&8Status: &c&lPRACE TECHNICZNE" to run [execute player command "/droplist"]
- format slot 33 of player with 1 paper named "&b&lDurbo&a&lDrop" with lore "&k####################||&cZakupisz na||&6Pracuje nad tym||&k####################)" to run [make player execute "droplist"]
- format slot 26 of player with 1 of 1 named "&6Cobblestone" with lore "&cStan: %{cobble.napis.%player%}%" to run [execute player command "/cobble"]
- format slot 34 of player with 1 of 399 named "&2Powrot do Menu" with lore "&8» &7Przenosi do glownego Menu" to run [make player execute "drop"]
- format slot 35 of player with 1 of 166 named "&cWyjscie" to close
- on break stone:
- if {cobble.%player%} is false:
- chance of 100%:
- give 1 cobblestone to the player
- add 1 to {stone.%player%}
- if {diament.%player%} is false:
- chance of 12%:
- give 1 diamond to the player
- give 60 exp to player
- add 1 to {diax.%player%}
- if {szmaragd.%player%} is false:
- chance of 6%:
- give 1 emerald to the player
- give 80 exp to player
- add 1 to {eme.%player%}
- stop
- if {iron.%player%} is false:
- chance of 9%:
- give 1 iron ingot to the player
- give 90 exp to player
- add 1 to {zelazo.%player%}
- stop
- command /diament:
- trigger:
- if {diament.%player%} is true:
- set {diament.%player%} to false
- set {diament.napis.%player%} to "&aWlaczony"
- wait 5 ticks
- execute player command "droplist"
- else:
- set {diament.%player%} to true
- set {diament.napis.%player%} to "&cWylaczony"
- wait 5 ticks
- execute player command "droplist"
- command /szmaragd:
- trigger:
- if {szmaragd.%player%} is true:
- set {szmaragd.%player%} to false
- set {szmaragd.napis.%player%} to "&aWlaczony"
- wait 5 ticks
- execute player command "droplist"
- else:
- set {szmaragd.%player%} to true
- set {szmaragd.napis.%player%} to "&cWylaczony"
- wait 5 ticks
- execute player command "droplist"
- command /iron:
- trigger:
- if {iron.%player%} is true:
- set {iron.%player%} to false
- set {iron.napis.%player%} to "&aWlaczony"
- wait 5 ticks
- execute player command "droplist"
- else:
- set {iron.%player%} to true
- set {iron.napis.%player%} to "&cWylaczony"
- wait 5 ticks
- execute player command "droplist"
- command /cobble:
- trigger:
- if {cobble.%player%} is true:
- set {cobble.%player%} to false
- set {cobble.napis.%player%} to "&aWlaczony"
- wait 5 ticks
- execute player command "droplist"
- else:
- set {cobble.%player%} to true
- set {cobble.napis.%player%} to "&cWylaczony"
- wait 5 ticks
- execute player command "droplist"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement