Facility values, per-visitor income and season-ticket price follow Diamond 3.7

kFacilityValue (entries 1, 2, 5), the per-visitor facility income table and the
season-ticket price of the first division. Checked against the 3.7 programme in
an emulator on whole savegames: weekly statistics now match without difference.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Sonnet 5.5 committed 2026-11-06 15:49:59 +01:00
1 parent 96d52202fc
commit 73ffd23dcb
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -505,7 +505,7 @@ int club_popularity(GameState& g, int m, int team, bool pay) {
void season_tickets(GameState& g, int m, WatcomRandom& rand) {
static const uint8_t kBase[5] = {50, 40, 30, 30, 20}; // SeasonRuntimeField17
static const uint16_t kTickets[5] = {5000, 2000, 1000, 1000, 300}; // SeasonRuntimeField15
static const uint16_t kPrice[5] = {330, 270, 240, 240, 225}; // SeasonRuntimeField16
static const uint16_t kPrice[5] = {300, 270, 240, 240, 225}; // SeasonRuntimeField16
const int team = g.manager_teams.at(size_t(m));
const int league = std::min(club_league(team), 4);
const int pop = club_popularity(g, m, team, true);