GetTechLevel(typeId)
Usage: |
city.getTechLevel(typeId) |
Example: |
city.getTechLevel(14) |
This function checks if you have the specified technology researched to at least the specified level. For example to see if you have archery at level 8 or higher:
echo "Yup, I have archery level {city.getTechLevel(14)}"
See also: ResearchTypes