diff options
author | Griffin Smith <root@gws.fyi> | 2019-07-20T01·55-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-07-20T01·55-0400 |
commit | 29c80ac8ba0d733c6c452d8fd39e9561553495b0 (patch) | |
tree | f8384229d84b0d281c2fbbe976aeb5ebc21bdc24 /src/entities/mod.rs | |
parent | 4e9138aa6ff72e34392e3467c40d5ddf095f0027 (diff) |
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
Diffstat (limited to 'src/entities/mod.rs')
-rw-r--r-- | src/entities/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/entities/mod.rs b/src/entities/mod.rs index ed83f2f462db..c54a587e6aba 100644 --- a/src/entities/mod.rs +++ b/src/entities/mod.rs @@ -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; |