From 95f486870de9e6fef1dc85b888ef52e6036c1133 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Thu, 22 Oct 2020 00:45:57 -0700 Subject: [PATCH] Correct AI startup time. It doesn't look like the AI is subject to much startup time. I see B-1, F-15, F-16, and M-2000 all start up in about 2 minutes. --- gen/flights/traveltime.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gen/flights/traveltime.py b/gen/flights/traveltime.py index a4690f1a..1b1c5622 100644 --- a/gen/flights/traveltime.py +++ b/gen/flights/traveltime.py @@ -202,7 +202,11 @@ class TotEstimator: @staticmethod def estimate_startup(flight: Flight) -> int: if flight.start_type == "Cold": - return 10 * 60 + if flight.client_count: + return 10 * 60 + else: + # The AI doesn't seem to have a real startup procedure. + return 2 * 60 return 0 @staticmethod