about summary refs log tree commit diff
path: root/src/entities/creature.rs
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2019-07-19T15·54-0400
committerGriffin Smith <root@gws.fyi>2019-07-19T15·54-0400
commite2d13bd76b9af9cc2734cdcb9df605afa95cca31 (patch)
tree8a720b216dd6481fcda491ffcb082d989e2d15c6 /src/entities/creature.rs
parentbc93999cf37a65d48f25e30795c85a0aef97efac (diff)
Add templates for messages
Implement a template syntax with a nom parser, and a formatter to render
templates to strings.
Diffstat (limited to 'src/entities/creature.rs')
-rw-r--r--src/entities/creature.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/creature.rs b/src/entities/creature.rs
index 55445f951b45..9fd8d23c752e 100644
--- a/src/entities/creature.rs
+++ b/src/entities/creature.rs
@@ -5,7 +5,7 @@ use crate::entities::{raw, EntityID};
 use crate::types::Position;
 use std::io::{self, Write};
 
-#[derive(Debug)]
+#[derive(Debug, Clone)]
 pub struct Creature {
     pub id: Option<EntityID>,
     pub typ: &'static CreatureType<'static>,