Elpea's Zero Cost Function
void zeroCost(string TheUnitName="") { //Infantry if(TheUnitName=="Pikeman") { modProtox("Pikeman", 17, 40); modProtox("Pikeman", 16, 40); } if(TheUnitName=="Musketeer") { modProtox("Musketeer", 17, 75); modProtox("Musketeer", 15, 25); } if(TheUnitName=="Rodelero") { modProtox("Rodelero", 17, 65); modProtox("Rodelero", 15, 35); } if(TheUnitName=="Halberdier") { modProtox("Halberdier", 17, 50); modProtox("Halberdier", 15, 70); } if(TheUnitName=="Grenadier") { modProtox("Grenadier", 17, 120); modProtox("Grenadier", 15, 60); } if(TheUnitName=="NatJaguarWarrior") { modProtox("NatJaguarWarrior", 17, 40); modProtox("NatJaguarWarrior", 16, 60); } if(TheUnitName=="NatTomahawk") { modProtox("NatTomahawk", 17, 60); modProtox("NatTomahawk", 16, 40); } if(TheUnitName=="Janissary") { modProtox("Janissary", 17, 100); modProtox("Janissary", 15, 25); } if(TheUnitName=="Dopplesoldner") { modProtox("Dopplesoldner", 17, 75); modProtox("Dopplesoldner", 15, 125); } if(TheUnitName=="NatHuaminca") { modProtox("NatHuaminca", 17, 20); modProtox("NatHuaminca", 16, 100); } if(TheUnitName=="NatHolcanSpearman") { modProtox("NatHolcanSpearman", 17, 75); modProtox("NatHolcanSpearman", 16, 25); } if(TheUnitName=="NatClubman") { modProtox("NatClubman", 17, 85); modProtox("NatClubman", 16, 15); } if(TheUnitName=="MercLandsknecht") { modProtox("MercLandsknecht", 15, 240); } if(TheUnitName=="MercSwissPikeman") { modProtox("MercSwissPikeman", 15, 160); } if(TheUnitName=="MercHighlander") { modProtox("MercHighlander", 15, 200); } if(TheUnitName=="MercRonin") { modProtox("MercRonin", 15, 400); } if(TheUnitName=="MercBarbaryCorsair") { modProtox("MercBarbaryCorsair", 15, 200); } if(TheUnitName=="Boneguard") { modProtox("Boneguard", 17, 75); modProtox("Boneguard", 15, 50); } if(TheUnitName=="SPCHoopThrowers") { modProtox("SPCHoopThrowers", 17, 100); modProtox("SPCHoopThrowers", 15, 50); } if(TheUnitName=="BoneguardAge2") { modProtox("BoneguardAge2", 17, 100); modProtox("BoneguardAge2", 15, 75); } if(TheUnitName=="NatClubmanLoyal") { modProtox("NatClubmanLoyal", 17, 200); modProtox("NatClubmanLoyal", 16, 100); } if(TheUnitName=="SPCAztecChief") { modProtox("SPCAztecChief", 17, 35); modProtox("SPCAztecChief", 16, 40); } if(TheUnitName=="SPCBuccaneer") { modProtox("SPCBuccaneer", 15, 110); } if(TheUnitName=="IGCMusketeer") { modProtox("IGCMusketeer", 17, 75); modProtox("IGCMusketeer", 15, 25); } if(TheUnitName=="Crossbowman") { modProtox("Crossbowman", 17, 20); modProtox("Crossbowman", 16, 60); } if(TheUnitName=="Skirmisher") { modProtox("Skirmisher", 17, 50); modProtox("Skirmisher", 15, 65); } if(TheUnitName=="Longbowman") { modProtox("Longbowman", 17, 60); modProtox("Longbowman", 16, 40); } if(TheUnitName=="NatEagleWarrior") { modProtox("NatEagleWarrior", 17, 60); modProtox("NatEagleWarrior", 16, 40); } if(TheUnitName=="NatSharktoothBowman") { modProtox("NatSharktoothBowman", 17, 75); modProtox("NatSharktoothBowman", 16, 25); } if(TheUnitName=="Strelet") { modProtox("Strelet", 17, 50); modProtox("Strelet", 16, 10); } if(TheUnitName=="NatMantlet") { modProtox("NatMantlet", 16, 50); modProtox("NatMantlet", 15, 100); } if(TheUnitName=="Minuteman") { modProtox("Minuteman", 17, 75); } if(TheUnitName=="Cacadore") { modProtox("Cacadore", 17, 25); modProtox("Cacadore", 15, 90); } if(TheUnitName=="NatBlowgunWarrior") { modProtox("NatBlowgunWarrior", 17, 65); modProtox("NatBlowgunWarrior", 16, 35); } if(TheUnitName=="NatRifleman") { modProtox("NatRifleman", 17, 60); modProtox("NatRifleman", 16, 60); } if(TheUnitName=="NatTracker") { modProtox("NatTracker", 17, 40); modProtox("NatTracker", 16, 80); } if(TheUnitName=="NatBolasWarrior") { modProtox("NatBolasWarrior", 17, 70); modProtox("NatBolasWarrior", 16, 30); } if(TheUnitName=="NatBlackwoodArcher") { modProtox("NatBlackwoodArcher", 17, 50); modProtox("NatBlackwoodArcher", 16, 50); } if(TheUnitName=="MercJaeger") { modProtox("MercJaeger", 15, 180); } if(TheUnitName=="AbusGun") { modProtox("AbusGun", 17, 50); modProtox("AbusGun", 15, 100); } if(TheUnitName=="SPCCherokeeArcher") { modProtox("SPCCherokeeArcher", 16, 90); } if(TheUnitName=="NatBlowgunAmbusher") { modProtox("NatBlowgunAmbusher", 17, 65); modProtox("NatBlowgunAmbusher", 16, 35); } if(TheUnitName=="IGCJaeger") { modProtox("IGCJaeger", 15, 600); } if(TheUnitName=="IGCCrossbowman") { modProtox("IGCCrossbowman", 17, 20); modProtox("IGCCrossbowman", 16, 60); } //Cavalry if(TheUnitName=="Uhlan") { modProtox("Uhlan", 17, 50); modProtox("Uhlan", 15, 100); } if(TheUnitName=="Hussar") { modProtox("Hussar", 17, 120); modProtox("Hussar", 15, 80); } if(TheUnitName=="Cuirassier") { modProtox("Cuirassier", 17, 150); modProtox("Cuirassier", 15, 150); } if(TheUnitName=="Cossack") { modProtox("Cossack", 17, 75); modProtox("Cossack", 15, 75); } if(TheUnitName=="Spahi") { modProtox("Spahi", 17, 280); } if(TheUnitName=="Oprichnik") { modProtox("Oprichnik", 17, 90); modProtox("Oprichnik", 15, 60); } if(TheUnitName=="Lancer") { modProtox("Lancer", 17, 110); modProtox("Lancer", 15, 90); } if(TheUnitName=="NatAxeRider") { modProtox("NatAxeRider", 17, 40); modProtox("NatAxeRider", 16, 110); } if(TheUnitName=="MercMameluke") { modProtox("MercMameluke", 15, 400); } if(TheUnitName=="MercStradiot") { modProtox("MercStradiot", 15, 300); } if(TheUnitName=="MercHackapell") { modProtox("MercHackapell", 15, 300); } if(TheUnitName=="Learicorn") { modProtox("Learicorn", 17, 80); modProtox("Learicorn", 15, 40); } if(TheUnitName=="GeorgeCrushington") { modProtox("GeorgeCrushington", 17, 7); modProtox("GeorgeCrushington", 16, 4); modProtox("GeorgeCrushington", 15, 1776); } if(TheUnitName=="MonsterTruckA") { modProtox("MonsterTruckA", 17, 80); modProtox("MonsterTruckA", 15, 40); } if(TheUnitName=="MonsterTruckT") { modProtox("MonsterTruckT", 17, 80); modProtox("MonsterTruckT", 15, 40); } if(TheUnitName=="FlyingPurpleTapir") { modProtox("FlyingPurpleTapir", 17, 106); modProtox("FlyingPurpleTapir", 15, 106); } if(TheUnitName=="CavalryArcher") { modProtox("CavalryArcher", 17, 45); modProtox("CavalryArcher", 15, 115); } if(TheUnitName=="Dragoon") { modProtox("Dragoon", 17, 90); modProtox("Dragoon", 15, 90); } if(TheUnitName=="NatHorseArcher") { modProtox("NatHorseArcher", 17, 70); modProtox("NatHorseArcher", 16, 80); } if(TheUnitName=="Ruyter") { modProtox("Ruyter", 17, 30); modProtox("Ruyter", 15, 75); } if(TheUnitName=="WarWagon") { modProtox("WarWagon", 17, 150); modProtox("WarWagon", 15, 150); } if(TheUnitName=="MercBlackRider") { modProtox("MercBlackRider", 15, 270); } if(TheUnitName=="MercManchu") { modProtox("MercManchu", 15, 220); } if(TheUnitName=="SPCCherokeeHorseArcher") { modProtox("SPCCherokeeHorseArcher", 17, 30); modProtox("SPCCherokeeHorseArcher", 16, 90); } //Artillery if(TheUnitName=="Cannon") { modProtox("Cannon", 16, 200); modProtox("Cannon", 15, 500); } if(TheUnitName=="Culverin") { modProtox("Culverin", 16, 100); modProtox("Culverin", 15, 400); } if(TheUnitName=="Falconet") { modProtox("Falconet", 16, 100); modProtox("Falconet", 15, 400); } if(TheUnitName=="Mortar") { modProtox("Mortar", 16, 100); modProtox("Mortar", 15, 350); } if(TheUnitName=="GreatBombard") { modProtox("GreatBombard", 16, 100); modProtox("GreatBombard", 15, 600); } if(TheUnitName=="OrganGun") { modProtox("OrganGun", 16, 100); modProtox("OrganGun", 15, 300); } if(TheUnitName=="Rocket") { modProtox("Rocket", 16, 100); modProtox("Rocket", 15, 500); } if(TheUnitName=="RussianCannon") { modProtox("RussianCannon", 16, 200); modProtox("RussianCannon", 15, 1000); } if(TheUnitName=="MediocreBombard") { modProtox("MediocreBombard", 16, 10); modProtox("MediocreBombard", 15, 6); } if(TheUnitName=="Mill") { modProtox("Mill", 16, 400); } if(TheUnitName=="Caravel") { modProtox("Caravel", 16, 300); modProtox("Caravel", 15, 100); } if(TheUnitName=="TradingPost") { modProtox("TradingPost", 16, 250); } if(TheUnitName=="House") { modProtox("House", 16, 100); } if(TheUnitName=="TownCenter") { modProtox("TownCenter", 16, 600); } if(TheUnitName=="Barracks") { modProtox("Barracks", 16, 250); } if(TheUnitName=="Dock") { modProtox("Dock", 16, 200); } if(TheUnitName=="Stable") { modProtox("Stable", 16, 300); } if(TheUnitName=="ArtilleryDepot") { modProtox("ArtilleryDepot", 16, 300); } if(TheUnitName=="Arsenal") { modProtox("Arsenal", 16, 250); } if(TheUnitName=="Church") { modProtox("Church", 16, 250); } if(TheUnitName=="FishingBoat") { modProtox("FishingBoat", 16, 100); } if(TheUnitName=="Blockhouse") { modProtox("Blockhouse", 16, 250); } if(TheUnitName=="Canoe") { modProtox("Canoe", 16, 100); } if(TheUnitName=="Bank") { modProtox("Bank", 17, 350); modProtox("Bank", 16, 350); } if(TheUnitName=="Factory") { modProtox("Factory", 16, 200); modProtox("Factory", 15, 400); } if(TheUnitName=="WallStraight1") { modProtox("WallStraight1", 16, 5); } if(TheUnitName=="WallStraight5") { modProtox("WallStraight5", 16, 5); } if(TheUnitName=="FortFrontier") { modProtox("FortFrontier", 16, 600); modProtox("FortFrontier", 15, 500); } if(TheUnitName=="WallStraight2") { modProtox("WallStraight2", 16, 5); } if(TheUnitName=="WallStraight3") { modProtox("WallStraight3", 16, 5); } if(TheUnitName=="WallStraight4") { modProtox("WallStraight4", 16, 5); } if(TheUnitName=="Plantation") { modProtox("Plantation", 16, 800); } if(TheUnitName=="Outpost") { modProtox("Outpost", 16, 250); } if(TheUnitName=="Market") { modProtox("Market", 16, 100); } if(TheUnitName=="Frigate") { modProtox("Frigate", 16, 500); modProtox("Frigate", 15, 500); } if(TheUnitName=="Fluyt") { modProtox("Fluyt", 16, 300); modProtox("Fluyt", 15, 300); } if(TheUnitName=="Galleon") { modProtox("Galleon", 16, 300); modProtox("Galleon", 15, 500); } if(TheUnitName=="Galley") { modProtox("Galley", 16, 300); modProtox("Galley", 15, 100); } if(TheUnitName=="Privateer") { modProtox("Privateer", 15, 1500); modProtox("Privateer", 15, 1); } if(TheUnitName=="LivestockPen") { modProtox("LivestockPen", 16, 250); } if(TheUnitName=="CWallGate") { modProtox("CWallGate", 16, 50); } if(TheUnitName=="FieldHospital") { modProtox("FieldHospital", 16, 400); } if(TheUnitName=="Capitol") { modProtox("Capitol", 16, 400); } if(TheUnitName=="Manor") { modProtox("Manor", 16, 150); } if(TheUnitName=="Monitor") { modProtox("Monitor", 16, 800); modProtox("Monitor", 15, 200); } if(TheUnitName=="SPCFrigate") { modProtox("SPCFrigate", 16, 1000); modProtox("SPCFrigate", 15, 600); } if(TheUnitName=="SPCFireship") { modProtox("SPCFireship", 16, 200); modProtox("SPCFireship", 15, 200); } if(TheUnitName=="SPCAztecTemple") { modProtox("SPCAztecTemple", 16, 600); modProtox("SPCAztecTemple", 15, 600); } if(TheUnitName=="SPCFixedGun") { modProtox("SPCFixedGun", 15, 2000); } if(TheUnitName=="SPCCherokeeWarHut") { modProtox("SPCCherokeeWarHut", 16, 250); } if(TheUnitName=="SPCIncaTemple") { modProtox("SPCIncaTemple", 16, 1000); modProtox("SPCIncaTemple", 15, 1000); } if(TheUnitName=="SPCFortGate") { modProtox("SPCFortGate", 16, 65); } if(TheUnitName=="SPCFortWallSmall") { modProtox("SPCFortWallSmall", 16, 50); } if(TheUnitName=="SPCFortWallMedium") { modProtox("SPCFortWallMedium", 16, 50); } if(TheUnitName=="SPCFortWallLarge") { modProtox("SPCFortWallLarge", 16, 50); } if(TheUnitName=="SPCFortWallBarracks") { modProtox("SPCFortWallBarracks", 16, 65); } if(TheUnitName=="SPCFortWallStable") { modProtox("SPCFortWallStable", 16, 15); } if(TheUnitName=="SPCFortCenter") { modProtox("SPCFortCenter", 16, 200); modProtox("SPCFortCenter", 15, 300); } if(TheUnitName=="SPCFortCorner") { modProtox("SPCFortCorner", 16, 50); } if(TheUnitName=="SPCFortTower") { modProtox("SPCFortTower", 16, 300); } if(TheUnitName=="SPCLizzieFlagship") { modProtox("SPCLizzieFlagship", 16, 300); modProtox("SPCLizzieFlagship", 15, 500); } if(TheUnitName=="WallConnector") { modProtox("WallConnector", 16, 5); modProtox("WallConnector", 15, 0); } if(TheUnitName=="SPCTreasureShip2") { modProtox("SPCTreasureShip2", 16, 300); modProtox("SPCTreasureShip2", 15, 500); } if(TheUnitName=="SPCFixedGunRuins") { modProtox("SPCFixedGunRuins", 15, 2000); } if(TheUnitName=="HouseEast") { modProtox("HouseEast", 16, 100); } if(TheUnitName=="HouseMed") { modProtox("HouseMed", 16, 100); } if(TheUnitName=="IGCTrainStation") { modProtox("IGCTrainStation", 16, 250); } }