== hasTech(typeId,level) ==
||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start;" tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">Usage: ||<style="border-style:solid;border-color:rgb(170, 170,170);padding:0.2em;">city.hasTech(typeId,level) ||
||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">city.hasTech(2,5) ||


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:

 . {{{
if city.hasTech(14,8) echo "Yup, I have archery level 8+."
if !city.hasTech(14,8) echo "Nope, my archery is not yet level 8."
}}}

See also: ResearchTypes

----
----
CategoryFunctions