------------------ --Evolution ------------------- --Global Constants WIDTH = 100; HEIGHT = 100; JUNGLE = {45,10,10,10}; PLANT_ENERGY = 80; --PLANTS = something function random_plant(left, top, width, height) math.randomseed(os.time()); pos = {left + math.random(width+1) - 1, top + math.random(height+1)-1}; --somethingelse end function add_plants() random_plant(unpack(JUNGLE)); random_plant(0, 0, WIDTH, HEIGHT); end