i only had to change the number of loops and it worked!
here i uploaded a screenshot, i created the grid, then i picked random grid tiles and spawned several plants at random grids until there were a certain number of plants (like 100)
Now i can spawn plants, treasure chests,monsters and more with the tiles.
thanks!