vi-keys menu nav, and 80x60 menu bg img

This commit is contained in:
Llywelwyn 2023-07-11 04:50:55 +01:00
parent aaa5376544
commit 595ec61332
7 changed files with 30 additions and 31 deletions

View file

@ -93,15 +93,9 @@ pub fn spawn_room(ecs: &mut World, room: &Rect, map_depth: i32) {
let category = category_table().roll(&mut rng);
let spawn_table;
match category.as_ref() {
"mob" => {
spawn_table = mob_table(map_depth);
}
"item" => {
spawn_table = item_table(map_depth);
}
_ => {
spawn_table = debug_table();
}
"mob" => spawn_table = mob_table(map_depth),
"item" => spawn_table = item_table(map_depth),
_ => spawn_table = debug_table(),
}
spawn_points.insert(idx, spawn_table.roll(&mut rng));
added = true;