summaryrefslogtreecommitdiff
path: root/src/defaultencyclopedia.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-03-02 22:28:03 +0100
committertroido <troido@protonmail.com>2020-03-02 22:28:03 +0100
commit22168c8eedac95fdfde9a536a1d1f6ddf622cfa1 (patch)
tree6870bff418367fc635d64b58b3921d85ee0dbbb0 /src/defaultencyclopedia.rs
parent27c0795fb70739ce5609a0f424d80491d4a8c5a1 (diff)
added purgatory
Diffstat (limited to 'src/defaultencyclopedia.rs')
-rw-r--r--src/defaultencyclopedia.rs11
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()