Editing Module:Neighbor Journey
Appearance
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 96: | Line 96: | ||
-- Groups | -- Groups | ||
---------------------------------------------------------------- | ---------------------------------------------------------------- | ||
for _, group in ipairs(validGroups) do | for _, group in ipairs(validGroups) do | ||
| Line 106: | Line 104: | ||
-- Don't output groups that have no rewards. | -- Don't output groups that have no rewards. | ||
if #rewards > 0 then | if #rewards > 0 then | ||
-- Replace {name} with the neighbor's name. | -- Replace {name} with the neighbor's name. | ||
| Line 159: | Line 149: | ||
table.insert(output, "|}") | table.insert(output, "|}") | ||
-- Process generated wikitext so that templates | -- Process the generated wikitext so that templates | ||
-- such as {{Icon/Journey}} and {{Item}} are evaluated. | -- such as {{Icon/Journey}} and {{Item}} are evaluated. | ||
local result = table.concat(output, "\n") | local result = table.concat(output, "\n") | ||