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:
ClaudeandClaude Opus 5.5 committed 2026-10-25 09:15:38 +01:00
1 parent 44a7a77915
commit 77d1f93e8f
20 files changed
+333 -13

No files matched your search

+5
View File
@@ -39,6 +39,11 @@ const CampCatalogue& default_camp_catalogue() {
camp(15, "map:me", "Abu Dhabi Royal Training", "Abu Dhabi", "nation:ae", {6, 6, 6, 6}, 3200000);
camp(16, "map:me", "Dubai Platinum Sports Camp", "Dubai", "nation:ae", {6, 6, 6, 6}, 3600000);
camp(17, "map:eu", "Riviera Trainingscamp Belek", "Belek", "nation:tr", {5, 5, 5, 4}, 790000);
// The Middle East camps share their grades; a stay can bring an exclusive sponsor, the
// dearer the camp the likelier (15 / 30 / 45 %; trainingslager.md).
c.camps[14].sponsor_chance = 15;
c.camps[15].sponsor_chance = 30;
c.camps[16].sponsor_chance = 45;
return c;
}();
return catalogue;