Module:Param Parse: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(rarity_from_name)
(Switch to saving only the unlock level as it should always be for profession A)
Line 516: Line 516:
end
end
return profession_valid..','..level_valid
return level_valid
end
end


Line 522: Line 522:
name = 'unlock_level',
name = 'unlock_level',
func = {name = parse.unlock_level_func, params = {Infobox.raw_param('profession_a'), Infobox.raw_param('unlock_level')}},
func = {name = parse.unlock_level_func, params = {Infobox.raw_param('profession_a'), Infobox.raw_param('unlock_level')}},
smw_property = 'Unlocked at',
smw_property = 'Unlock level',
smw_func = {name = parse.unlock_level_smw, params = {Infobox.raw_param('profession_a'), Infobox.raw_param('unlock_level')}},
smw_func = {name = parse.unlock_level_smw, params = {Infobox.raw_param('profession_a'), Infobox.raw_param('unlock_level')}},
}
}