This is my solution. As you can see the knight got the treasure here, but there is no option to advance to the next level.
Viewing post in Veggie Quest: The Puzzle Game (early demo) jam comments
Yes, the game works correctly here. The issue is in misunderstanding of the rules (which is the game's fault obviously). Could you help me understand where it comes from, please?
So are you thinking that the level is solved because the character got to the treasure? Or are there any other requirements for considering a level solved? Couldn't you lead the character to the treasure around the trap ignoring it (and the button) entirely?
Ok, thanks! This is not a bug. In order to earn each carrot, you have to finish a level with more than X steps, where X is different for each level and each carrot. So no carrots means that the dungeon is too far from optimal even for the first carrot to be earned. I just need to come up with a way to make players realize this.
THIS CHANGED EVERYTHING. I thought "how can you do 22 on 25 tile map?" and then realized that the movement algorithm for the onion guy must be different than I thought! It was, and I managed to finish the level instantly after that. I think it would be cool (and would push me in the right direction) if next to the points I got was a points needed for another carrot.