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
@@ -138,6 +138,17 @@ struct ModernState : GameState {
|
||||
bool operator==(const AssemblyMemory&) const = default;
|
||||
};
|
||||
std::vector<AssemblyMemory> assembly;
|
||||
// The stadium's name and its naming rights (docs/new_engine/namensrecht.md), per manager slot:
|
||||
// the name the manager gave it (empty: the default), and while the name is sold the sponsor
|
||||
// (name index of the advertising list), what he pays a month and the months left.
|
||||
struct StadiumName {
|
||||
std::string name;
|
||||
uint8_t sponsor = 0xff;
|
||||
uint32_t monthly = 0;
|
||||
uint16_t months = 0;
|
||||
bool operator==(const StadiumName&) const = default;
|
||||
};
|
||||
std::vector<StadiumName> stadiums;
|
||||
// Whether a manager the meeting votes out has to leave his club. On until the options offer it.
|
||||
bool dismissals = true;
|
||||
// Players whose age the data set gives (birth date); the others carry a placeholder the
|
||||
|
||||
Reference in new issue
Block a user