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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user