Two remarks:
The hammer is not required even if it’s needed for this level.
The wooden cross on the far left is not visible at the begining. Maybe it’s a wanted feature, but we’re looking for it when we’re writting code a little bit in advance.
I was sure, but now…
At least now it’s requiring the hammer to me.
Is the way we start the level using the shortcut in the email could lead to such problem ?
I’m not sure but it seems to me the first time the code complains about the buildxy method because of the lack of hammer…
I concur with Vettax, there is no hammer req. At least on the initial load.
Also the “far left” x has not appeared during three plays. I have tried different locations of the last two fire-traps but to no difference. So I can’t complete it.
Lastly in a stylistic sense the humans overwhelm in combat, this seems to thematically detract from the objective of booby traps.
The “far left” x appeared finally. Maybe there was something special about where or when I was executing the string. But when I re-wrote all my code, no problem.
I think the problem was that the camera boundaries make it hard to see the X if your hero is still on the right side of the screen. To get around this, I edited it to add an intermediate X that is definitely visible, and to accept it if the hero moves to either X.
Also, another player had an issue where his traps weren’t exploding, because instead of going around the back, he was running straight through the battle to get back to camp. I suppose this isn’t as much of an issue, but if any other players have that problem, try returning the way you came after building the traps.
What is wrong with this code?
I can’t find the rally point.
this.moveXY(55, 14);
this.moveXY(92, 9);
// Build a "fire-trap" on the red X.
this.buildXY("fire-trap", 93, 19);
// Move back to the wooden X to avoid the blast.
this.moveXY(80, 5);
// Wait for the peon to investigate the shiny fire trap.
this.say("Muhahaha");
this.say("Prepare to die!");
this.say("What did the fox say?");
this.say("Who let the dogs out?");
// Enter the camp and lay fire traps on each red X.
this.buildXY("fire-trap", 90, 53);
this.buildXY("fire-trap", 60, 63);
// Yell for your troops to retreat. (Hint: use say.)
this.say("Come get me!!!");
// Flee back to the far left wooden X rally point.
this.moveXY(80, 5);
this.moveXY(-16, 39);
Never crossed my mind to say anything but “Retreat” . . . as it doesn’t say, “yell at your troops” or “speak nicely to them” or “start up a conversation” or “insult them” or “provoke them” . . . . .
Are you saying you didn`t see a X before you ran the code or after you ran the code? Could you send a picture of the place where the X is supposed to be?