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:
MichaelandClaude Fable 5.2 committed 2026-11-17 15:09:01 +01:00
1 parent 83bd96c1ff
commit 2639f37def
26 files changed
+507 -9

No files matched your search

+3
View File
@@ -32,6 +32,9 @@ Json engine_ticket_command(const Json &bundle, int euros, const std::string &req
Json engine_environment_projection(const Json &bundle);
Json engine_environment_command(const Json &bundle, const std::string &item, int level, const std::string &request_id);
// The manager names his stadium, or sells its name to the sponsor of an offer (read "stadium").
Json engine_stadium_rename_command(const Json &bundle, const std::string &name, const std::string &request_id);
Json engine_naming_rights_command(const Json &bundle, const std::string &offer, const std::string &request_id);
// The manager leaves for one of the clubs interested in him (read "assembly").
Json engine_club_change_command(const Json &bundle, const std::string &team, const std::string &request_id);
Json engine_advertising_projection(const Json &bundle);