Cant pass Decoy Drill, yet Everything Works!

I did everything, my code works well, My character is collecting gold like a maniac, builds four decoys, reports it, yet it still doesnt work :confused:! Heres my code:
, , ,
decoysBuilt = 0
while True:
Items = hero.findItems()
coin = hero.findNearest(Items)

if coin:
    # Loot the coin!
    hero.moveXY(coin.pos.x, coin.pos.y)
    pass
# Each decoy costs 25 gold.
# Know when you have more than 25 gold with hero.gold
if hero.gold >= 25:
    hero.buildXY("decoy", hero.pos.x, hero.pos.y)
    decoysBuilt = decoysBuilt + 1

    # Keep a count of decoys you built as you go along.

if decoysBuilt == 4:
    # Break out of the loop when you have built 4.
    
    break

hero.moveXY(14, 36)

Go to Naria and say how many decoys you built.

hero.say(β€œDone building decoys!”)

’ ’ ’

1 Like

You forgot to say how many decoys you built.

1 Like

OOOOooohh. Thanks. I passed it now.:joy:

1 Like