How to build a decoy - Decoy Drill


A little embarrasing, but how do I actually build a decoy… I don’t know the command to build the decoy. Right now I have…

# We are field testing a new battle unit: the decoy.
# Build 4 decoys, then report the total to Naria.
# Each decoy costs 25 gold. Use the Quartz Sense Stone
# to know when you have more than 25 gold with
# Keep a count of decoys you built as you go along.
# Break out of the loop when you have built 4.
decoysBuilt = 0
    item = self.findNearestItem()
    x = item.pos.x
    y = item.pos.y
    self.moveXY(x, y)
    if >= 100:
        self.moveXY(14, 36)
self.say("Done building decoys!")
# Go to Naria and say how many decoys you built.
self.say("I've built "+decoysBuilt+" decoys")


Nevermind, I’m an idiot. I thought I had the required hammer, but I didn’t.


in fact,i pass this ievel with 1 day… you are right ,you need hammer ,where is hammer ?

can you see ?

and your code has some problems.

my English is so bad , i hope to help you …