//Expensive things to do. Some of them are useless, others may be useful

function RailwAI::BuildRandomRailTunnels() {
	foreach (tile in this.myTiles) {
		if (AIRail.IsRailTile(tile)) {
			//TODO
		
		}
	
	}

}

function RailwAI::PlantSomeTrees() {
	local i = AIBase.RandRange(40)
	for (;i > 0; i--)
		AITile.PlantTree(AIBase.RandRange(GetMapSize()))
}

function RailwAI::BuildStatue() {
	for (local i = 0; i < 10; i++) { //maximum 10 attempts
		local list = AIStationList(AIStation.STATION_ANY)
		list.RemoveTop(AIBase.RandRange(list.Count()))
		local station = list.Begin()
		local town = AITile.GetNearestTown(AIStation.GetLocation(station))
		if (!AITown.HasStatue(town) && AITown.IsActionAvailable(town, AITown.TOWN_ACTION_BUILD_STATUE)) {
			if (AITown.PerformTownAction(town, AITown.TOWN_ACTION_BUILD_STATUE))
				return true
		}
	}
	return false
}