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
@@ -4,6 +4,7 @@
|
||||
#include "modern/game/modern_state.hpp"
|
||||
#include "modern/game/environment.hpp"
|
||||
#include "modern/game/month.hpp"
|
||||
#include "modern/game/naming_rights.hpp"
|
||||
#include "modern/game/desk_actions.hpp"
|
||||
#include "game/trace.hpp"
|
||||
|
||||
@@ -947,6 +948,7 @@ void search_profile_news(ModernState& g, int manager, uint32_t list, int player)
|
||||
}
|
||||
|
||||
void month_change(ModernState& g, WatcomRandom& rand, MinuteReport& report, GameRandom* game) {
|
||||
modern::naming_rights_month(g); // Modern: the stadium sponsors pay (naming_rights.hpp)
|
||||
StaticMemory& mem = g.memory;
|
||||
std::vector<uint8_t>& r = g.manager_records;
|
||||
const int managers = int(g.manager_teams.size());
|
||||
|
||||
Reference in new issue
Block a user