first pass briefing refactor

briefing fixes

briefing fixes

Stop briefing generate being called twice

Stop frontline advantage string being appended
when there are no units.

jinja template

always return enum instance in Strategy Selector

For some reason on DEFENSE, enum is appended to control point stance,
but on all other the enum.value is added instead.

I don't see any case where the value is used, but there are many
cases that the enum instance is evaluated against.

type issue

junja's not a thing

swap mapping with dict

jinja template

always return enum instance in Strategy Selector

For some reason on DEFENSE, enum is appended to control point stance,
but on all other the enum.value is added instead.

I don't see any case where the value is used, but there are many
cases that the enum instance is evaluated against.

type issue

Update build.yml

junja's not a thing

swap mapping with dict

Restore build job
This commit is contained in:
Walter
2020-10-29 14:43:15 -05:00
committed by Dan Albert
parent 62139fc4eb
commit 6c9a9de3f3
7 changed files with 148 additions and 144 deletions

View File

@@ -357,9 +357,9 @@ class Operation:
"position": { "x": flightTarget.position.x, "y": flightTarget.position.y}
}
self.briefinggen.generate()
kneeboard_generator.generate()
## These are being called twice in this method?
# self.briefinggen.generate()
# kneeboard_generator.generate()
# set a LUA table with data from Liberation that we want to set