diff --git a/dcs/mission.py b/dcs/mission.py index 21a44f2e..828c3f4e 100644 --- a/dcs/mission.py +++ b/dcs/mission.py @@ -1351,11 +1351,11 @@ def awacs_flight(self, airport(terrain_.Airport): starting airport, use None if you want it to spawn inflight position(dcs.mapping.Point): reference point for the race-track race_distance: distance for the race-track pattern - heading: direction from the referene position + heading: direction from the reference position altitude: of the AWACS race-track speed: of the AWACS flight start_type(StartType): of the flight if starts from airport - frequency: VHF-AM frequencey in mhz + frequency: VHF-AM frequency in mhz Returns: FlyingGroup: the created AWACS flight group @@ -1407,11 +1407,11 @@ def refuel_flight(self, airport(terrain_.Airport): starting airport, use None if you want it to spawn inflight position(dcs.mapping.Point): reference point for the race-track race_distance: distance for the race-track pattern - heading: direction from the referene position + heading: direction from the reference position altitude: of the refuel race-track speed: of the refuel flight start_type(StartType): of the flight if starts from airport - frequency: VHF-AM frequencey in mhz + frequency: VHF-AM frequency in mhz tacanchannel: if the PlaneType supports tacan this channel will be set. Returns: diff --git a/dcs/task.py b/dcs/task.py index 9d94e766..7f9c0d9c 100644 --- a/dcs/task.py +++ b/dcs/task.py @@ -1,4 +1,4 @@ -"""This module holds all Tasks that are possible to specifiy in dcs. +"""This module holds all Tasks that are possible to specify in dcs. There are 2 type of tasks, a MainTask and a Task action. * MainTasks are the flight groups main objective like :py:class:`CAS`, :py:class:`CAP`, :py:class:`SEAD`, ... @@ -966,7 +966,7 @@ class EmbarkToTransport(Task): :param position: :py:class:`dcs.mapping.Point` where to wait to get picked up. :param zone_radius: radius around the point where the group will embark. - :param concrete_unitid: if specified the group will embark to exaclty this unit. + :param concrete_unitid: if specified the group will embark to exactly this unit. """ Id = "EmbarkToTransport" @@ -1873,7 +1873,7 @@ class Values(IntEnum): SpreadFourGroupClose = 458755 WW2_BomberElementClose = 786433 WW2_BomberElementOpen = 786434 - # WW2: Bomber Height Seperation has no VariantIndex field. + # WW2: Bomber Height Separation has no VariantIndex field. WW2_BomberElementHeightSeperation = 851968 WW2_FighterVicClose = 917505 WW2_FighterVicOpen = 917506 diff --git a/dcs/weather.py b/dcs/weather.py index 9e4bc43b..a594bb58 100644 --- a/dcs/weather.py +++ b/dcs/weather.py @@ -178,7 +178,7 @@ def load_from_dict(self, d): fog = d.get("fog", {}) self.fog_thickness = fog.get("thickness", 0) self.fog_visibility = fog.get("visibility", 25) - visibility = d.get("visiblity", {}) + visibility = d.get("visibility", {}) self.visibility_distance = visibility.get("distance", 80000) clouds = d.get("clouds", {}) self.clouds_thickness = clouds.get("thickness", 200)