From 900452e28fe8922a0e580438ba7cf8d16565531b Mon Sep 17 00:00:00 2001 From: alanwatsonforster <68709385+alanwatsonforster@users.noreply.github.com> Date: Sat, 7 Oct 2023 21:13:50 -0600 Subject: [PATCH] Implemented HRRCL. --- airpower/aircraft/_flightcapabilities.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/airpower/aircraft/_flightcapabilities.py b/airpower/aircraft/_flightcapabilities.py index ea7b923a..4b86bc2c 100644 --- a/airpower/aircraft/_flightcapabilities.py +++ b/airpower/aircraft/_flightcapabilities.py @@ -56,4 +56,8 @@ def climbcapability(self): return climbcapability def hasproperty(self, p): - return self._aircraftdata.hasproperty(p) + if self._aircraftdata.hasproperty(p): + return True + if p == "HRR" and self._configuration == "CL": + return self._aircraftdata.hasproperty("HRRCL") + return False