Skip to content

Regex and localizations in race import tab

Update

  • Partial #180
  • Insert regex compatibility for races
CONFIG.ARCHMAGE.raceList, {
        'dwarf': "Anão|Anã",
	'gnome': "Gnom(o|a)",
}
Race Input Tab Import Power
Anão 'Anão'
Anã 'Anã'
Gnoma 'Gnoma'
  • As consequence from regex, now the race input allows multiples races (shown in separate tabs):
Race Input Tab Import Power
Mountain's Dwarf 'Dwarf'
Foo Dwarf Bar 'Dwarf'
Dwarf Human 'Dwarf' 'Human'
Dragonic/Dragonspawn 'Dragonspawn' 'Dragonic'

Old

  • Allows the import tab get location's values from race list
    • Before, this was taken from the map key, so the first check did not find any valid race when a translated race was indicated in the sheet, even if the raceList was translated

Dwarf tab in portuguese:
image

Edited by Manoel Mozzer

Merge request reports