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
@@ -1233,6 +1233,9 @@ add_test(NAME modern_camp_tests COMMAND modern_camp_tests)
add_executable(modern_assembly_tests tests/modern_assembly_tests.cpp)
target_link_libraries(modern_assembly_tests PRIVATE bmh_season_modern)
add_test(NAME modern_assembly_tests COMMAND modern_assembly_tests)
add_executable(modern_naming_tests tests/modern_naming_tests.cpp)
target_link_libraries(modern_naming_tests PRIVATE bmh_season_modern)
add_test(NAME modern_naming_tests COMMAND modern_naming_tests)
add_executable(modern_almanac_tests tests/modern_almanac_tests.cpp)
target_link_libraries(modern_almanac_tests PRIVATE bmh_modern_content)
add_test(NAME modern_almanac_tests COMMAND modern_almanac_tests)