1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00

Implement tech tree cube unlock

This commit is contained in:
NG (Graham)
2026-01-12 18:48:28 -05:00
parent 6bcd812738
commit 59b253dc52
7 changed files with 130 additions and 25 deletions

View File

@@ -7,7 +7,8 @@ pub trait ConfigProvider<C: Clone> {
fn weapon_list(&self) -> Typed<C>;
fn weapon_upgrade_list(&self) -> Typed<C>;
fn weapon_keys(&self) -> Typed<C>;
fn tech_tree_nodes(&self, unlocked_cubes: &std::collections::HashSet<u32>) -> Typed<C>;
fn tech_tree_nodes(&self) -> super::TechTreeNodeProvider;
fn tech_tree_costs(&self) -> std::collections::HashMap<String, u32>; // cube id (hex) -> tech point cost
fn ids(&self) -> Vec<u32>;
fn regen_config(&self) -> Typed<C>;
fn after_battle_vote_config(&self) -> Typed<C>;