There is a way easier way. Within FactionDefs.xml you add a tag called StartingTechs, where you include the GenericName found within the race's tech tree. The tag must be positioned between TechTree and ShipCallsign tags, you can see the order in the Schema file. Not sure what the generic name is for the techs you mention. Kinda like:
Code: xml
- <StartingTechs>ExpandedTrade</StartingTechs>
- <StartingTechs>TradeRouteOptimization</StartingTechs>
Yeah, that was the first thing I tried , it didn't work and I got this error message:
"element 'StartingTechs' is not allowed for content model '(InternalName,DisplayName,DisplayNameShort,LeaderName,Description,LeaderDescription?,RaceType,PersonalityTraits*,RaceTraits*,RequiresHomeworld?,HomeStarSystem,HomePlanetName?,StartingShips*,TechTree,StartingTechs,HatedFaction*,ShipCallsign,LogoImage,LeaderThumbnail,LeaderImageFG?,LeaderImageBG?,NewsRobotMovie_Approach,NewsRobotMovie_Idle,StartupImage?,StartupTitle?,StartupDescription?,StartupTraitsDescription?,ConquestMovie?,MapColorDef,UIColorDef?,FactionMoviesFGDef?,FactionMoviesBGDef?,FactionMusicDef?,Material1,Material2,Surface1,Surface2,Appearance,ShipStyleSet,CreditsInit,WarEnduranceInit,DefaultResistance,ManufacturingSliderInit?,MilitarySliderInit?,ResearchSliderInit?,WealthSliderInit?,InfluenceTallyInit?,TradeRouteInit?,StartingColonyPopulation?,AICategoryWeight?)"