Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Skript Drop
- #Wersja 0.2b
- options:
- diament: 0.6%
- zelazo: 0.7%
- zloto: 0.8%
- exp: 1
- variables:
- {diament2} = true
- {zelazo2} = true
- {zloto2} = true
- On Break Of Stone:
- execute console command "/xp {@exp} %name of player%"
- stop
- On Mine Of Stone:
- if {diament2} is true:
- chance of {@diament}:
- message "&bWykopales diament"
- drop a diamond
- stop
- if {zelazo2} is true:
- chance of {@zelazo}:
- message "&fWykopales zelazo"
- drop a iron ore
- stop
- if {zloto2} is true:
- chance of {@zloto}:
- message "&eWykopales zloto"
- drop a gold ore
- stop
- On Mine Of Diamond Ore:
- if {diament2} is true:
- cancel event
- set block to stone
- message "&4Diament wypada tylko ze stone wiecej info /drop!"
- stop
- On Mine Of Iron Ore:
- if {zelazo2} is true:
- cancel event
- set block to stone
- message "&4Zelazo wypada tylko ze stone wiecej info /drop!"
- stop
- On Mine Of Gold Ore:
- if {zloto2} is true:
- cancel event
- set block to stone
- message "&4Zloto wypada tylko ze stone wiecej info /drop!"
- stop
- command /drop:
- description: Pokazuje drop ze stone
- trigger:
- message "&2=====Drop====="
- message "&bDiament: 0.6 procent"
- message "&fZelazo: 0.7 procent"
- message "&eZloto: 0.8 procent"
- message "&2=====Drop====="
- stop
- command /drops [<text>]:
- description: Wlaczanie i wylaczanie rud
- permission: drop.wliwyl
- trigger:
- if argument 1 is "diament":
- if {diament2} is true:
- set {diament2} to false
- message "&bWylaczono wypadanie diamentu"
- stop
- if {diament2} is false:
- set {diament2} to true
- message "&bWlaczono wypadanie diamentu"
- stop
- if argument 1 is "zelazo":
- if {zelazo2} is true:
- set {zelazo2} to false
- message "&fWylaczono wypadanie zelaza"
- stop
- if {zelazo2} is false:
- set {zelazo2} to true
- message "&fWlaczono wypadanie zelaza"
- stop
- if argument 1 is "zloto":
- if {zloto2} is true:
- set {zloto2} to false
- message "&eWylaczono wypadanie zlota"
- stop
- if {zloto2} is false:
- set {zloto2} to true
- message "&eWlaczono wypadanie zlota"
- stop
- if argument 1 is "list":
- message "&bdiament"
- message "&fzelazo"
- message "&ezloto"
- stop
Advertisement
Add Comment
Please, Sign In to add comment