The stadium has a name of its own, and the name can be sold
A manager renames his stadium on the stadium page. On the advertising page three sponsors offer to buy the name for one to five years; the sponsor pays with every month change, the stadium is called after him, and until the contract ends it can be neither renamed nor sold again. The match sheet shows the name. Engine: naming_rights.hpp; read stadium (name, nameEditable, namingRights, namingOffers), commands stadium.rename and stadium.namingRights, live read stadiumName; saved in state/modern.json. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
83bd96c1ff
commit
2639f37def
26 files changed
+507
-9
No files matched your search
@@ -329,7 +329,7 @@ Json engine_live_progress(const Json &previous, const Json &state, const Json &b
|
||||
} catch (const std::exception &) {}
|
||||
out["matches"].push_back({{"id", id}, {"home", home}, {"away", away}, {"owners", owners}, {"competition", competition},
|
||||
|
||||
{"attendance", m.value("attendance", Json())}, {"weather", m.value("weather", Json())}, {"capacity", m.value("capacity", Json())},
|
||||
{"attendance", m.value("attendance", Json())}, {"weather", m.value("weather", Json())}, {"capacity", m.value("capacity", Json())}, {"stadiumName", m.value("stadiumName", Json())},
|
||||
{"lineups", m.value("lineups", Json())}});
|
||||
}
|
||||
if (out.at("owners").empty() || out.at("matches").empty()) return failure("live_no_human_match");
|
||||
|
||||
Reference in new issue
Block a user