mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
CurrentHill Russian Military Assets Pack (#448)
This commit is contained in:
@@ -2,9 +2,10 @@ from typing import Type
|
||||
|
||||
from dcs.helicopters import HelicopterType, helicopter_map
|
||||
from dcs.planes import PlaneType, plane_map
|
||||
from dcs.unittype import VehicleType, ShipType
|
||||
from dcs.unittype import VehicleType, ShipType, StaticType
|
||||
from dcs.vehicles import vehicle_map
|
||||
from dcs.ships import ship_map
|
||||
from dcs.statics import cargo_map, fortification_map
|
||||
|
||||
|
||||
def helicoptermod(helicopter: Type[HelicopterType]) -> Type[HelicopterType]:
|
||||
@@ -25,3 +26,13 @@ def vehiclemod(vehicle: Type[VehicleType]) -> Type[VehicleType]:
|
||||
def shipmod(ship: Type[ShipType]) -> Type[ShipType]:
|
||||
ship_map[ship.id] = ship
|
||||
return ship
|
||||
|
||||
|
||||
def cargomod(static: Type[StaticType]) -> Type[StaticType]:
|
||||
cargo_map[static.id] = static
|
||||
return static
|
||||
|
||||
|
||||
def fortificationmod(static: Type[StaticType]) -> Type[StaticType]:
|
||||
fortification_map[static.id] = static
|
||||
return static
|
||||
|
||||
Reference in New Issue
Block a user