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
17 lines
329 B
Rust
17 lines
329 B
Rust
#[macro_use]
|
|
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;
|