From 22168c8eedac95fdfde9a536a1d1f6ddf622cfa1 Mon Sep 17 00:00:00 2001 From: troido Date: Mon, 2 Mar 2020 22:28:03 +0100 Subject: added purgatory --- src/defaultencyclopedia.rs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/defaultencyclopedia.rs') 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() -- cgit