From Dark and Darker Wiki
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local p = {}
local achievements = mw.loadJsonData("Data:Achievements.json")
function p.create_achievements_table_body(frame)
local debug_mode = frame.args["debug_mode"]
local html = ""
local record
for index, achievement in ipairs(achievements) do
record = "<tr>\n"
record = record .. "<td>" .. (achievement.localized_name) .. "</td>\n"
record = record .. "<td>" .. (achievement.main_category) .. "</td>\n"
record = record .. "<td>" .. (achievement.sub_category) .. "</td>\n"
record = record .. "<td>" .. (achievement.prerequisite) .. "</td>\n"
record = record .. "<td>" .. (achievement.description) .. "</td>\n"
record = record .. "</tr>\n"
html = html .. record .. "\n"
end
000
1:0
Templates used on this page:
Return to Module:Achievements.