diff options
| author | troido <troido@protonmail.com> | 2020-04-01 13:27:42 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-04-01 13:27:42 +0200 |
| commit | 1ceb4c6f23287bca98f0c3946d5678dce5d0457c (patch) | |
| tree | c354643711d0a6066b149206a29d2182b281f50f /src/componentwrapper.rs | |
| parent | 69ac6eb6153b016c39bbe55c85f15e3478032182 (diff) | |
better time handling for growing plants
Diffstat (limited to 'src/componentwrapper.rs')
| -rw-r--r-- | src/componentwrapper.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/componentwrapper.rs b/src/componentwrapper.rs index b1fd64d..345c986 100644 --- a/src/componentwrapper.rs +++ b/src/componentwrapper.rs @@ -181,7 +181,7 @@ components!( Faction (faction: String) {Faction::from_str(faction.as_str())?}; Interactable (action: String) {Interactable::from_str(action.as_str())?}; Loot (loot: LootList); - Grow (delay: Int, into: Template) {Grow{delay, into, target_time: None}}; + Grow (into: Template, delay: Int, target_time: SomeTime); Equipment () {panic!("equipment from parameters not implemented")}; ); |
