diff --git a/Todo.md b/Todo.md new file mode 100644 index 0000000..3ce967a --- /dev/null +++ b/Todo.md @@ -0,0 +1,27 @@ +# Pre-Release + +## v0.2 +### Breaking + 🟩 (GUI) Visual feedback when pressing solve + 🟩 (GUI) Ability to save + 🟩 (GUI) Make the logging work +### Important + 🟩 (PKG) Have xtasks setup for release/cleanup/build + 🟩 (PKG) Merge latest pre-release for the GUI +### Features + 🟩 (GUI) Refactor code + +# Roadmap +## v1.0.0 + +### Important + 🟩 (LIB) Rust API docs + 🟩 (CLI) Accept and copy from the base recipes + 🟩 (CLI) Accept and copy pots & food + 🟩 (PKG) Have a unified toml/yaml way of registering recipes + 🟩 (LIB) Tests + +### Features + 🟩 (GUI) Have full documentation + 🟩 (LIB) Benchmarks + 🟩 (GUI) Code coverage \ No newline at end of file diff --git a/src/action.rs b/src/action.rs index 513927c..d59cc12 100644 --- a/src/action.rs +++ b/src/action.rs @@ -25,7 +25,7 @@ impl ActionBuilder { short_name = short_name.replace("II", "2"); short_name.retain(|c| !c.is_whitespace() && c != '\''); short_name[0..1].make_ascii_lowercase(); - if name == "Basic Synthesis" { short_name = "basicSynth".to_string(); } + if name == "Basic Synthesis" { short_name = "basicSynth2".to_string(); } if name == "Groundwork" { short_name = "groundwork".to_string(); } if name == "Careful Synthesis" { short_name = "carefulSynthesis".to_string(); } diff --git a/src/io.rs b/src/io.rs index af0c153..9c8e7f5 100644 --- a/src/io.rs +++ b/src/io.rs @@ -95,8 +95,7 @@ impl Display for SolverResult{ //#[pymethods] impl SolverResult{ pub fn from_craft(craft: & Craft,step1_solutions : usize,step2_solutions : usize, found_100_percent: bool)->SolverResult{ - // Todo: recreate actions - // Where steps ? + let mut actions = craft.actions.iter().map(|action| format!("{}",action.short_name) ).collect::>(); diff --git a/src/solver.rs b/src/solver.rs index f2b6d0d..b17613c 100644 --- a/src/solver.rs +++ b/src/solver.rs @@ -129,7 +129,7 @@ pub fn next_action_phase_2<'a>(craft: & Craft<'a>) -> Vec> { available_actions.push(&ACTIONS.advanced_touch); forbidden_actions.push(&ACTIONS.basic_touch); } - // Todo, allow earlier byregot if the craft can be finished all the same (useless with always optimize on) + if craft.buffs.inner_quiet >= craft.args.byregot_step { // 10 available_actions.push(&ACTIONS.trained_finesse); available_actions.push(&ACTIONS.great_strides); @@ -155,7 +155,6 @@ pub fn next_action_phase_2<'a>(craft: & Craft<'a>) -> Vec> { pub fn generate_routes_phase2<'a>(craft: Craft<'a>) -> Option>> { let mut queue = VecDeque::new(); - // Todo: Return a vec of relevant functions, instead of the most quality one let mut top_route: Craft<'a> = craft.clone(); // Default route, no hq on that one let mut top_routes: Vec> = vec![];