debriefing based on events, not world state; tweaked visualgen; vehicles will not group in single location during capture op; fixed triggers for carrier ops; fixed naval ops; correct speed for inflight heli spawns; awacs will not change it's freq

This commit is contained in:
Vasyl Horbachenko
2018-07-13 04:33:07 +03:00
parent 4ce7480df8
commit 4cbd30fdbc
69 changed files with 100 additions and 33800 deletions

View File

@@ -6,10 +6,18 @@ class NameGenerator:
def next_unit_name(self, country, unit_type):
self.number += 1
return "{}|{}|{}".format(country.id, self.number, db.unit_type_name(unit_type))
return "unit|{}|{}|{}|".format(country.id, self.number, db.unit_type_name(unit_type))
def next_basedefense_name(self):
return "basedefense_aa"
return "basedefense_aa|0|0|"
def next_awacs_name(self, country):
self.number += 1
return "awacs|{}|{}|0|".format(country.id, self.number)
def next_carrier_name(self, country):
self.number += 1
return "carrier|{}|{}|0|".format(country.id, self.number)
namegen = NameGenerator()