Give the six play settings of the tactics board an effect; draw the board in chalk
- Match engine (Modern turn driver only, MatchEngine::tactic_effects): wing play, through balls, goal kicks, flat or high balls, offside trap and pressing of a human side shift how often it and its opponent come to a chance (play_shift, at most two steps of the chance roll). Each setting pays in one situation and costs in another; pressing also raises the foul roll. No random numbers are drawn; computer sides and the Classic core are unchanged. Documented in docs/DIFFERENCES.md. - The tactics read names the settings; desk and live dialog show every value in words with one sentence on its effect. The live dialog offers all eight settings again. - The tactics board is a slate with a wooden frame, drawn in wobbling chalk strokes. - modern_season_sim: SIM_TACTICS keeps a tactic set for measuring; new modern_play_shift_tests pin the direction of every setting. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
9708b720b2
commit
919342a5ae
16 files changed
+344
-80
No files matched your search
@@ -12,6 +12,7 @@
|
||||
#include "modern/ui/career_files.hpp"
|
||||
#include "modern/ui/live_match_info.hpp"
|
||||
#include "modern/ui/date_text.hpp"
|
||||
#include "modern/ui/tactic_text.hpp"
|
||||
#include "modern/ui/script_locator.hpp"
|
||||
#include "modern/ui/select_menu.hpp"
|
||||
#include "modern/ui/demo_calendar.hpp"
|
||||
@@ -876,7 +877,7 @@ class App final : public Rml::EventListener {
|
||||
if (auto *label = doc_->QuerySelector(".tactic-effort-label")) {
|
||||
const auto offset = std::to_string(int(std::round(2 * scale_)));
|
||||
label->SetProperty("font-effect",
|
||||
"shadow(" + offset + "px " + offset + "px #386824)");
|
||||
"shadow(" + offset + "px " + offset + "px #1b3329)");
|
||||
}
|
||||
}
|
||||
// Called after the stage was rebuilt: zoom in when it now shows a menu window.
|
||||
|
||||
Reference in new issue
Block a user