Module:Room features: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
['Scenery'] = 'Scenery', |
['Scenery'] = 'Scenery', |
||
['Skill_node'] = 'Skill nodes' |
['Skill_node'] = 'Skill nodes' |
||
} |
|||
local header_text_override = { |
|||
['Non-player characters'] = 'Personalities' |
|||
} |
} |
||
Line 46: | Line 50: | ||
for cat,results in pairs(results_by_type) do |
for cat,results in pairs(results_by_type) do |
||
if #results > 0 then |
if #results > 0 then |
||
ret = ret .. '===' .. cat .. '===\n' |
ret = ret .. '===' .. (header_text_override[cat] or cat) .. '===\n' |
||
local gallery = '<gallery>\n' |
local gallery = '<gallery>\n' |