mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Add AirAssault to PAC & Armed Recon as support in PAC
This commit is contained in:
parent
1c9b4b2317
commit
8d11feae4a
@ -130,6 +130,20 @@ class QAutoCreateDialog(QDialog):
|
|||||||
self.sead_sweep_type,
|
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()
|
hbox = QHBoxLayout()
|
||||||
self.refueling = self._create_checkbox("Refueling")
|
self.refueling = self._create_checkbox("Refueling")
|
||||||
self.refueling_count = _spinbox_template()
|
self.refueling_count = _spinbox_template()
|
||||||
@ -162,6 +176,7 @@ class QAutoCreateDialog(QDialog):
|
|||||||
FlightType.BAI,
|
FlightType.BAI,
|
||||||
FlightType.CAS,
|
FlightType.CAS,
|
||||||
FlightType.ARMED_RECON,
|
FlightType.ARMED_RECON,
|
||||||
|
FlightType.AIR_ASSAULT,
|
||||||
}
|
}
|
||||||
for mt in self.package.target.mission_types(self.is_ownfor):
|
for mt in self.package.target.mission_types(self.is_ownfor):
|
||||||
if mt in primary_tasks:
|
if mt in primary_tasks:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user