record and replay alchemy help

This commit is contained in:
2024-08-24 14:34:07 -05:00
committed by Celtic Minstrel
parent e64ba776be
commit 9ed90a1b38
2 changed files with 5 additions and 1 deletions

View File

@@ -307,6 +307,9 @@ static bool display_alchemy_event_filter(cDialog& me, std::string item_hit, eKey
}
void display_alchemy() {
if(recording){
record_action("display_alchemy", "");
}
std::string get_text;
cur_entry = 3;

View File

@@ -358,6 +358,8 @@ static void replay_next_action() {
adventure_notes();
}else if(t == "print_party_stats"){
print_party_stats();
}else if(t == "display_alchemy"){
display_alchemy();
}
// TODO some of these actions shouldn't call advance_time(). They should return
@@ -748,7 +750,6 @@ void handle_menu_choice(eMenu item_hit) {
display_skills(eSkill::INVALID,0);
break;
case eMenu::LIBRARY_ALCHEMY:
// TODO record and replay
// TODO: Create a dedicated dialog for alchemy info
display_alchemy();
break;