22 lines
517 B
Python
22 lines
517 B
Python
from flashcards.maps import create_maps
|
|
|
|
|
|
|
|
if 0:
|
|
# namelist you created before
|
|
namelist_fname = 'base-units.txt'
|
|
# dictionary key into config.data_file
|
|
key = 'units_buildings'
|
|
# how you want to name the output maps
|
|
out_base_fname = 'base-units'
|
|
elif 0:
|
|
namelist_fname = 'research.txt'
|
|
key = 'techs'
|
|
out_base_fname = 'research'
|
|
else:
|
|
namelist_fname = 'buildings.txt'
|
|
key = 'units_buildings'
|
|
out_base_fname = 'buildings'
|
|
|
|
create_maps(namelist_fname, key, out_base_fname)
|