|
Player12
An open source football management simulator
|
#include <transfer_tuning.h>
Static Public Attributes | |
| static constexpr float | CEILING_HEADROOM_MIN = 0.20f |
| static constexpr float | CEILING_HEADROOM_MAX = 0.60f |
| static constexpr float | OPENING_OPTION_CHANCE = 0.30f |
| static constexpr int | OPTION_MAX_AGE = 23 |
| static constexpr float | MAX_OBLIGATION_VALUE = 1.20f |
| static constexpr int | RECALL_COST_WEEKS = 4 |
| static constexpr std::uint8_t | WAGE_SHARE_STEP = 5 |
| static constexpr std::uint8_t | APPEARANCES_STEP = 5 |
| static constexpr std::uint8_t | MAX_MIN_APPEARANCES = 30 |
| static constexpr float | FEE_INSTEAD_OF_WAGES_CHANCE = 0.5f |
An AI club negotiating to borrow one of the managed club's players. It reads a loan by its cost: the wage share it pays over the loan, the loan fee, a recall clause (it may lose him mid-season) and the odds of paying the fee for unplayed games. Its wage room caps the share it can take on. Concessions, patience, insults and deadline pressure follow the buyer (Buyer above). [P]
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Headroom of the ceiling over the cost of its opening offer.
|
staticconstexpr |
Share of answers in which a borrower short of wage room offers a loan fee instead of a bigger share.
|
staticconstexpr |
|
staticconstexpr |
A mandatory purchase is a decision apart from the loan's cost: the borrower takes one up to MAX_OBLIGATION_VALUE times the player's value, if its budget covers it; above that it offers an option.
|
staticconstexpr |
Share of opening offers for young players with a purchase option (at OPTION_VALUE_MULTIPLE of the value), and the age limit.
|
staticconstexpr |
|
staticconstexpr |
A recall clause costs the borrower this many weeks of the full wage.
|
staticconstexpr |
Steps of the terms it proposes (the editor's segments).