mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Added MQ_9 Reaper as a recruitable CAS unit to usa 2005
This commit is contained in:
parent
d7ab1774ac
commit
15d0edce2e
@ -14,6 +14,7 @@ USA_2005 = {
|
|||||||
F_16C_50,
|
F_16C_50,
|
||||||
A_10C,
|
A_10C,
|
||||||
AV8BNA,
|
AV8BNA,
|
||||||
|
MQ_9_Reaper,
|
||||||
|
|
||||||
KC_135,
|
KC_135,
|
||||||
KC130,
|
KC130,
|
||||||
@ -22,7 +23,6 @@ USA_2005 = {
|
|||||||
|
|
||||||
UH_1H,
|
UH_1H,
|
||||||
AH_64D,
|
AH_64D,
|
||||||
OH_58D,
|
|
||||||
|
|
||||||
Armor.MBT_M1A2_Abrams,
|
Armor.MBT_M1A2_Abrams,
|
||||||
Armor.ATGM_M1134_Stryker,
|
Armor.ATGM_M1134_Stryker,
|
||||||
|
|||||||
@ -7,7 +7,8 @@ from game.data.doctrine import MODERN_DOCTRINE
|
|||||||
from game.data.radar_db import UNITS_WITH_RADAR
|
from game.data.radar_db import UNITS_WITH_RADAR
|
||||||
from game.utils import meter_to_feet, nm_to_meter
|
from game.utils import meter_to_feet, nm_to_meter
|
||||||
from gen import Conflict
|
from gen import Conflict
|
||||||
from gen.flights.ai_flight_planner_db import INTERCEPT_CAPABLE, CAP_CAPABLE, CAS_CAPABLE, SEAD_CAPABLE, STRIKE_CAPABLE
|
from gen.flights.ai_flight_planner_db import INTERCEPT_CAPABLE, CAP_CAPABLE, CAS_CAPABLE, SEAD_CAPABLE, STRIKE_CAPABLE, \
|
||||||
|
DRONES
|
||||||
from gen.flights.flight import Flight, FlightType, FlightWaypoint, FlightWaypointType
|
from gen.flights.flight import Flight, FlightType, FlightWaypoint, FlightWaypointType
|
||||||
|
|
||||||
|
|
||||||
@ -245,8 +246,13 @@ class FlightPlanner:
|
|||||||
except IndexError:
|
except IndexError:
|
||||||
break
|
break
|
||||||
|
|
||||||
inventory[unit] = inventory[unit] - 2
|
if unit in DRONES:
|
||||||
flight = Flight(unit, 2, self.from_cp, FlightType.STRIKE)
|
count = 1
|
||||||
|
else:
|
||||||
|
count = 2
|
||||||
|
|
||||||
|
inventory[unit] = inventory[unit] - count
|
||||||
|
flight = Flight(unit, count, self.from_cp, FlightType.STRIKE)
|
||||||
|
|
||||||
flight.points = []
|
flight.points = []
|
||||||
flight.scheduled_in = offset + i*random.randint(self.doctrine["STRIKE_EVERY_X_MINUTES"] - 5, self.doctrine["STRIKE_EVERY_X_MINUTES"] + 5)
|
flight.scheduled_in = offset + i*random.randint(self.doctrine["STRIKE_EVERY_X_MINUTES"] - 5, self.doctrine["STRIKE_EVERY_X_MINUTES"] + 5)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user