new frontline position finding method; AA for strikes; other minor fixes and adjustments

This commit is contained in:
Vasyl Horbachenko
2018-10-12 00:12:25 +03:00
parent 35a7da2816
commit 0015667829
13 changed files with 87 additions and 23 deletions

Binary file not shown.

View File

@@ -11,7 +11,7 @@ def load_templates():
temp_mis = Mission()
temp_mis.load_file("resources/tools/groundobject_templates.miz")
groups = {} # type: typing.Dict[str, typing.Dict[int, typing.Collection[Static]]]
groups = {} # type: typing.Dict[str, typing.Dict[int, typing.List[Static]]]
for static_group in temp_mis.country("USA").static_group:
for static in static_group.units:
@@ -42,6 +42,7 @@ def load_templates():
"heading": static.heading,
})
tpls["aa"] = {0: [{"type": "AA", "offset": Point(0, 0), "heading": 0}]}
return tpls