private function InitTechLib takes nothing returns nothing
//The parameters are techId, woodcost, foodcost, goldcost, stonecost
//For UpgradeEx, another parameter is included, which is telling what level of the upgrade it is.
call SetTechUnit( VILLAGER , 0, 50, 0, 0)
call SetTechUnit( PRIEST , 0, 0, 125, 0)
call SetTechUnit( CLUBMAN , 0, 50, 0, 0)
call SetTechUnit( SLINGER , 0, 40, 0, 10)
call SetTechUnit( SHORT_SWORDSMAN , 0, 35, 15, 0)
call SetTechUnit( HOPLITE , 0, 60, 40, 0)
call SetTechUnit( BOWMAN , 20, 40, 0, 0)
call SetTechUnit( IMPROVED_BOWMAN , 0, 40, 20, 0)
call SetTechUnit( CHARIOT_ARCHER , 70, 40, 0, 0)
call SetTechUnit( ELEPHANT_ARCHER , 0, 180, 60, 0)
call SetTechUnit( HORSE_ARCHER , 0, 50, 70, 0)
call SetTechUnit( SCOUT , 0, 100, 0, 0)
call SetTechUnit( CAMEL_RIDER , 0, 70, 60, 0)
call SetTechUnit( CHARIOT , 60, 40, 0, 0)
call SetTechUnit( CAVALRY , 0, 70, 80, 0)
call SetTechUnit( WAR_ELEPHANT , 0, 170, 40, 0)
call SetTechUnit( STONE_THROWER , 180, 0, 80, 0)
call SetTechUnit( BALLISTA , 100, 0, 80, 0)
call SetTechUnit( FISHING_BOAT , 50, 0, 0, 0)
call SetTechUnit( TRADE_BOAT , 100, 0, 0, 0)
call SetTechUnit( LIGHT_TRANSPORT , 150, 0, 0, 0)
call SetTechUnit( SCOUT_SHIP , 135, 0, 0, 0)
call SetTechUnit( FIRE_GALLEY , 115, 0, 40, 0)
call SetTechUnit( CATAPULT_TRIREME , 135, 0, 75, 0)
call SetTechBuil( WATCH_TOWER , 0, 0, 0, 150)
call SetTechBuil( SMALL_WALL , 0, 0, 0, 5)
call SetTechBuil( FARM , 75, 0, 0, 0)
call SetTechBuil( HOUSE , 30, 0, 0, 0)
call SetTechBuil( WONDER , 1000, 0, 1000, 1000)
call SetTechBuil( ACADEMY , 200, 0, 0, 0)
call SetTechBuil( ARCHERY_RANGE , 150, 0, 0, 0)
call SetTechBuil( BARRACKS , 125, 0, 0, 0)
call SetTechBuil( DOCK , 100, 0, 0, 0)
call SetTechBuil( GOVERNMENT_CENTER , 175, 0, 0, 0)
call SetTechBuil( GRANARY , 120, 0, 0, 0)
call SetTechBuil( MARKET , 150, 0, 0, 0)
call SetTechBuil( SIEGE_WORKSHOP , 200, 0, 0, 0)
call SetTechBuil( STABLE , 150, 0, 0, 0)
call SetTechBuil( STORAGE_PIT , 120, 0, 0, 0)
call SetTechBuil( TEMPLE , 200, 0, 0, 0)
call SetTechBuil( TOWN_CENTER , 200, 0, 0, 0)
call SetTechUpgrEx( UPG_MELEE_ATTACK , 0, 0, 100, 0, 0)
call SetTechUpgrEx( UPG_MELEE_ATTACK , 1, 0, 200, 120, 0)
call SetTechUpgrEx( UPG_MELEE_ATTACK , 2, 0, 300, 180, 0)
call SetTechUpgrEx( UPG_INFANTRY_SHIELD , 0, 0, 150, 180, 0)
call SetTechUpgrEx( UPG_INFANTRY_SHIELD , 1, 0, 200, 320, 0)
call SetTechUpgrEx( UPG_INFANTRY_SHIELD , 2, 0, 250, 400, 0)
call SetTechUpgrEx( UPG_ARCHER_ARMOR , 0, 0, 100, 0, 0)
call SetTechUpgrEx( UPG_ARCHER_ARMOR , 1, 0, 125, 50, 0)
call SetTechUpgrEx( UPG_ARCHER_ARMOR , 2, 0, 150, 100, 0)
call SetTechUpgrEx( UPG_CAVALRY_ARMOR , 0, 0, 125, 0, 0)
call SetTechUpgrEx( UPG_CAVALRY_ARMOR , 1, 0, 150, 50, 0)
call SetTechUpgrEx( UPG_CAVALRY_ARMOR , 2, 0, 175, 100, 0)
call SetTechUpgrEx( UPG_INFANTRY_ARMOR , 0, 0, 75, 0, 0)
call SetTechUpgrEx( UPG_INFANTRY_ARMOR , 1, 0, 100, 50, 0)
call SetTechUpgrEx( UPG_INFANTRY_ARMOR , 2, 0, 125, 100, 0)
call SetTechUpgr( UPG_ARCHITECTURE , 175, 150, 0, 0)
call SetTechUpgr( UPG_NOBILITY , 0, 175, 120, 0)
call SetTechUpgr( UPG_WRITING , 0, 200, 75, 0)
call SetTechUpgr( UPG_LOGISTICS , 0, 180, 100, 0)
call SetTechUpgr( UPG_ARISTOCRACY , 0, 175, 150, 0)
call SetTechUpgr( UPG_ALCHEMY , 0, 250, 200, 0)
call SetTechUpgr( UPG_BALLISTICS , 0, 200, 50, 0)
call SetTechUpgr( UPG_ENGINEERING , 100, 200, 0, 0)
call SetTechUpgrEx( UPG_WOODCUTTING , 0, 75, 120, 0, 0)
call SetTechUpgrEx( UPG_WOODCUTTING , 1, 150, 170, 0, 0)
call SetTechUpgrEx( UPG_WOODCUTTING , 2, 200, 240, 0, 0)
call SetTechUpgrEx( UPG_STONE_MINING , 0, 0, 100, 0, 50)
call SetTechUpgrEx( UPG_STONE_MINING , 1, 0, 190, 0, 100)
call SetTechUpgrEx( UPG_GOLD_MINING , 0, 100, 120, 0, 0)
call SetTechUpgrEx( UPG_GOLD_MINING , 1, 0, 200, 100, 0)
call SetTechUpgrEx( UPG_FARM_PRODUCTION , 0, 50, 200, 0, 0)
call SetTechUpgrEx( UPG_FARM_PRODUCTION , 1, 75, 250, 0, 0)
call SetTechUpgrEx( UPG_FARM_PRODUCTION , 2, 100, 300, 0, 0)
call SetTechUpgr( UPG_WHEEL , 75, 175, 0, 0)
call SetTechUpgr( UPG_ASTROLOGY , 0, 0, 150, 0)
call SetTechUpgr( UPG_MYSTICISM , 0, 0, 120, 0)
call SetTechUpgr( UPG_POLYTHEISM , 0, 0, 120, 0)
call SetTechUpgr( UPG_FANATICISM , 0, 0, 150, 0)
call SetTechUpgr( UPG_MONOTHEISM , 0, 0, 350, 0)
call SetTechUpgr( UPG_AFTERLIFE , 0, 0, 275, 0)
call SetTechUpgr( UPG_JIHAD , 0, 0, 120, 0)
call SetTechUpgr( UPG_MARTYRDOM , 0, 0, 600, 0)
call SetTechUpgr( UPG_MEDICINE , 0, 0, 150, 0)
call SetTechUpgrEx( UPG_AGE , 0, 0, 500, 0, 0)
call SetTechUpgrEx( UPG_AGE , 1, 0, 800, 0, 0)
call SetTechUpgrEx( UPG_AGE , 2, 0, 1000, 800, 0)
endfunction