How do you add the techtree to the .xml? heres what im trying to add:
<tech name="Age 1 Set" type="Normal">
<dbid>313</dbid>
<displaynameid>11053</displaynameid>
<researchpoints>0.0000</researchpoints>
<status>AVAILABLE</status>
<icon>God Major Set Icon 64</icon>
<rollovertextid>17909</rollovertextid>
<flag>AgeUpgrade</flag>
<prereqs>
<civilization>
<civname>Set</civname>
</civilization>
</prereqs>
<effects>
<effect type="TechStatus" status="unobtainable">Age 1 Ra</effect>
<effect type="TechStatus" status="unobtainable">Age 1 Isis</effect>
<effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
<target type="ProtoUnit">Granary</target>
</effect>
<effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
<target type="ProtoUnit">Lumber Camp</target>
</effect>
<effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
<target type="ProtoUnit">Villager Egyptian</target>
</effect>
<effect tech="Vision" type="Data" amount="1.00" subtype="GrantedTech" relativity="Absolute">
<target type="Player"></target>
</effect>
<effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
<target type="ProtoUnit">Pharaoh</target>
</effect>
<effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
<target type="ProtoUnit">Mining Camp</target>
</effect>
<effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
<target type="ProtoUnit">Mercenary</target>
</effect>
<effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
<target type="ProtoUnit">Fishing Ship Egyptian</target>
</effect>
<effect type="Data" amount="1.00" subtype="Enable" relativity="Absolute">
<target type="ProtoUnit">House</target>
</effect>
<effect type="Data" amount="0.80" subtype="TrainPoints" relativity="Percent">
<target type="ProtoUnit">AbstractArcher</target>
</effect>
<effect type="Data" action="Convert" amount="20.00" subtype="WorkRate" unittype="Huntable" relativity="Absolute">
<target type="ProtoUnit">Hero</target>
</effect>
<effect type="Data" action="Convert" amount="30.00" subtype="WorkRate" unittype="Hyena" relativity="Absolute">
<target type="ProtoUnit">Hero</target>
</effect>
<effect type="Data" action="Convert" amount="30.00" subtype="WorkRate" unittype="Wolf" relativity="Absolute">
<target type="ProtoUnit">Hero</target>
</effect>
<effect type="Data" action="Convert" amount="30.00" subtype="WorkRate" unittype="Lion" relativity="Absolute">
<target type="ProtoUnit">Hero</target>
</effect>
<effect type="Data" action="Convert" amount="40.00" subtype="WorkRate" unittype="Boar" relativity="Absolute">
<target type="ProtoUnit">Hero</target>
</effect>
<effect type="Data" action="Convert" amount="30.00" subtype="WorkRate" unittype="Giraffe" relativity="Absolute">
<target type="ProtoUnit">Hero</target>
</effect>
<effect type="Data" action="Convert" amount="40.00" subtype="WorkRate" unittype="Aurochs" relativity="Absolute">
<target type="ProtoUnit">Hero</target>
</effect>
<effect type="Data" action="Convert" amount="40.00" subtype="WorkRate" unittype="Water Buffalo" relativity="Absolute">
<target type="ProtoUnit">Hero</target>
</effect>
<effect type="Data" action="Convert" amount="40.00" subtype="WorkRate" unittype="Bear" relativity="Absolute">
<target type="ProtoUnit">Hero</target>
</effect>
<effect type="Data" action="Convert" amount="40.00" subtype="WorkRate" unittype="Polar Bear" relativity="Absolute">
<target type="ProtoUnit">Hero</target>
</effect>
<effect type="Data" action="Convert" amount="40.00" subtype="WorkRate" unittype="Crocodile" relativity="Absolute">
<target type="ProtoUnit">Hero</target>
</effect>
<effect type="Data" action="Convert" amount="40.00" subtype="WorkRate" unittype="Walrus" relativity="Absolute">
<target type="ProtoUnit">Hero</target>
</effect>
<effect type="Data" action="Convert" amount="40.00" subtype="WorkRate" unittype="Hippo" relativity="Absolute">
<target type="ProtoUnit">Hero</target>
</effect>
<effect type="Data" action="Convert" amount="50.00" subtype="WorkRate" unittype="Rhinocerous" relativity="Absolute">
<target type="ProtoUnit">Hero</target>
</effect>
<effect type="Data" action="Convert" amount="50.00" subtype="WorkRate" unittype="Elephant" relativity="Absolute">