Tutorial: Crookfinger leads a new master through the first steps

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-06 00:37:25 +01:00
1 parent 1fb6a6ab58
commit 160935bf40
23 files changed
+501 -3

No files matched your search

+4
View File
@@ -301,6 +301,7 @@ enum Btn {
MatchChat,
Bestiary,
Achievements,
Tutorial,
BestTab(usize),
BestSel(i32),
BestPick(usize),
@@ -392,6 +393,7 @@ pub enum MenuAction {
CampaignStart(usize),
OpenRepo,
OpenClaudeCode,
Tutorial, // start the tutorial mission
BackToEditor,
OpenOpenCode,
Login(String, String),
@@ -875,6 +877,7 @@ impl Menu {
Some(s) if s.side != 0 => MenuAction::MatchSetAi(s.side, !s.ai),
_ => MenuAction::Consumed,
},
Some(Btn::Tutorial) => MenuAction::Tutorial,
Some(Btn::Campaign) => {
self.page = Some(Page::Campaign);
self.scroll = 0;
@@ -1104,6 +1107,7 @@ impl Menu {
items.push((Btn::Continue, tr("menu.continue")));
}
items.push((Btn::Campaign, tr("menu.campaign")));
items.push((Btn::Tutorial, tr("menu.tutorial")));
items.push((Btn::CampaignEditor, tr("menu.campaign_editor")));
items.push((Btn::Match, tr("menu.multiplayer")));
items.push((Btn::New, tr("menu.new")));