on load:
set {tarim_coin} to emerald
set name of {tarim_coin} to "&2Tarım Coin"
set lore of {tarim_coin} to "&eTarım Bölgesinde Kazanılır!"
every 3 minutes:
loop blocks in region "tarim_alani":
if loop-block is wheat:
set age of loop-block to 7
on break of wheat:
if event-location is in region "tarim_alani":
if event-block's age == 7:
cancel event
set event-block's age to 0
drop 1 wheat at event-location
drop random integer from 0 to 2 of wheat seeds at event-location
if chance of 7%:
drop {tarim_coin} at event-location
else:
cancel event
send action bar "&4&cSadece tam büyümüş buğday kırabilirsin!" to player