Pause and equipment menu now available in adventures.

This commit is contained in:
Storm Dragon
2026-02-06 21:18:12 -05:00
parent 8cd2e1d5a9
commit 2b0955110b
25 changed files with 168 additions and 1 deletions

View File

@@ -187,6 +187,7 @@ void run_quest_menu() {
string count_str = " " + (selection + 1) + " of " + options.length();
if (key_pressed(KEY_DOWN)) {
play_menu_move_sound();
selection++;
if (selection >= options.length()) selection = 0;
count_str = " " + (selection + 1) + " of " + options.length();
@@ -194,6 +195,7 @@ void run_quest_menu() {
}
if (key_pressed(KEY_UP)) {
play_menu_move_sound();
selection--;
if (selection < 0) selection = options.length() - 1;
count_str = " " + (selection + 1) + " of " + options.length();
@@ -201,6 +203,7 @@ void run_quest_menu() {
}
if (key_pressed(KEY_RETURN)) {
play_menu_select_sound();
int quest_type = quest_queue[selection];
quest_queue.remove_at(selection);
run_quest(quest_type);