summaryrefslogtreecommitdiff
path: root/src/defaultencyclopedia.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/defaultencyclopedia.rs')
-rw-r--r--src/defaultencyclopedia.rs6
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()
}