diff options
| author | troido <troido@protonmail.com> | 2020-02-23 23:44:50 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-02-23 23:44:50 +0100 |
| commit | 86cdc6c567d0ca429d69bebbb2fb02f1d3754c8d (patch) | |
| tree | d70eb9d9f014c9cdbf301772c339f22ee5e3ab82 /src/defaultencyclopedia.rs | |
| parent | f422238d7aaae0ff1b2d560a71a99b0a881ad338 (diff) | |
players can now attack other objects
Diffstat (limited to 'src/defaultencyclopedia.rs')
| -rw-r--r-- | src/defaultencyclopedia.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/defaultencyclopedia.rs b/src/defaultencyclopedia.rs index ae2e4eb..a9bf5b9 100644 --- a/src/defaultencyclopedia.rs +++ b/src/defaultencyclopedia.rs @@ -131,6 +131,12 @@ pub fn default_encyclopedia() -> Encyclopedia { "components": [["Trap", {"damage": ["int", 8]}]], "sprite": "spikes", "height": 0.8 + }, + "dummy": { + "arguments": [["health", "int", 20]], + "sprite": "dummy", + "height": 1, + "components": [["Health", {"health": ["arg", "health"], "maxhealth": ["int", 20]}]] } })).unwrap() } |
