//
// DefRMaps.gol
//

PiecewiseLinearFloatToFloatMapping defaultTimeToReactionProbComponentMapping
{
    points =
    [
        {
            x = 0.0;
            y = 0.0;
        },
        {
            x = 40.0;
            y = 0.25;
        },
        {
            x = 80.0;
            y = 0.95;
        },
    ];
}

PiecewiseLinearFloatToFloatMapping defaultTimeToTauntProbComponentMapping
{
    points =
    [
        {
            x = 0.0;
            y = 0.0;
        },
        {
            x = 20.0;
            y = 0.3;
        },
        {
            x = 60.0;
            y = 0.95;
        },
    ];
}

PiecewiseLinearFloatToFloatMapping defaultCharacterStimToProbComponentMapping
{
    points =
    [
        {
            x = 0;
            y = 0;
        },
        {
            x = 60.0;  // About 10 seconds worth of stim at 6 updates per second
            y = 0.005;
        },
        {
            x = 160.0; // About 20 seconds worth of stim at 6 updates per second
            y = 0.01;
        },
    ];
}

PiecewiseLinearFloatToFloatMapping defaultWinningStimToProbComponentMapping
{
    points =
    [
        {
            x = 0;
            y = 0;
        },
        {
            x = 4.0;
            y = 0.8;
        },
    ];
}

PiecewiseLinearFloatToFloatMapping defaultLosingStimToProbComponentMapping
{
    points =
    [
        {
            x = 0;
            y = 0;
        },
        {
            x = 10.0;
            y = 0.8;
        },
    ];
}

PiecewiseLinearFloatToFloatMapping defaultShootingStimToProbComponentMapping
{
    points =
    [
        {
            x = 0;
            y = 0;
        },
        {
            x = 20.0;
            y = 0.9;
        },
    ];
}

PiecewiseLinearFloatToFloatMapping defaultAttackedStimToProbComponentMapping
{
    points =
    [
        {
            x = 0;
            y = 0;
        },
        {
            x = 20.0;
            y = 0.9;
        },
    ];
}

PiecewiseLinearFloatToFloatMapping defaultCrashingStimToProbComponentMapping
{
    points =
    [
        {
            x = 0;
            y = 0;
        },
        {
            x = 2.0;
            y = 1.0;
        },
    ];
}

PiecewiseLinearFloatToFloatMapping defaultSpottingBranchLeftStimToProbComponentMapping
{
    points =
    [
        {
            x = 0;
            y = 1;
        },
        {
            x = 1;
            y = 1;
        },
    ];
}

PiecewiseLinearFloatToFloatMapping defaultSpottingBranchRightStimToProbComponentMapping
{
    points =
    [
        {
            x = 0;
            y = 1;
        },
        {
            x = 1;
            y = 1;
        },
    ];
}

PiecewiseLinearFloatToFloatMapping defaultSpottingPepperoniStimToProbComponentMapping
{
    points =
    [
        {
            x = 0;
            y = 1;
        },
        {
            x = 1;
            y = 1;
        },
    ];
}

PiecewiseLinearFloatToFloatMapping defaultSpottingAnchovyStimToProbComponentMapping
{
    points =
    [
        {
            x = 0;
            y = 1;
        },
        {
            x = 1;
            y = 1;
        },
    ];
}

PiecewiseLinearFloatToFloatMapping defaultSpottingMushroomStimToProbComponentMapping
{
    points =
    [
        {
            x = 0;
            y = 1;
        },
        {
            x = 1;
            y = 1;
        },
    ];
}

PiecewiseLinearFloatToFloatMapping defaultSpottingPowerupStimToProbComponentMapping
{
    points =
    [
        {
            x = 0;
            y = 1;
        },
        {
            x = 1;
            y = 1;
        },
    ];
}

PiecewiseLinearFloatToFloatMapping defaultShipSpeedToDeltaSqueegeeStimMapping
{
    points =
    [
        {
            x = 0.0;
            y = 3.0;
        },
        {
            x = 10.0;
            y = 1.0;
        },
        {
            x = 25.0;
            y = 0.0;
        },
    ];
}

PiecewiseLinearFloatToFloatMapping defaultStimToSqueegeeProbMapping
{
    points =
    [
        {
            x = 0.0;
            y = 0.0;
        },
        {
            x = 100.0;
            y = 0.01;
        },
        {
            x = 200.0;
            y = 0.1;
        },
        {
            x = 2000.0;
            y = 0.7;
        },
    ];
}

PiecewiseLinearFloatToFloatMapping defaultStimToTauntProbMapping
{
    points =
    [
        {
            x = 0.0;
            y = 0.0;
        },  
        {
            x = 1.0;
            y = 0.8;
        }
    ];
}
