barracks dungeon feature

This commit is contained in:
Llywelwyn 2023-08-30 11:41:39 +01:00
parent 6f99b879ff
commit 050973eae4
3 changed files with 60 additions and 4 deletions

View file

@ -287,7 +287,8 @@ fn random_room_builder(rng: &mut rltk::RandomNumberGenerator, builder: &mut Buil
_ => builder.with(VoronoiSpawning::new()),
}
builder.with(ThemeRooms::grass(12));
builder.with(ThemeRooms::grass(12)); // 12% chance of an overgrown treant room.
builder.with(ThemeRooms::barracks(5)); // 5% chance of a squad barracks.
}
fn random_shape_builder(rng: &mut rltk::RandomNumberGenerator, builder: &mut BuilderChain, end: bool) -> bool {