Posted 30 April 2013 - 05:54 PM
hi,
im working on a game that requires the player to modify a table by adding boxes to it and the character will fallow the instructions given by the player like a turtle (not a computercraft specific turtle).
here is the table
(there are more rows but i only put in two because it gets a bit big)
i would like to know how to create a for loop that runs thru first row and only the objects table
im working on a game that requires the player to modify a table by adding boxes to it and the character will fallow the instructions given by the player like a turtle (not a computercraft specific turtle).
here is the table
(there are more rows but i only put in two because it gets a bit big)
local programs = {
{
objects = {"none","none","none","none","none","none","none","none","none","none"}
values = {0,0,0,0,0,0,0,0,0,0}
},
{
objects = {"none","none","none","none","none","none","none","none","none","none"}
values = {0,0,0,0,0,0,0,0,0,0}
}
}
i would like to know how to create a for loop that runs thru first row and only the objects table