Add AirAssault to PAC & Armed Recon as support in PAC

This commit is contained in:
Raffson 2024-07-21 20:24:09 +02:00
parent 1c9b4b2317
commit 8d11feae4a
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -130,6 +130,20 @@ class QAutoCreateDialog(QDialog):
self.sead_sweep_type,
)
hbox = QHBoxLayout()
self.armed_recon = self._create_checkbox("Armed Recon")
self.armed_recon_count = _spinbox_template()
hbox.addWidget(self.armed_recon)
hbox.addWidget(self.armed_recon_count)
self.armed_recon_type = self._create_type_selector(FlightType.ARMED_RECON)
hbox.addWidget(self.armed_recon_type)
self.layout.addLayout(hbox)
self.checkboxes[self.armed_recon] = (
FlightType.ARMED_RECON,
self.armed_recon_count,
self.armed_recon_type,
)
hbox = QHBoxLayout()
self.refueling = self._create_checkbox("Refueling")
self.refueling_count = _spinbox_template()
@ -162,6 +176,7 @@ class QAutoCreateDialog(QDialog):
FlightType.BAI,
FlightType.CAS,
FlightType.ARMED_RECON,
FlightType.AIR_ASSAULT,
}
for mt in self.package.target.mission_types(self.is_ownfor):
if mt in primary_tasks: