mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
19 lines
575 B
Python
19 lines
575 B
Python
from dcs.vehicles import AirDefence, Unarmed
|
|
|
|
from gen.sam.group_generator import GroupGenerator
|
|
|
|
|
|
class RolandGenerator(GroupGenerator):
|
|
"""
|
|
This generate a Roland group
|
|
"""
|
|
|
|
name = "Roland Site"
|
|
price = 40
|
|
|
|
def generate(self):
|
|
self.add_unit(AirDefence.SAM_Roland_ADS, "ADS", self.position.x, self.position.y, self.heading)
|
|
self.add_unit(AirDefence.SAM_Roland_EWR, "EWR", self.position.x + 40, self.position.y, self.heading)
|
|
self.add_unit(Unarmed.Transport_M818, "TRUCK", self.position.x + 80, self.position.y, self.heading)
|
|
|