inventory refactor, maybe slightly unwieldy

This commit is contained in:
Llywelwyn 2023-07-23 01:42:26 +01:00
parent e2afd47830
commit b4420ba538
5 changed files with 51 additions and 22 deletions

View file

@ -78,7 +78,7 @@ pub fn roll_hit_dice(ecs: &mut World, n: i32, d: i32) -> i32 {
}
// Consts
const MAX_ENTITIES: i32 = 2;
const MAX_ENTITIES: i32 = 4;
/// Fills a room with stuff!
pub fn spawn_room(