A couple of terrain types added. First adventure added, incomplete.

This commit is contained in:
Storm Dragon
2026-01-22 14:43:25 -05:00
parent d2387b4506
commit 3097a245ca
17 changed files with 733 additions and 5 deletions

View File

@@ -74,13 +74,17 @@ void expand_regular_area() {
// Generate a single terrain type for the entire new area
string terrain_type;
int terrain_roll = random(0, 2);
int terrain_roll = random(0, 4);
if (terrain_roll == 0) {
terrain_type = "stone";
} else if (terrain_roll == 1) {
terrain_type = "grass";
} else {
} else if (terrain_roll == 2) {
terrain_type = "snow";
} else if (terrain_roll == 3) {
terrain_type = "forest";
} else {
terrain_type = "deep_forest";
}
for (int i = 0; i < EXPANSION_SIZE; i++) {