“It's taking longer than I calculated.”
This page is actively being worked on and may not be completely correct. Please assist in making this page accurate. See WARFRAME Wiki:Research on ways to perform research on this game. Click here to add more info.
Instead of storing JSON data in Lua tables, put them in on a page outside of Module namespace with a JSON content model like NightwaveActs.json. You can parse JSON data with mw.loadJsonData() in these Lua modules.
This module is a WIP, but eventually it'll (hopefully) be able to replace the clunky manual drop tables!
Data from here
p,q = {}, {
-- 'Table Name'
'Relics',
'Cetus Bounties',
'Fortuna Bounties',
'Necralisk Bounties',
'Sorties',
--'Missions',--massive
'Transient',
}
--[[
https://github.com/WFCD/warframe-drop-data/tree/gh-pages/data
additionalItemByAvatar.json
all.json
all.slim.json
blueprintLocations.json
cetusBountyRewards.json --
deimosRewards.json --
enemyBlueprintTables.json
enemyModTables.json
info.json
keyRewards.json
miscItems.json
missionRewards.json --
modLocations.json
relics.json --
resourceByAvatar.json
sigilByAvatar.json
solarisBountyRewards.json --
sortieRewards.json --
transientRewards.json
]]
for i,v in pairs(q) do
p[v] = mw.text.jsonDecode(require('Module:DropTables/JSON/'..v))
--p[v]['#']=#p[v]
--p[i]=nil
end
--traverse lists here, not in other modules. This will only be run once.
return p
