summaryrefslogtreecommitdiff
path: root/src/fromtoparameter.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-10-03 15:20:52 +0200
committertroido <troido@protonmail.com>2020-10-03 15:20:52 +0200
commitfa5ddaa570473ece02e0a3bfb35702211d21ce12 (patch)
tree501498c9db9d7d2c985f86272b3405c98301556f /src/fromtoparameter.rs
parent5af83beb6f10023cef7eba192a0b190518fe967b (diff)
added dense grass; home is now part of monsterAI component
Diffstat (limited to 'src/fromtoparameter.rs')
-rw-r--r--src/fromtoparameter.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fromtoparameter.rs b/src/fromtoparameter.rs
index 180632f..41665f4 100644
--- a/src/fromtoparameter.rs
+++ b/src/fromtoparameter.rs
@@ -10,7 +10,7 @@ use crate::{
Sprite,
ItemId,
RoomId,
- components::{Trigger},
+ components::{Trigger, Stat, Faction, Flag},
Timestamp
};
@@ -102,6 +102,9 @@ macro_rules! fromtostr {
}
fromtostr!(Trigger);
+fromtostr!(Stat);
+fromtostr!(Faction);
+fromtostr!(Flag);
impl<T> FromToParameter for Vec<T>
where T: FromToParameter {