| 88 | | f.write("= Unit Summary Table =\n\nA more detailed description of the units is avail on the [wiki:Manual_Units units page].\n\nThe following abbreviations are used in this page\n\n F = [wiki:Manual_Terminology#Food food], W = [wiki:Manual_Terminology#Wood wood], M = [wiki:Manual_Terminology#Metal metal], S = stone, H = Hack, P = Pierce, C = Crush\n\n") |
| | 88 | f.write("= Unit Summary Table =\n\nA more detailed description of the units is avail on the [wiki:Manual_Units units page].\n\nThe following abbreviations are used in this page\n\n F = [wiki:Manual_Terminology#Food food], W = [wiki:Manual_Terminology#Wood wood], M = [wiki:Manual_Terminology#Metal metal], S = stone, H = Hack, P = Pierce, C = Crush\n\nThe data is based on the basic form for all units that can be promoted.\n\n") |
| 94 | | f.write(printUnit("units/hele_infantry_spearman_a.xml", basePath).encode("utf-8")+"\n") |
| 95 | | f.write(printUnit("units/hele_infantry_javelinist_a.xml", basePath).encode("utf-8")+"\n") |
| 96 | | f.write(printUnit("units/hele_infantry_archer_a.xml", basePath).encode("utf-8")+"\n") |
| 97 | | f.write(printUnit("units/hele_cavalry_swordsman_a.xml", basePath).encode("utf-8")+"\n") |
| 98 | | f.write(printUnit("units/hele_cavalry_javelinist_a.xml", basePath).encode("utf-8")+"\n") |
| | 94 | f.write(printUnit("units/hele_infantry_spearman_b.xml", basePath).encode("utf-8")+"\n") |
| | 95 | f.write(printUnit("units/hele_infantry_javelinist_b.xml", basePath).encode("utf-8")+"\n") |
| | 96 | f.write(printUnit("units/hele_infantry_archer_b.xml", basePath).encode("utf-8")+"\n") |
| | 97 | f.write(printUnit("units/hele_cavalry_swordsman_b.xml", basePath).encode("utf-8")+"\n") |
| | 98 | f.write(printUnit("units/hele_cavalry_javelinist_b.xml", basePath).encode("utf-8")+"\n") |
| 115 | | f.write(printUnit("units/cart_infantry_spearman_a.xml", basePath).encode("utf-8")+"\n") |
| 116 | | f.write(printUnit("units/cart_infantry_swordsman_a.xml", basePath).encode("utf-8")+"\n") |
| 117 | | f.write(printUnit("units/cart_infantry_javelinist_a.xml", basePath).encode("utf-8")+"\n") |
| 118 | | f.write(printUnit("units/cart_infantry_archer_a.xml", basePath).encode("utf-8")+"\n") |
| 119 | | f.write(printUnit("units/cart_infantry_slinger_a.xml", basePath).encode("utf-8")+"\n") |
| 120 | | f.write(printUnit("units/cart_cavalry_swordsman_a.xml", basePath).encode("utf-8")+"\n") |
| 121 | | f.write(printUnit("units/cart_cavalry_spearman_a.xml", basePath).encode("utf-8")+"\n") |
| 122 | | f.write(printUnit("units/cart_cavalry_javelinist_a.xml", basePath).encode("utf-8")+"\n") |
| | 115 | f.write(printUnit("units/cart_infantry_spearman_b.xml", basePath).encode("utf-8")+"\n") |
| | 116 | f.write(printUnit("units/cart_infantry_swordsman_b.xml", basePath).encode("utf-8")+"\n") |
| | 117 | f.write(printUnit("units/cart_infantry_javelinist_b.xml", basePath).encode("utf-8")+"\n") |
| | 118 | f.write(printUnit("units/cart_infantry_archer_b.xml", basePath).encode("utf-8")+"\n") |
| | 119 | f.write(printUnit("units/cart_infantry_slinger_b.xml", basePath).encode("utf-8")+"\n") |
| | 120 | f.write(printUnit("units/cart_cavalry_swordsman_b.xml", basePath).encode("utf-8")+"\n") |
| | 121 | f.write(printUnit("units/cart_cavalry_spearman_b.xml", basePath).encode("utf-8")+"\n") |
| | 122 | f.write(printUnit("units/cart_cavalry_javelinist_b.xml", basePath).encode("utf-8")+"\n") |
| 135 | | f.write(printUnit("units/celt_infantry_spearman_a.xml", basePath).encode("utf-8")+"\n") |
| 136 | | f.write(printUnit("units/celt_infantry_javelinist_a.xml", basePath).encode("utf-8")+"\n") |
| 137 | | f.write(printUnit("units/celt_cavalry_swordsman_a.xml", basePath).encode("utf-8")+"\n") |
| 138 | | f.write(printUnit("units/celt_cavalry_spearman_a.xml", basePath).encode("utf-8")+"\n") |
| 139 | | f.write(printUnit("units/celt_cavalry_javelinist_a.xml", basePath).encode("utf-8")+"\n") |
| | 135 | f.write(printUnit("units/celt_infantry_spearman_b.xml", basePath).encode("utf-8")+"\n") |
| | 136 | f.write(printUnit("units/celt_infantry_javelinist_b.xml", basePath).encode("utf-8")+"\n") |
| | 137 | f.write(printUnit("units/celt_cavalry_swordsman_b.xml", basePath).encode("utf-8")+"\n") |
| | 138 | f.write(printUnit("units/celt_cavalry_spearman_b.xml", basePath).encode("utf-8")+"\n") |
| | 139 | f.write(printUnit("units/celt_cavalry_javelinist_b.xml", basePath).encode("utf-8")+"\n") |
| 154 | | f.write(printUnit("units/iber_infantry_spearman_a.xml", basePath).encode("utf-8")+"\n") |
| 155 | | f.write(printUnit("units/iber_infantry_swordsman_a.xml", basePath).encode("utf-8")+"\n") |
| 156 | | f.write(printUnit("units/iber_infantry_javelinist_a.xml", basePath).encode("utf-8")+"\n") |
| 157 | | f.write(printUnit("units/iber_infantry_slinger_a.xml", basePath).encode("utf-8")+"\n") |
| 158 | | f.write(printUnit("units/iber_cavalry_spearman_a.xml", basePath).encode("utf-8")+"\n") |
| | 154 | f.write(printUnit("units/iber_infantry_spearman_b.xml", basePath).encode("utf-8")+"\n") |
| | 155 | f.write(printUnit("units/iber_infantry_swordsman_b.xml", basePath).encode("utf-8")+"\n") |
| | 156 | f.write(printUnit("units/iber_infantry_javelinist_b.xml", basePath).encode("utf-8")+"\n") |
| | 157 | f.write(printUnit("units/iber_infantry_slinger_b.xml", basePath).encode("utf-8")+"\n") |
| | 158 | f.write(printUnit("units/iber_cavalry_spearman_b.xml", basePath).encode("utf-8")+"\n") |