flame simulator re-vamped for multiagent systems