Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: Sasky
Forum: Lua/XML Help 11/18/14, 03:24 PM
Replies: 15
Views: 10,223
Posted By Sasky
Ah yeah. If you're trying to do something along...

Ah yeah. If you're trying to do something along these lines it'd throw the error at the for statement because you can't have a for statement within a table.

--BAD STRUCTURE. DO NOT USE
local...
Forum: Lua/XML Help 11/18/14, 12:50 PM
Replies: 15
Views: 10,223
Posted By Sasky
Looping over the block does nothing. You'd need...

Looping over the block does nothing. You'd need to build-up a table by appending each entry from the loop:


local settingsTable = {}
for k, craftKey in pairs(blackSmithingRules) do
local entry =...
Showing results 1 to 2 of 2