No cóż, najwidoczniej 'ternary operator' u ciebie nie działa. W takim razie zrobimy to prostym warunkiem.
on mine of stone:
if player has permission "permisja.vip":
set {_chance} to 4
else:
set {_chance} to 1
if player's tool's type is stone pickaxe:
set {_drops::*} to iron ingot
else if player's tool's type is iron pickaxe:
set {_drops::*} to lapis lazuli, diamond, gold ingot and redstone
else if player's tool's type is diamond pickaxe:
set {_drops::*} to iron ingot, lapis lazuli, diamond, gold ingot and redstone
else:
stop
loop {_drops::*}:
chance of {_chance}%:
drop loop-value at event-block
drop 5 xp at event-block
command /drop:
executable by: players
trigger:
send " &aDrop:"
send " &fSztabki żelaza &7- &61%%" to player
send " &eSztabki złota &7- &61%%" to player
send " &9Lapis lazuli &7- &61%%" to player
send " &cRedstone &7- &61%%" to player
send " &bDiamenty &7- &61%%" to player