Master talents: experience, points and four branches (Builder, Warlord, Warlock, Merchant) with a toolbar window

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-06 11:35:11 +01:00
1 parent b93bcd89c4
commit bd956a4f57
28 files changed
+720 -22

No files matched your search

+2
View File
@@ -30,6 +30,7 @@ mod props;
mod research;
mod rival;
mod rogues;
mod talents;
mod render3d;
mod rooms;
mod save;
@@ -1821,6 +1822,7 @@ app.pending_briefing = briefing_of(&campaign, i);
}
UiAction::OpenMenu => menu.page = Some(Page::Pause),
UiAction::SendGold(to, amount) => app.game.queue(Act::SendGold { to, amount }),
UiAction::LearnTalent(branch) => app.game.queue(Act::Talent { branch }),
UiAction::Locked => {
let locked = ui.last_locked.unwrap_or(usize::MAX);
app.game.msg(if app.game.can_research(locked) { "msg.tool_research" } else { "msg.tool_locked" }, vec![]);