17,105
edits
(Use JSON tables instead of Lua modules to load data) |
(Amend to use alternative data pages) |
||
Line 4: | Line 4: | ||
local p = {} | local p = {} | ||
local GameData1 = mw.loadJsonData('Module:GameData/data | local GameData1 = mw.loadJsonData('Module:GameData/data') | ||
local GameData2 = mw.loadJsonData('Module:GameData/data2 | local GameData2 = mw.loadJsonData('Module:GameData/data2') | ||
-- Combine data into a single object | -- Combine data into a single object | ||
local GameData = {} | local GameData = {} |