A couple of terrain types added. First adventure added, incomplete.
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user