inventory refactor, maybe slightly unwieldy
This commit is contained in:
parent
e2afd47830
commit
b4420ba538
5 changed files with 51 additions and 22 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue