Modern press journal: promotion, advertising, credit, stadium
The season change notes a human club's promotion or relegation; the confirmed commands note an advertising contract, a loan taken or paid off and a planned stand expansion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
651d262546
commit
055b48697e
5 files changed
+60
-3
No files matched your search
@@ -725,6 +725,12 @@ int main(int argc, char** argv) {
|
||||
std::string all;
|
||||
for (const auto& [t, n] : journal) all += t + " " + std::to_string(n) + ", ";
|
||||
std::printf("(journal: %s)\n", all.c_str());
|
||||
// the confirmed commands above: an advertising contract, a bank credit
|
||||
const auto noted = [&](const std::string& type) {
|
||||
for (const auto& e : std::as_const(session).state().press) if (e.type == type) return true;
|
||||
return false;
|
||||
};
|
||||
check(noted("advertising.signed") && noted("finance.loan_approved"), "journal: advertising and credit noted");
|
||||
}
|
||||
// the journal: the new season (noted at the kickoff that changed it)
|
||||
check(types["career.season_started"] > 0, "business events from the journal");
|
||||
|
||||
Reference in new issue
Block a user