Changeset View
Changeset View
Standalone View
Standalone View
source/tools/templatesanalyzer/unitTables.py
Show All 27 Lines | |||||
# Generic templates to load | # Generic templates to load | ||||
# The way this works is it tries all generic templates | # The way this works is it tries all generic templates | ||||
# But only loads those who have one of the following parents | # But only loads those who have one of the following parents | ||||
# EG adding "template_unit.xml" will load all units. | # EG adding "template_unit.xml" will load all units. | ||||
LoadTemplatesIfParent = ["template_unit_infantry.xml", "template_unit_cavalry.xml", "template_unit_champion.xml", "template_unit_hero.xml"] | LoadTemplatesIfParent = ["template_unit_infantry.xml", "template_unit_cavalry.xml", "template_unit_champion.xml", "template_unit_hero.xml"] | ||||
# Those describe Civs to analyze. | # Those describe Civs to analyze. | ||||
# The script will load all entities that derive (to the nth degree) from one of the above templates. | # The script will load all entities that derive (to the nth degree) from one of the above templates. | ||||
Civs = ["athen", "brit", "cart", "gaul", "iber", "mace", "maur", "pers", "ptol", "rome", "sele", "spart"] | Civs = ["athen", "brit", "cart", "gaul", "iber", "kush", "mace", "maur", "pers", "ptol", "rome", "sele", "spart"] | ||||
# Remote Civ templates with those strings in their name. | # Remote Civ templates with those strings in their name. | ||||
FilterOut = ["marian", "thureophoros", "thorakites", "kardakes"] | FilterOut = ["marian", "thureophoros", "thorakites", "kardakes"] | ||||
# Sorting parameters for the "roster variety" table | # Sorting parameters for the "roster variety" table | ||||
ComparativeSortByCav = True | ComparativeSortByCav = True | ||||
ComparativeSortByChamp = True | ComparativeSortByChamp = True | ||||
SortTypes = ["Support", "Pike", "Spear", "Sword", "Archer", "Javelin", "Sling", "Elephant"] # Classes | SortTypes = ["Support", "Pike", "Spear", "Sword", "Archer", "Javelin", "Sling", "Elephant"] # Classes | ||||
▲ Show 20 Lines • Show All 522 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator