diff options
Diffstat (limited to 'src/game.rs')
-rw-r--r-- | src/game.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/game.rs b/src/game.rs index af9b0ac938dd..c4fc6d2be10a 100644 --- a/src/game.rs +++ b/src/game.rs @@ -1,5 +1,7 @@ use crate::display::{self, Viewport}; -use crate::entities::{Character, Creature, Entity, EntityID, Identified}; +use crate::entities::{ + Character, Creature, Entity, EntityID, Identified, Item, +}; use crate::messages::message; use crate::settings::Settings; use crate::types::command::Command; @@ -80,6 +82,9 @@ impl<'a> Game<'a> { "gormlak", pos(10, 0), ))); + + entities + .insert(Box::new(Item::new_from_raw("noodles", pos(0, 10)))); } Game { |