Move mod vehicle registration to a decorator.

This cruft doesn't need to be in game.db, it can be kept with the mod
support code.
This commit is contained in:
Dan Albert
2022-02-18 12:40:30 -08:00
parent 4e030c4a3a
commit e3ee988225
14 changed files with 156 additions and 304 deletions

View File

@@ -4,6 +4,7 @@ from dcs import task
from dcs.planes import PlaneType
from dcs.weapons_data import Weapons
from game.modsupport import planemod
from pydcs_extensions.weapon_injector import inject_weapons
@@ -439,6 +440,7 @@ class WeaponsA4EC:
inject_weapons(WeaponsA4EC)
@planemod
class A_4E_C(PlaneType):
id = "A-4E-C"
flyable = True