summaryrefslogtreecommitdiff
path: root/src/componentwrapper.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-03-04 19:47:00 +0100
committertroido <troido@protonmail.com>2020-03-04 19:47:00 +0100
commit022e439a6677b9865b7a3287dbd197d86266f8ef (patch)
tree00c8cd7c08fe29cf9f6652b0082f2b13617e426c /src/componentwrapper.rs
parentf8364fb636a8e9276939ae8523966b038388e4ff (diff)
implemented growth
Diffstat (limited to 'src/componentwrapper.rs')
-rw-r--r--src/componentwrapper.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/componentwrapper.rs b/src/componentwrapper.rs
index e1389c4..7a3d946 100644
--- a/src/componentwrapper.rs
+++ b/src/componentwrapper.rs
@@ -137,6 +137,7 @@ components!(
Faction (faction: String) {Faction::from_str(faction.as_str())?};
Interactable (action: String) {Interactable::from_str(action.as_str())?};
Loot (loot: LootList) {Loot{loot}};
+ Grow (delay: Int, into: Template) {Grow{delay, into, target_time: None}};
);