diff options
| author | troido <troido@protonmail.com> | 2020-03-02 22:28:03 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-03-02 22:28:03 +0100 |
| commit | 22168c8eedac95fdfde9a536a1d1f6ddf622cfa1 (patch) | |
| tree | 6870bff418367fc635d64b58b3921d85ee0dbbb0 /src/defaultencyclopedia.rs | |
| parent | 27c0795fb70739ce5609a0f424d80491d4a8c5a1 (diff) | |
added purgatory
Diffstat (limited to 'src/defaultencyclopedia.rs')
| -rw-r--r-- | src/defaultencyclopedia.rs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/defaultencyclopedia.rs b/src/defaultencyclopedia.rs index 0234c54..252174d 100644 --- a/src/defaultencyclopedia.rs +++ b/src/defaultencyclopedia.rs @@ -122,7 +122,8 @@ pub fn default_encyclopedia() -> Encyclopedia { "arguments": [["health", "int", 100]], "components": [ "Blocking", - ["Health", {"health": ["arg", "health"], "maxhealth": ["int", 100]}] + ["Health", {"health": ["arg", "health"], "maxhealth": ["int", 100]}], + "Mortal" ], "sprite": "wall", "height": 2 @@ -136,7 +137,10 @@ pub fn default_encyclopedia() -> Encyclopedia { "arguments": [["health", "int", 20]], "sprite": "dummy", "height": 1, - "components": [["Health", {"health": ["arg", "health"], "maxhealth": ["int", 20]}]] + "components": [ + ["Health", {"health": ["arg", "health"], "maxhealth": ["int", 20]}], + "Mortal" + ] }, "wound": { "sprite": "wound", @@ -154,7 +158,8 @@ pub fn default_encyclopedia() -> Encyclopedia { }], ["Health", {"health": ["int", 8], "maxhealth": ["int", 8]}], ["Fighter", {"damage": ["int", 2], "cooldown": ["int", 6]}], - ["Movable", {"cooldown": ["int", 3]}] + ["Movable", {"cooldown": ["int", 3]}], + "Mortal" ] } })).unwrap() |
