//
// _CoPilot.gol
//

class CoPilot
{
    int id;
    bool included_in_limited_version_flag = 0;
    string character_name;
    string palette_name;
    string cockpit_bitmap_name;

    float updates_per_second = 6.0;
    float spotting_distance = 300.0;
    float shot_detection_radius = 20.0;
    PiecewiseLinearFloatToFloatMapping time_to_reaction_prob_component_mapping;
    PiecewiseLinearFloatToFloatMapping time_to_taunt_prob_component_mapping;
    float taunt_in_progress_reaction_prob_component = 0.01;
    float reaction_in_progress_taunt_prob_component = 0.05;
    float initial_time = 0.0;

    Anim2DCast cast;

    float sound_source_intensity = 0.0;
 
    AnimCollection2D test_anim_collection;
    float seconds_between_test_anims = 1.0;

    ReactionCollection character_reaction_collection;
    ReactionCollection winning_reaction_collection;
    ReactionCollection losing_reaction_collection;
    ReactionCollection successful_shooting_reaction_collection;
    ReactionCollection being_attacked_reaction_collection;
    ReactionCollection crashing_reaction_collection;
    ReactionCollection spotting_branch_left_reaction_collection;
    ReactionCollection spotting_branch_right_reaction_collection;
    ReactionCollection spotting_pepperoni_reaction_collection;
    ReactionCollection spotting_anchovy_reaction_collection;
    ReactionCollection spotting_mushroom_reaction_collection;
    ReactionCollection spotting_powerup_reaction_collection;

    ReactionCollection taunt_reaction_collection;

    string idle_bitmap_name;
    string back_bitmap_name;
    string backmore_bitmap_name;
    string backmost_bitmap_name;
    string front_bitmap_name;
    string frontmore_bitmap_name;
    string frontmost_bitmap_name;
    string right_bitmap_name;
    string rightmore_bitmap_name;
    string rightmost_bitmap_name;
    string rightback_bitmap_name;
    string rightbackmore_bitmap_name;
    string rightfront_bitmap_name;
    string rightfrontmore_bitmap_name;
    string left_bitmap_name;
    string leftmore_bitmap_name;
    string leftmost_bitmap_name;
    string leftback_bitmap_name;
    string leftbackmore_bitmap_name;
    string leftfront_bitmap_name;
    string leftfrontmore_bitmap_name;

    int radar_x = 25;
    int radar_y = 375;

    int speedometer_x = 220;
    int speedometer_y = 397;

    int shots_remaining_indicator_x = 146;
    int shots_remaining_indicator_y = 387;

    int distance_indicator_x = 215;
    int distance_indicator_y = 456;

	string anchometer_bitmap_name = "anch3";
	int anchometer_x = 352;
	int anchometer_y = 0;

	string mushometer_bitmap_name = "mush3";
	int mushometer_x = 234;
	int mushometer_y = 0;

	string peppometer_bitmap_name = "pep3";
	int peppometer_x = 297;
	int peppometer_y = 0;
}
