barracks dungeon feature
This commit is contained in:
parent
6f99b879ff
commit
050973eae4
3 changed files with 60 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue