mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
pydcs update: refactored livery-scanner
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
from typing import Set
|
||||
|
||||
from dcs import task
|
||||
from dcs.liveries_scanner import Liveries
|
||||
from dcs.planes import PlaneType
|
||||
from dcs.weapons_data import Weapons
|
||||
|
||||
@@ -300,7 +299,6 @@ class JAS39Gripen(PlaneType):
|
||||
radio_frequency = 127.5
|
||||
|
||||
livery_name = "JAS39GRIPEN" # from type
|
||||
Liveries = Liveries()[livery_name]
|
||||
|
||||
class Pylon1:
|
||||
IRIS_T_IR_AAM = (1, JAS39GripenWeapons.IRIS_T_IR_AAM)
|
||||
@@ -557,7 +555,6 @@ class JAS39Gripen_BVR(PlaneType):
|
||||
radio_frequency = 127.5
|
||||
|
||||
livery_name = "JAS39GRIPEN_BVR" # from type
|
||||
Liveries = Liveries()[livery_name]
|
||||
|
||||
class Pylon1:
|
||||
IRIS_T_IR_AAM = (1, JAS39GripenWeapons.IRIS_T_IR_AAM)
|
||||
@@ -814,7 +811,6 @@ class JAS39Gripen_AG(PlaneType):
|
||||
radio_frequency = 127.5
|
||||
|
||||
livery_name = "JAS39GRIPEN_AG" # from type
|
||||
Liveries = Liveries()[livery_name]
|
||||
|
||||
class Pylon1:
|
||||
IRIS_T_IR_AAM = (1, JAS39GripenWeapons.IRIS_T_IR_AAM)
|
||||
|
||||
Reference in New Issue
Block a user