LoTROInterface

LoTROInterface (https://www.lotrointerface.com/forums/index.php)
-   Lua Programming Help (L) (https://www.lotrointerface.com/forums/forumdisplay.php?f=50)
-   -   nested table issues (https://www.lotrointerface.com/forums/showthread.php?t=1253)

SanDBoX 11-20-2010 08:15 PM

nested table issues
 
I am working on a group of prenested tables, such as
Code:

["Cook"] = {
        ["Tier1"] = {
                ["Recipe1"] = { Name = "Apprentice's Ale Recipe", SingleUse = false },
                ["Recipe2"] = { Name = "Barley Soup Recipe", SingleUse = false },
                ["Recipe3"] = { Name = "Bold Stout Recipe", SingleUse = false },
        }
}

now my problem is when I import the file it gives a "attempt to index a nil value" on the last line, any clue why it throws that error? tried adding additional values and still does it on the closing bracket...

SanDBoX 11-21-2010 02:12 AM

never mind, got that figured out.


All times are GMT -5. The time now is 12:31 AM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI