about summary refs log tree commit diff
path: root/src/messages.rs
AgeCommit message (Collapse)AuthorFilesLines
2019-07-19 Add the beginning of item entitiesGriffin Smith1-2/+9
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
2019-07-19 add a test ensuring messages workGriffin Smith1-1/+17
2019-07-19 Add templates for messagesGriffin Smith1-83/+44
Implement a template syntax with a nom parser, and a formatter to render templates to strings.
2019-07-14 Factor out static_cfg from static init of messagesGriffin Smith1-5/+2
Factor out a macro for static references to data parsed from config files at compile-time.
2019-07-07 add "Previous message" commandGriffin Smith1-1/+0
ctrl+p, like nethack. Cycles through messages, also like nethack. May want to add some sort of indicator of how many messages there have been.
2019-07-07 Add messages, with global lookup mapGriffin Smith1-0/+186
Add support for messages, along with a global lookup map and random choice of messages.