Player12
An open source football management simulator
Loading...
Searching...
No Matches
WorldTuning::Finance Struct Referencefinal

#include <world_tuning.h>

Static Public Attributes

static constexpr float REVENUE_REPUTATION_SLOPE = 0.075f
 
static constexpr float TV_EQUAL_SHARE = 0.75f
 
static constexpr std::array< float, 5 > CONTINENTAL_WEIGHTS
 
static constexpr float BUDGETED_CONTINENTAL_SHARE = 0.5f
 
static constexpr float PLAYER_WAGE_SHARE_BASE = 0.63f
 
static constexpr float PLAYER_WAGE_SHARE_SLOPE = 0.60f
 
static constexpr float PLAYER_WAGE_SHARE_MIN = 0.42f
 
static constexpr float PLAYER_WAGE_SHARE_MAX = 0.68f
 
static constexpr float STAFF_SHARE = 0.12f
 
static constexpr float MIN_OPERATING_SHARE = 0.15f
 
static constexpr float TARGET_COST_RATIO = 0.95f
 
static constexpr float HOME_MATCHES_PER_SEASON = 19.0f
 
static constexpr float TICKET_PRICE_ELASTICITY = 0.5f
 
static constexpr float TICKET_OVERPRICING_DECAY = 0.6f
 
static constexpr float CORE_SUPPORT_SHARE = 0.05f
 
static constexpr float ATTENDANCE_SUCCESS_WEIGHT = 0.25f
 
static constexpr float TRANSFER_INCOME_REINVESTMENT = 0.5f
 
static constexpr double WAGE_BUDGET_MARGIN = 1.05
 
static constexpr std::int64_t CASH_RESERVE_WEEKS = 12
 
static constexpr float TRANSFER_BUDGET_CASH_SHARE = 0.35f
 
static constexpr float TRANSFER_BUDGET_REVENUE_SHARE = 0.08f
 
static constexpr std::int64_t OWNER_RESCUE_TRIGGER_WEEKS = 4
 
static constexpr std::int64_t OWNER_RESCUE_CUSHION_WEEKS = 8
 
static constexpr float BENEFACTOR_RESCUE_CHANCE = 1.0f
 
static constexpr float AMBITIOUS_RESCUE_CHANCE = 0.5f
 
static constexpr float PATIENT_RESCUE_CHANCE = 0.25f
 
static constexpr std::array< float, 2 > PARACHUTE_SHARES = {0.45f, 0.35f}
 
static constexpr int PARACHUTE_INSTALMENTS = 11
 
static constexpr float RELEGATION_WAGE_CUT = 0.30f
 

Member Data Documentation

◆ AMBITIOUS_RESCUE_CHANCE

constexpr float WorldTuning::Finance::AMBITIOUS_RESCUE_CHANCE = 0.5f
staticconstexpr

◆ ATTENDANCE_SUCCESS_WEIGHT

constexpr float WorldTuning::Finance::ATTENDANCE_SUCCESS_WEIGHT = 0.25f
staticconstexpr

Attendance sensitivity to sporting success. [P]

◆ BENEFACTOR_RESCUE_CHANCE

constexpr float WorldTuning::Finance::BENEFACTOR_RESCUE_CHANCE = 1.0f
staticconstexpr

◆ BUDGETED_CONTINENTAL_SHARE

constexpr float WorldTuning::Finance::BUDGETED_CONTINENTAL_SHARE = 0.5f
staticconstexpr

Share of the continental money of its expected place a board budgets on; the rest is upside. [P]

◆ CASH_RESERVE_WEEKS

constexpr std::int64_t WorldTuning::Finance::CASH_RESERVE_WEEKS = 12
staticconstexpr

Weeks of payroll kept in the bank before any transfer spending. [P]

◆ CONTINENTAL_WEIGHTS

constexpr std::array<float, 5> WorldTuning::Finance::CONTINENTAL_WEIGHTS
staticconstexpr
Initial value:
= {
0.35f, 0.25f, 0.18f, 0.12f, 0.10f}

Continental prize money weights for the top five places. [P]

◆ CORE_SUPPORT_SHARE

constexpr float WorldTuning::Finance::CORE_SUPPORT_SHARE = 0.05f
staticconstexpr

Core support that comes whatever the form, before the price. [P]

◆ HOME_MATCHES_PER_SEASON

constexpr float WorldTuning::Finance::HOME_MATCHES_PER_SEASON = 19.0f
staticconstexpr

Home league matches per season with 20 clubs.

◆ MIN_OPERATING_SHARE

constexpr float WorldTuning::Finance::MIN_OPERATING_SHARE = 0.15f
staticconstexpr

Floor of other operating costs (stadium, travel, admin). [P]

◆ OWNER_RESCUE_CUSHION_WEEKS

constexpr std::int64_t WorldTuning::Finance::OWNER_RESCUE_CUSHION_WEEKS = 8
staticconstexpr

◆ OWNER_RESCUE_TRIGGER_WEEKS

constexpr std::int64_t WorldTuning::Finance::OWNER_RESCUE_TRIGGER_WEEKS = 4
staticconstexpr

AI owners rescue a club whose cash falls below this many weeks of payroll in the red, restoring a cushion of CUSHION weeks. The monthly chance depends on the owner: benefactors always pay, member-owned clubs cannot. [S: ~20% of top-division clubs receive owner equity a year (UEFA ECFIL); P thresholds]

◆ PARACHUTE_INSTALMENTS

constexpr int WorldTuning::Finance::PARACHUTE_INSTALMENTS = 11
staticconstexpr

◆ PARACHUTE_SHARES

constexpr std::array<float, 2> WorldTuning::Finance::PARACHUTE_SHARES = {0.45f, 0.35f}
staticconstexpr

Parachute payments for the two seasons after relegation from a top division, as shares of that division's equal TV share, paid in monthly instalments from August to June. [S: England ~GBP 49m and 40m in years 1-2 against a ~GBP 97m equal share (2024-25); Serie A and LaLiga pay smaller relegation funds]

◆ PATIENT_RESCUE_CHANCE

constexpr float WorldTuning::Finance::PATIENT_RESCUE_CHANCE = 0.25f
staticconstexpr

◆ PLAYER_WAGE_SHARE_BASE

constexpr float WorldTuning::Finance::PLAYER_WAGE_SHARE_BASE = 0.63f
staticconstexpr

Player wages / expected income = base + slope * (league wage ratio

  • 0.65), within [min, max]. Cups and continental money lift the realised revenue about 10% above the budgeted income, so wages end near 57-65% of revenue in top divisions. The maximum keeps player wages + STAFF_SHARE + MIN_OPERATING_SHARE within TARGET_COST_RATIO: at 0.74 the boards of high-wage second tiers budgeted 1.05x their income and drifted into debt season after season (soak, seed 1). [S: ECFIL wages 57-73% of revenue by league; lower tiers overshoot]

◆ PLAYER_WAGE_SHARE_MAX

constexpr float WorldTuning::Finance::PLAYER_WAGE_SHARE_MAX = 0.68f
staticconstexpr

◆ PLAYER_WAGE_SHARE_MIN

constexpr float WorldTuning::Finance::PLAYER_WAGE_SHARE_MIN = 0.42f
staticconstexpr

◆ PLAYER_WAGE_SHARE_SLOPE

constexpr float WorldTuning::Finance::PLAYER_WAGE_SHARE_SLOPE = 0.60f
staticconstexpr

◆ RELEGATION_WAGE_CUT

constexpr float WorldTuning::Finance::RELEGATION_WAGE_CUT = 0.30f
staticconstexpr

AI players' wages fall by this share when their club goes down from a top division. [S/P: relegation clauses of 25-50% are standard in English top-flight contracts]

◆ REVENUE_REPUTATION_SLOPE

constexpr float WorldTuning::Finance::REVENUE_REPUTATION_SLOPE = 0.075f
staticconstexpr

Revenue index slope on reputation relative to league mean. [P]

◆ STAFF_SHARE

constexpr float WorldTuning::Finance::STAFF_SHARE = 0.12f
staticconstexpr

Non-player wages / expected income. [S: ~18% of revenue in ECFIL, including admin staff paid out of other income]

◆ TARGET_COST_RATIO

constexpr float WorldTuning::Finance::TARGET_COST_RATIO = 0.95f
staticconstexpr

Clubs budget this total cost / expected income ratio, so a club that finishes where expected makes a small operating profit. [P: about half of top-division clubs are profitable, ECFIL]

◆ TICKET_OVERPRICING_DECAY

constexpr float WorldTuning::Finance::TICKET_OVERPRICING_DECAY = 0.6f
staticconstexpr

Demand is inelastic only near the usual price: above it supporters drop away as exp(-k (price / reference - 1)^2), so gate income peaks at about 1.3x the reference price and a ticket at three times the reference leaves the ground nearly empty. [P]

◆ TICKET_PRICE_ELASTICITY

constexpr float WorldTuning::Finance::TICKET_PRICE_ELASTICITY = 0.5f
staticconstexpr

Price elasticity of attendance (inelastic demand). [S: 0.3-0.7]

◆ TRANSFER_BUDGET_CASH_SHARE

constexpr float WorldTuning::Finance::TRANSFER_BUDGET_CASH_SHARE = 0.35f
staticconstexpr

Transfer budget = share of cash + share of revenue each season. [P]

◆ TRANSFER_BUDGET_REVENUE_SHARE

constexpr float WorldTuning::Finance::TRANSFER_BUDGET_REVENUE_SHARE = 0.08f
staticconstexpr

◆ TRANSFER_INCOME_REINVESTMENT

constexpr float WorldTuning::Finance::TRANSFER_INCOME_REINVESTMENT = 0.5f
staticconstexpr

Share of transfer income returned to the transfer budget. [P]

◆ TV_EQUAL_SHARE

constexpr float WorldTuning::Finance::TV_EQUAL_SHARE = 0.75f
staticconstexpr

Share of TV money paid as an equal monthly share (rest is merit). [S] Premier League equal share ~75% of central payments.

◆ WAGE_BUDGET_MARGIN

constexpr double WorldTuning::Finance::WAGE_BUDGET_MARGIN = 1.05
staticconstexpr

Season wage budget = expected player wage bill times this margin. [P]


The documentation for this struct was generated from the following file: