I changed my code several times and I always run out of time.
I also noticed that it seems I do not have a pet, even though I selected one before the game started.
This is my code:
Collect mushrooms.
First, come to the wolf pet and wake up it (say).
hero.say(“Wake up”)
while True:
arrow = hero.findNearest(hero.findEnemyMissiles())
item = hero.findNearestItem()
if item:
hero.moveXY(item.pos.x, item.pos.y)
elif arrow:
pet.catch(arrow)
Please help, I am stuck.
Thanks