mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
27 lines
643 B
Python
27 lines
643 B
Python
class NameGenerator:
|
|
number = 0
|
|
|
|
def next_armor_group_name(self):
|
|
self.number += 1
|
|
return "Armor Unit {}".format(self.number)
|
|
|
|
def next_cas_group_name(self):
|
|
self.number += 1
|
|
return "CAS Unit {}".format(self.number)
|
|
|
|
def next_escort_group_name(self):
|
|
self.number += 1
|
|
return "Escort Unit {}".format(self.number)
|
|
|
|
def next_intercept_group_name(self):
|
|
self.number += 1
|
|
return "Intercept Unit {}".format(self.number)
|
|
|
|
def next_ground_group_name(self):
|
|
self.number += 1
|
|
return "AA Unit {}".format(self.number)
|
|
|
|
|
|
namegen = NameGenerator()
|
|
|