Exclusive sponsor from training camp stays (Modern)
The Middle East camps share their grades but differ in price; a stay
can now bring an exclusive sponsor: 15 / 30 / 45 % per stay (Doha /
Abu Dhabi / Dubai), a shirt (about every third offer) or four boards at
twice the club's best regular offer for 12 months. Accepted on a free
place it starts at once, otherwise it is queued and starts at a month
change once the place is free. The offer goes through the regular
advertising acceptance.
Camp fields sponsor_chance / sponsor_bonus / sponsor_months (data
format F4, editable; built-in values for the Middle East camps), state
saved in state/modern.json, read query {kind: "sponsor"}, session action
dispatch_exclusive_sponsor, tests in modern_camp_tests, SIM_SPONSOR=1.
Sponsor artwork does not exist yet (asset: null, documented).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
44a7a77915
commit
77d1f93e8f
20 files changed
+333
-13
No files matched your search
@@ -52,6 +52,11 @@ void season_ticket_compensation(ModernState& g, int manager);
|
||||
void season_ticket_compensation_source(ModernState& g, int manager,
|
||||
const SeasonTicketCompensationNoticeHook& notice = {});
|
||||
void advertising_offers(ModernState& g, int manager, WatcomRandom& rand, MinuteReport& report); // TransferListCountdown2
|
||||
// The club's advertising score and the base of its offers (TransferListCountdown2, no draws): a
|
||||
// board offer is about base / 16 per board and month, a shirt offer base / 4 (offer k: 70 + 6k
|
||||
// resp. 80 + 4k percent of that, then +-25 %).
|
||||
struct AdvertisingBase { int score = 0, base = 0; };
|
||||
AdvertisingBase advertising_base(ModernState& g, int manager);
|
||||
// TransferListCountdown(all): the days left of every listed player count down; at 0 the best bid wins
|
||||
// (with `all`, at the season end, every list is settled at once)
|
||||
void transfer_list_countdown(ModernState& g, GameRandom& game, WatcomRandom& rand, MinuteReport& report, bool all = false,
|
||||
|
||||
Reference in new issue
Block a user