if (do_name() != 'Home') : ?>
endif ?>
Posted by Stefan on Nov 28, 2010
include("util/comment.php"); ?>
Hey, the trick is to restart the script when the foodsources count reaches zero. So you can put this in your draw() method, right after 'global colony':
if not colony.foodsources: setup()Stefan
loop-ant
Posted by Karel on Nov 24, 2010Dear,
How can I make a loop?
I'm working/learning on the ant-tutorial,
and I want to restart the action/script with the ants, when all food is taken.
So instead of step 4 (wander aimlessly), I want to restart the script.
Thank you!