Module:Sunken Treasure/Loot Rates/Sand: Difference between revisions

Jump to navigation Jump to search
m
Take link as argument, should probs move this to a generic module later
m (I don't know how to Scribunto)
m (Take link as argument, should probs move this to a generic module later)
Line 8: Line 8:


function p.wikiTable( frame )
function p.wikiTable( frame )
local args = frame:getParent().args[1]
local data = mw.ext.externaldata.getWebData {
local data = mw.ext.externaldata.getWebData {
url = "https://raw.githubusercontent.com/Gamemode4Dev/GM4_Datapacks/refs/heads/master/gm4_sunken_treasure/data/gm4_sunken_treasure/loot_table/chests/treasure_chest.json"
url = args
  , data = "json=_json"
  , data = "json=_json"
}
}
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,678

edits

Navigation menu