Cits need (HP,Wood,Food,Gold,Stone,Qunity,X,Y)
Ok now my question is, what is the code to extract a single cell, and to write to a single cell in an array
The Folling Is an Example of my Array
Code: Select all
a, b, c, d, e, f, g, h = 0
Cit = {}
for a = 0, 20 do 
  Cit[a] = {} 
   for b = 0, 20 do 
    Cit[a][b] = {} 
    for c = 0, 20 do 
      Cit[a][b][c] = {}
       for d = 0, 20 do 
        Cit[a][b][c][d] = {}
         for e = 0, 20 do 
          Cit[a][b][c][d][e] = {} 
           for f = 0, 20 do 
            Cit[a][b][c][d][e][f] = {} 
             for g = 0, 20 do 
              Cit[a][b][c][d][e][f][g] = {}
               for h = 0, 20 do 
                Cit[a][b][c][d][e][f][g][h] = {}
           end
          end
         end
        end
       end
      end 
    end 
  end