Could you please help me with Shine Getter?
This is my code
while True:
coins = hero.findItems()
coinIndex = 0
# Wrap this into a loop that iterates over all coins.
while coinIndex < len(coins):
coin = coins[coinIndex]
# Gold coins are worth 3.
if coin.value == 3:
# Only pick up gold coins.
pos = coin.pos
x = coin.pos.x
y = coin.pos.y
hero.moveXY(x, y)
coinIndex += 1
pass