Poaching in two steps: the club is asked and names its price, then the offer is made

transfer.submit takes three more actions. poach runs the original's checks
and start_poach on a player of another club; where an offer can be made the
offer editor stays open and the answer carries what the club asks and the
bounds the editor accepts. poachOffer is decided at once, poachCancel
closes the editor. The attempt counts from the first step, as in the original.

The transfer market's Abwerben opens the clubs of a league, reads the
chosen club's squad, asks before the attempt is spent and then shows the
club's demand with the offer to be written.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-16 15:26:03 +01:00
1 parent a2790751a6
commit 7424b09738
8 files changed
+282 -3

No files matched your search

+1
View File
@@ -22,6 +22,7 @@ Json engine_training_command(const Json &bundle, const Json &draft,
Json engine_bank_projection(const Json &bundle);
Json engine_bank_command(const Json &bundle, const Json &payload, const std::string &request_id);
Json engine_order_command(const Json &bundle, const std::string &player, int aspect, int value, const std::string &request_id);
Json engine_poach_command(const Json &bundle, const Json &payload, const std::string &request_id);
Json engine_set_piece_command(const Json &bundle, const Json &payload, const std::string &request_id);
Json engine_credit_projection(const Json &bundle, const Json &read);
Json engine_credit_command(const Json &bundle, const Json &read, const Json &edits, const std::string &request_id);