Module:LocJP/en/LocalizedMasterParam/Artifact

return {

}

--[=[ function last(t) return t[table.maxn(t)] end

function capitalize(s) local a = s:sub(1,1):upper local b = s:sub(2):lower return a..b end

local found = {} local sb = {} local jobsets = mw.loadData("Module:DataJP/MasterParam/JobSet")

for i, entry in pairs(mw.loadData("Module:UpdateSchedule/Data")) do for j, subentry in ipairs( entry ) do    if type(subentry) == "string" then subentry = {subentry} end local type = subentry.type or entry.type if type == "job" then local iname = subentry[1] local unit = mw.loadData("Module:DataJP/MasterParam/Unit")[iname] or {rare = 0, jobsets = {}} local js  = unit.jobsets[subentry[2]] if subentry[3] ~= false then js = ((jobsets[js] or {}).jobc or {})[iname] end js = jobsets[js] or {} local job = mw.loadData("Module:DataJP/MasterParam/Job")[js.job] or {iname = js.job} if job.iname ~= nil and found[job.iname] == nil and mw.loadData("Module:Loc/en/LocalizedMasterParam/Job")[job.iname] == nil then found[job.iname] = true local origin = mw.loadData("Module:Loc/en/LocalizedMasterParam/Job")[job.origin] local s = origin and origin.NAME or capitalize(last(mw.text.split(job.iname,"_",true))) table.insert(sb, " "..job.iname.."={NAME='"..s.."'},\n") end end end end

return table.concat(sb) ]=]