Add the beginning of item entities
Add a new Item raw type and entity type, with preliminary, basic support for food. There's a really frustrating toml-rs bug that prevents writing these nicely as toml right now, so I also added support for mixing JSON and TOML in a single config dir
This commit is contained in:
parent
4e9138aa6f
commit
29c80ac8ba
14 changed files with 274 additions and 35 deletions
|
|
@ -3,12 +3,15 @@ pub mod entity;
|
|||
pub mod character;
|
||||
pub mod creature;
|
||||
pub mod entity_char;
|
||||
pub mod item;
|
||||
pub mod raw_types;
|
||||
pub mod raws;
|
||||
|
||||
pub use character::Character;
|
||||
pub use creature::Creature;
|
||||
pub use entity::{Entity, Identified};
|
||||
pub use entity_char::EntityChar;
|
||||
pub use item::Item;
|
||||
pub use raws::raw;
|
||||
|
||||
pub type EntityID = u32;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue