Oh wow, I thought I already pushed some of this stuff. Let's see if I can remember it all. Undead residents added. Whights added, Vampyrs added. Bandit Hideout adventure added.

This commit is contained in:
Storm Dragon
2026-02-04 00:52:16 -05:00
parent e1928a1039
commit 78a6156656
18 changed files with 1029 additions and 27 deletions
+9 -1
View File
@@ -3,6 +3,7 @@
#include "src/bosses/adventure_combat.nvgt"
#include "src/bosses/unicorn/unicorn_boss.nvgt"
#include "src/bosses/bandit_hideout.nvgt"
void check_adventure_menu(int player_x) {
if (key_pressed(KEY_TAB)) {
@@ -26,13 +27,18 @@ void run_adventure_menu(int player_x) {
// Check available adventures based on terrain
string[] options;
int[] adventure_ids; // 1 = Unicorn
int[] adventure_ids; // 1 = Unicorn, 2 = Bandit's Hideout
if (mountain !is null) {
// Mountain terrain
options.insert_last("Unicorn Hunt (Mountain Boss)");
adventure_ids.insert_last(1);
}
if (mountain is null && (terrain == "forest" || terrain == "deep_forest")) {
options.insert_last("Bandit's Hideout");
adventure_ids.insert_last(ADVENTURE_BANDIT_HIDEOUT);
}
if (options.length() == 0) {
speak_with_history("No adventures found in this area.", true);
@@ -78,5 +84,7 @@ void start_adventure(int adventure_id) {
last_adventure_day = current_day;
if (adventure_id == 1) {
run_unicorn_adventure();
} else if (adventure_id == ADVENTURE_BANDIT_HIDEOUT) {
run_bandit_hideout_adventure();
}
}