REPLACE:curtiss_aeroplane_production_score = {
	value = 0
	every_scope_building = {
		limit = {
			is_building_type = building_aircraft_industry #T&R
		}
		add = level
	}
}

REPLACE:curtiss_schneider_trophy_before_race_points_score = {
	###TRAINING### max 3
	if = {
		limit = {
			has_variable = curtiss_schneider_trophy_training_good
		}
		add = 3
	}
	if = {
		limit = {
			has_variable = curtiss_schneider_trophy_training_normal
		}
		add = 1
	}
	###AVIATION TECH&FOCUS### max. 7
	if = {
		limit = {
			has_technology_researched = curtiss_modern_aviation_tech
		}
		add = 2
	}
	if = {
		limit = {
			has_variable = curtiss_schneider_trophy_new_engine
		}
		add = 2
	}
	if = {
		limit = {
			has_modifier = curtiss_airplane_focus_modifier
		}
		add = 1
	}
	if = {
		limit = {
			has_modifier = curtiss_pilot_school_modifier
		}
		add = 1
	}
	if = {
		limit = {
			has_modifier = curtiss_schneider_trophy_support_modifier
		}
		add = 1
	}
	###FACTORIES### max. 3
	if = {
		limit = {
			any_scope_state = {
				any_scope_building = {
					is_building_type = building_aircraft_industry #T&R
					level >= 5
				}
			}
		}
		add = 1
	}
	if = {
		limit = {
			any_scope_state = {
				any_scope_building = {
					is_building_type = building_aircraft_industry #T&R
					level >= 10
				}
			}
		}
		add = 1
	}
	if = {
		limit = {
			any_scope_state = {
				any_scope_building = {
					is_building_type = building_aircraft_industry #T&R
					level >= 25
				}
			}
		}
		add = 1
	}
	###AIRPORTS### max. 3
	if = {
		limit = {
			country_has_building_type_levels = {  
				target = bt:building_airport  
				value  >= 5
			}
		}
		add = 1
	}
	if = {
		limit = {
			country_has_building_type_levels = {  
				target = bt:building_airport  
				value  >= 10
			}
		}
		add = 1
	}
	if = {
		limit = {
			country_has_building_type_levels = {  
				target = bt:building_airport  
				value  >= 25
			}
		}
		add = 1
	}
	###COMPANY### max. 1
	if = {
		limit = {
			curtiss_has_airline_company = yes
		}
		add = 1
	}
	###AIRLINES### max. 3
	if = {
		limit = {
			has_modifier = curtiss_airline_level_1_modifier
		}
		add = 1
	}
	if = {
		limit = {
			has_modifier = curtiss_airline_level_2_modifier
		}
		add = 1
	}
	if = {
		limit = {
			has_modifier = curtiss_airline_level_3_modifier
		}
		add = 2
	}
	if = {
		limit = {
			has_modifier = curtiss_airline_level_4_modifier
		}
		add = 2
	}
	if = {
		limit = {
			has_modifier = curtiss_airline_level_5_modifier
		}
		add = 3
	}
	if = {
		limit = {
			has_modifier = curtiss_airline_level_6_modifier
		}
		add = 3
	}
}